diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2010-02-22 01:35:29 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2010-02-22 01:35:29 +0300 |
commit | e552333b851258e73c5d7bc89e056298b14e8bb7 (patch) | |
tree | 707637a9839d9630e666cfb0a1db0292f3b78e4c /data | |
parent | ce039ff2eba3d7c13ce83d41d95a20b5805e91bf (diff) |
Split room jid field in join groupchat dialog. Fixes #5528
Add browse rooms button in join groupchat dialog. Fixes #3546
Diffstat (limited to 'data')
-rw-r--r-- | data/gui/join_groupchat_window.ui | 80 | ||||
-rw-r--r-- | data/gui/service_discovery_window.ui | 3 |
2 files changed, 70 insertions, 13 deletions
diff --git a/data/gui/join_groupchat_window.ui b/data/gui/join_groupchat_window.ui index 4f41dd1b4..384b1ed9e 100644 --- a/data/gui/join_groupchat_window.ui +++ b/data/gui/join_groupchat_window.ui @@ -15,7 +15,7 @@ <child> <object class="GtkTable" id="table15"> <property name="visible">True</property> - <property name="n_rows">7</property> + <property name="n_rows">8</property> <property name="n_columns">2</property> <property name="column_spacing">12</property> <property name="row_spacing">6</property> @@ -110,8 +110,8 @@ <property name="label" translatable="yes">Password:</property> </object> <packing> - <property name="top_attach">4</property> - <property name="bottom_attach">5</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> <property name="x_options">GTK_FILL</property> <property name="y_options"></property> </packing> @@ -126,14 +126,14 @@ <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> - <property name="top_attach">4</property> - <property name="bottom_attach">5</property> + <property name="top_attach">5</property> + <property name="bottom_attach">6</property> <property name="y_options"></property> </packing> </child> <child> <object class="GtkCheckButton" id="auto_join_checkbutton"> - <property name="label" translatable="yes">Join this room automatically when I connect</property> + <property name="label" translatable="yes">Join this room _automatically when I connect</property> <property name="visible">True</property> <property name="sensitive">False</property> <property name="can_focus">True</property> @@ -143,8 +143,8 @@ </object> <packing> <property name="right_attach">2</property> - <property name="top_attach">6</property> - <property name="bottom_attach">7</property> + <property name="top_attach">7</property> + <property name="bottom_attach">8</property> <property name="x_options">GTK_FILL</property> <property name="y_options"></property> </packing> @@ -174,21 +174,69 @@ </child> <child> <object class="GtkCheckButton" id="bookmark_checkbutton"> - <property name="label" translatable="yes">Bookmark this room</property> + <property name="label" translatable="yes">_Bookmark this room</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="use_underline">True</property> <property name="draw_indicator">True</property> <signal name="toggled" handler="on_bookmark_checkbutton_toggled"/> </object> <packing> <property name="right_attach">2</property> - <property name="top_attach">5</property> - <property name="bottom_attach">6</property> + <property name="top_attach">6</property> + <property name="bottom_attach">7</property> <property name="x_options">GTK_FILL</property> <property name="y_options"></property> </packing> </child> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Server:</property> + </object> + <packing> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <property name="spacing">6</property> + <child> + <object class="GtkComboBoxEntry" id="server_comboboxentry"> + <property name="visible">True</property> + <property name="model">liststore1</property> + <property name="text_column">0</property> + </object> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="browse_rooms_button"> + <property name="label" translatable="yes">Bro_wse Rooms</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="image">image1</property> + <property name="use_underline">True</property> + <signal name="clicked" handler="on_browse_rooms_button_clicked"/> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + </packing> + </child> </object> <packing> <property name="position">0</property> @@ -275,4 +323,14 @@ </object> </child> </object> + <object class="GtkListStore" id="liststore1"> + <columns> + <!-- column-name gchararray1 --> + <column type="gchararray"/> + </columns> + </object> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="stock">gtk-find</property> + </object> </interface> diff --git a/data/gui/service_discovery_window.ui b/data/gui/service_discovery_window.ui index 6424b65e5..b969befc6 100644 --- a/data/gui/service_discovery_window.ui +++ b/data/gui/service_discovery_window.ui @@ -4,7 +4,7 @@ <!-- interface-naming-policy toplevel-contextual --> <object class="GtkListStore" id="liststore1"> <columns> - <!-- column-name item text --> + <!-- column-name item --> <column type="gchararray"/> </columns> </object> @@ -71,7 +71,6 @@ Agent JID - node</property> <property name="visible">True</property> <property name="model">liststore1</property> <signal name="changed" handler="on_address_comboboxentry_changed"/> - <signal name="key_press_event" handler="on_address_comboboxentry_key_press_event"/> <child> <object class="GtkCellRendererText" id="cellrenderertext1"/> <attributes> |