diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-03-18 03:53:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-03-18 03:53:56 +0800 |
commit | 32f1cfd13fe2d745cc18b71e32c2c19305c480f7 (patch) | |
tree | e668ac1fd5a1bd28bd034a55c0f3864eea3ea056 /filter/filter.glade | |
parent | fa49e3e67306a194aebb24554c122252f959eb74 (diff) | |
download | gsoc2013-evolution-32f1cfd13fe2d745cc18b71e32c2c19305c480f7.tar.gz gsoc2013-evolution-32f1cfd13fe2d745cc18b71e32c2c19305c480f7.tar.zst gsoc2013-evolution-32f1cfd13fe2d745cc18b71e32c2c19305c480f7.zip |
Always add a Cancel button here, but if !enable_undo - make the response
2003-03-17 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (rule_editor_construct): Always add a Cancel
button here, but if !enable_undo - make the response id
GTK_RESPONSE_CANCEL rather than GTK_RESPONSE_REJECT (which does
undo). This mimics the behaviour that was done in the mail/ code
previously. Fixes bug #39809.
svn path=/trunk/; revision=20315
Diffstat (limited to 'filter/filter.glade')
-rw-r--r-- | filter/filter.glade | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/filter/filter.glade b/filter/filter.glade index ff1927a7b7..a5fa0f5ad1 100644 --- a/filter/filter.glade +++ b/filter/filter.glade @@ -25,26 +25,26 @@ <property name="layout_style">GTK_BUTTONBOX_END</property> <child> - <widget class="GtkButton" id="button1"> + <widget class="GtkButton" id="cancel_button"> <property name="visible">True</property> <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-ok</property> + <property name="label">gtk-cancel</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-6</property> </widget> </child> <child> - <widget class="GtkButton" id="button3"> + <widget class="GtkButton" id="ok_button"> <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-ok</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-5</property> </widget> </child> </widget> @@ -270,26 +270,26 @@ <property name="layout_style">GTK_BUTTONBOX_END</property> <child> - <widget class="GtkButton" id="button13"> + <widget class="GtkButton" id="cancel_button"> <property name="visible">True</property> <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-ok</property> + <property name="label">gtk-cancel</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-6</property> </widget> </child> <child> - <widget class="GtkButton" id="button15"> + <widget class="GtkButton" id="ok_button"> <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-ok</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-5</property> </widget> </child> </widget> @@ -480,19 +480,19 @@ <property name="layout_style">GTK_BUTTONBOX_END</property> <child> - <widget class="GtkButton" id="button16"> + <widget class="GtkButton" id="cancel_button"> <property name="visible">True</property> <property name="can_default">True</property> <property name="can_focus">True</property> - <property name="label">gtk-ok</property> + <property name="label">gtk-cancel</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-6</property> </widget> </child> <child> - <widget class="GtkButton" id="button17"> + <widget class="GtkButton" id="apply_button"> <property name="visible">True</property> <property name="can_default">True</property> <property name="can_focus">True</property> @@ -504,14 +504,14 @@ </child> <child> - <widget class="GtkButton" id="button18"> + <widget class="GtkButton" id="ok_button"> <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-ok</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">0</property> + <property name="response_id">-5</property> </widget> </child> </widget> |