aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-new-chatroom-dialog.ui
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-04-16 23:57:08 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-04-18 04:24:16 +0800
commite57f5cfac0d04a01dd94bf4404cd17d5f4706c8a (patch)
treea265d82b969c768841e9dca77f4763849dd5c945 /src/empathy-new-chatroom-dialog.ui
parente5771050285335cb81784ef6a27ccba49026c79a (diff)
downloadgsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar.gz
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar.bz2
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar.lz
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar.xz
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.tar.zst
gsoc2013-empathy-e57f5cfac0d04a01dd94bf4404cd17d5f4706c8a.zip
Modify deeply the join chatroom dialog.
The rationale is that the room list is now loaded when the expander is open. It will refresh it if is open and the server is changed.
Diffstat (limited to 'src/empathy-new-chatroom-dialog.ui')
-rw-r--r--src/empathy-new-chatroom-dialog.ui112
1 files changed, 31 insertions, 81 deletions
diff --git a/src/empathy-new-chatroom-dialog.ui b/src/empathy-new-chatroom-dialog.ui
index 04927be2c..ba7a326ef 100644
--- a/src/empathy-new-chatroom-dialog.ui
+++ b/src/empathy-new-chatroom-dialog.ui
@@ -4,28 +4,26 @@
<object class="GtkDialog" id="new_chatroom_dialog">
<property name="visible">True</property>
<property name="border_width">5</property>
- <property name="title" translatable="yes">Join New</property>
+ <property name="title" translatable="yes">Join Room</property>
<property name="role">join_new_chatroom</property>
- <property name="resizable">False</property>
<property name="default_width">350</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox4">
<property name="visible">True</property>
- <property name="spacing">6</property>
<child>
<object class="GtkVBox" id="vbox_widgets">
<property name="visible">True</property>
<property name="border_width">5</property>
- <property name="spacing">18</property>
+ <property name="spacing">5</property>
<child>
<object class="GtkTable" id="table_info">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_columns">3</property>
- <property name="column_spacing">6</property>
- <property name="row_spacing">6</property>
+ <property name="column_spacing">5</property>
+ <property name="row_spacing">5</property>
<child>
<placeholder/>
</child>
@@ -38,30 +36,28 @@
<property name="can_focus">True</property>
<property name="tooltip-text" translatable="yes">Enter the room name to join here or click on one or more rooms in the list.</property>
<property name="activates_default">True</property>
- <property name="width_chars">32</property>
+ <property name="width_chars">25</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="right_attach">3</property>
<property name="top_attach">2</property>
<property name="bottom_attach">3</property>
- <property name="y_options"/>
+ <property name="x_options">GTK_FILL</property>
</packing>
</child>
<child>
- <object class="GtkToggleButton" id="togglebutton_refresh">
+ <object class="GtkLabel" id="label_room">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Re_fresh</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Room:</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">entry_room</property>
</object>
<packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
- <property name="y_options"/>
</packing>
</child>
<child>
@@ -73,23 +69,9 @@
</object>
<packing>
<property name="left_attach">1</property>
- <property name="right_attach">2</property>
+ <property name="right_attach">3</property>
<property name="top_attach">1</property>
<property name="bottom_attach">2</property>
- <property name="y_options"/>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label_room">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">_Room:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">entry_room</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
<property name="x_options">GTK_FILL</property>
<property name="y_options"/>
</packing>
@@ -121,50 +103,18 @@
</packing>
</child>
</object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
</child>
<child>
- <object class="GtkVBox" id="vbox_browse">
+ <object class="GtkExpander" id="expander_browse">
<property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkHBox" id="hbox_status">
- <property name="visible">True</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkHBox" id="hbox35">
- <property name="visible">True</property>
- <property name="spacing">3</property>
- <child>
- <object class="GtkImage" id="image_status">
- <property name="visible">True</property>
- <property name="icon_size">2</property>
- <property name="icon_name">gtk-find</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="label_status">
- <property name="visible">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">Browse:</property>
- <property name="wrap">True</property>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
+ <property name="can_focus">True</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow2">
+ <property name="width_request">350</property>
<property name="height_request">150</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -175,14 +125,17 @@
<object class="GtkTreeView" id="treeview">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip-text" translatable="yes">This list represents all chat rooms hosted on the server you have entered.</property>
- <property name="headers_visible">False</property>
+ <property name="search_column">0</property>
+ <property name="show_expanders">False</property>
</object>
</child>
</object>
- <packing>
- <property name="position">1</property>
- </packing>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Room List</property>
+ </object>
</child>
</object>
<packing>
@@ -191,8 +144,6 @@
</child>
</object>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
@@ -205,7 +156,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
- <property name="label">gtk-close</property>
+ <property name="label">gtk-cancel</property>
<property name="use_stock">True</property>
</object>
</child>
@@ -228,7 +179,7 @@
<child>
<object class="GtkImage" id="image4">
<property name="visible">True</property>
- <property name="stock">gtk-execute</property>
+ <property name="stock">gtk-jump-to</property>
</object>
<packing>
<property name="expand">False</property>
@@ -238,7 +189,7 @@
<child>
<object class="GtkLabel" id="label79">
<property name="visible">True</property>
- <property name="label" translatable="yes">Join</property>
+ <property name="label" translatable="yes">_Join</property>
<property name="use_underline">True</property>
</object>
<packing>
@@ -265,7 +216,6 @@
</object>
</child>
<action-widgets>
- <action-widget response="0">togglebutton_refresh</action-widget>
<action-widget response="-7">button_cancel</action-widget>
<action-widget response="-5">button_join</action-widget>
</action-widgets>