diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2007-08-10 01:17:12 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-08-10 01:17:12 +0800 |
commit | 6b18017f8240d6ce4880a1ed7d9158be8d914c95 (patch) | |
tree | 3f98de4a2431e5c4684b2e7351ac0861b83872e2 /libempathy-gtk/empathy-presence-chooser.glade | |
parent | 0a392cd8a302c71ce28efa14e6a0b8792b5a393f (diff) | |
download | gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.gz gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.bz2 gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.lz gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.xz gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.tar.zst gsoc2013-empathy-6b18017f8240d6ce4880a1ed7d9158be8d914c95.zip |
Remove per-state "Custom message..." item and add one on the bottom of the
2007-08-09 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-presence-chooser.glade:
* libempathy-gtk/empathy-presence-chooser.c:
* libempathy-gtk/empathy-status-presets.c:
* libempathy-gtk/empathy-status-presets.h:
* libempathy-gtk/empathy-ui-utils.c: Remove per-state
"Custom message..." item and add one on the bottom of the menu. Add
a combobox on the custom message dialog to select the state and change
the action of the checkbox, now it add/remove the message from saved
messages. Make easier to add other states to the list if needed.
Fixes bug #460678.
svn path=/trunk/; revision=241
Diffstat (limited to 'libempathy-gtk/empathy-presence-chooser.glade')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.glade | 178 |
1 files changed, 95 insertions, 83 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.glade b/libempathy-gtk/empathy-presence-chooser.glade index f9f1d4eb0..d31157806 100644 --- a/libempathy-gtk/empathy-presence-chooser.glade +++ b/libempathy-gtk/empathy-presence-chooser.glade @@ -4,11 +4,11 @@ <glade-interface> <requires lib="gnome"/> -<widget class="GtkDialog" id="status_message_dialog"> - <property name="border_width">5</property> - <property name="title" translatable="yes">Status Message Presets</property> +<widget class="GtkDialog" id="custom_message_dialog"> + <property name="visible">True</property> + <property name="title" translatable="yes">Custom message</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> - <property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property> + <property name="window_position">GTK_WIN_POS_NONE</property> <property name="modal">False</property> <property name="resizable">False</property> <property name="destroy_with_parent">False</property> @@ -25,7 +25,7 @@ <widget class="GtkVBox" id="dialog-vbox6"> <property name="visible">True</property> <property name="homogeneous">False</property> - <property name="spacing">2</property> + <property name="spacing">0</property> <child internal-child="action_area"> <widget class="GtkHButtonBox" id="dialog-action_area6"> @@ -33,29 +33,15 @@ <property name="layout_style">GTK_BUTTONBOX_END</property> <child> - <widget class="GtkButton" id="cancelbutton1"> + <widget class="GtkButton" id="closebutton1"> <property name="visible">True</property> <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-cancel</property> + <property name="label">gtk-close</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> - <property name="response_id">-6</property> - </widget> - </child> - - <child> - <widget class="GtkButton" id="okbutton3"> - <property name="visible">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="can_focus">True</property> - <property name="label">gtk-ok</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">True</property> - <property name="response_id">-5</property> + <property name="response_id">-7</property> </widget> </child> </widget> @@ -68,84 +54,75 @@ </child> <child> - <widget class="GtkVBox" id="vbox111"> - <property name="border_width">5</property> + <widget class="GtkTable" id="table1"> <property name="visible">True</property> + <property name="n_rows">3</property> + <property name="n_columns">2</property> <property name="homogeneous">False</property> - <property name="spacing">6</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <child> - <widget class="GtkHBox" id="hbox90"> + <widget class="GtkLabel" id="label471"> <property name="visible">True</property> - <property name="homogeneous">False</property> - <property name="spacing">6</property> - - <child> - <widget class="GtkImage" id="image_status"> - <property name="visible">True</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">True</property> - </packing> - </child> - - <child> - <widget class="GtkLabel" id="label468"> - <property name="visible">True</property> - <property name="label" translatable="yes">Enter status message:</property> - <property name="use_underline">False</property> - <property name="use_markup">False</property> - <property name="justify">GTK_JUSTIFY_LEFT</property> - <property name="wrap">False</property> - <property name="selectable">False</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> - <property name="width_chars">-1</property> - <property name="single_line_mode">False</property> - <property name="angle">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">True</property> - <property name="fill">True</property> - </packing> - </child> + <property name="label" translatable="yes">Status:</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> </widget> <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">0</property> + <property name="bottom_attach">1</property> + <property name="x_options">fill</property> + <property name="y_options"></property> </packing> </child> <child> - <widget class="GtkComboBoxEntry" id="comboentry_status"> + <widget class="GtkLabel" id="label472"> <property name="visible">True</property> - <property name="add_tearoffs">False</property> - <property name="has_frame">True</property> - <property name="focus_on_click">True</property> + <property name="label" translatable="yes">Message:</property> + <property name="use_underline">False</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> </widget> <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="left_attach">0</property> + <property name="right_attach">1</property> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + <property name="x_options">fill</property> + <property name="y_options"></property> </packing> </child> <child> - <widget class="GtkCheckButton" id="checkbutton_add"> + <widget class="GtkCheckButton" id="checkbutton_save"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">_Add to status message list</property> + <property name="label" translatable="yes">Save message</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -154,9 +131,44 @@ <property name="draw_indicator">True</property> </widget> <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">False</property> + <property name="left_attach">0</property> + <property name="right_attach">2</property> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + <property name="y_options"></property> + </packing> + </child> + + <child> + <widget class="GtkComboBoxEntry" id="comboboxentry_message"> + <property name="visible">True</property> + <property name="add_tearoffs">False</property> + <property name="has_frame">True</property> + <property name="focus_on_click">True</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + <property name="x_options">fill</property> + <property name="y_options">fill</property> + </packing> + </child> + + <child> + <widget class="GtkComboBox" id="combobox_status"> + <property name="visible">True</property> + <property name="add_tearoffs">False</property> + <property name="focus_on_click">True</property> + </widget> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">0</property> + <property name="bottom_attach">1</property> + <property name="x_options">fill</property> + <property name="y_options">fill</property> </packing> </child> </widget> |