This patch removes the defunct Revert button and replaces the OK/Cancel buttons with a Close button in gal's "Define New View" dialog. Fixes bug #48131 (http://bugzilla.ximian.com/show_bug.cgi?id=48131). Regards, Jon Oberheide -- Jon Oberheide <jon focalhost com> GnuPG Key: 1024D/0CF1526D Fingerprint: C446 7193 D4B8 1E35 8984 7731 C661 64A5 0CF1 526D
diff -ur gal.old/gal/menus/ChangeLog gal/gal/menus/ChangeLog --- gal.old/gal/menus/ChangeLog 2004-06-08 12:45:30.000000000 -0400 +++ gal/gal/menus/ChangeLog 2004-06-08 14:14:59.577320848 -0400 @@ -1,3 +1,9 @@ +2004-06-08 Jon Oberheide <jon focalhost com> + + * gal-define-views-dialog.c (gal_define_views_dialog_init), + gal-define-views.glade: remove defunct Revert button and replace + OK/Cancel buttons with a Close button. Fixes bug #48131. + 2004-05-10 Jon Oberheide <jon focalhost com> Fixes #48129 diff -ur gal.old/gal/menus/gal-define-views-dialog.c gal/gal/menus/gal-define-views-dialog.c --- gal.old/gal/menus/gal-define-views-dialog.c 2004-06-08 12:45:30.000000000 -0400 +++ gal/gal/menus/gal-define-views-dialog.c 2004-06-08 14:04:16.781040736 -0400 @@ -230,8 +230,7 @@ gtk_widget_unref(widget); gtk_dialog_add_buttons (GTK_DIALOG (dialog), - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_OK, GTK_RESPONSE_OK, + GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL); gdvd_connect_signal(dialog, "button-new", "clicked", G_CALLBACK(gdvd_button_new_callback)); diff -ur gal.old/gal/menus/gal-define-views.glade gal/gal/menus/gal-define-views.glade --- gal.old/gal/menus/gal-define-views.glade 2004-06-08 12:45:30.000000000 -0400 +++ gal/gal/menus/gal-define-views.glade 2004-06-08 13:27:10.000000000 -0400 @@ -24,23 +24,11 @@ <property name="layout_style">GTK_BUTTONBOX_END</property> <child> - <widget class="GtkButton" id="button1"> - <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="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="response_id">-6</property> - </widget> - </child> - - <child> <widget class="GtkButton" id="button7"> <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-close</property> <property name="use_stock">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="response_id">-5</property> @@ -168,34 +156,6 @@ </child> <child> - <widget class="GtkAlignment" id="alignment3"> - <property name="visible">True</property> - <property name="xalign">0</property> - <property name="yalign">0.5</property> - <property name="xscale">0</property> - <property name="yscale">1</property> - - <child> - <widget class="GtkButton" id="button-reset"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label">gtk-revert-to-saved</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - </widget> - </child> - </widget> - <packing> - <property name="left_attach">0</property> - <property name="right_attach">1</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="x_options">fill</property> - <property name="y_options">fill</property> - </packing> - </child> - - <child> <widget class="GtkLabel" id="label-views"> <property name="visible">True</property> <property name="label" translatable="yes">Define Views for %s</property>
Attachment:
signature.asc
Description: This is a digitally signed message part