From 2463928c90d0c21d16cd5fd341aee4d747821a1c Mon Sep 17 00:00:00 2001 From: Jon Oberheide Date: Thu, 10 Jun 2004 11:11:12 +0000 Subject: remove defunct Revert button and replace OK/Cancel buttons with a Close 2004-06-08 Jon Oberheide * 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. svn path=/trunk/; revision=26279 --- widgets/menus/gal-define-views-dialog.c | 3 +-- widgets/menus/gal-define-views.glade | 42 +-------------------------------- 2 files changed, 2 insertions(+), 43 deletions(-) (limited to 'widgets/menus') diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c index 723ebe58fe..e8afb8efac 100644 --- a/widgets/menus/gal-define-views-dialog.c +++ b/widgets/menus/gal-define-views-dialog.c @@ -230,8 +230,7 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog) 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 --git a/widgets/menus/gal-define-views.glade b/widgets/menus/gal-define-views.glade index 8c0101d47f..11395ad8b7 100644 --- a/widgets/menus/gal-define-views.glade +++ b/widgets/menus/gal-define-views.glade @@ -23,24 +23,12 @@ True GTK_BUTTONBOX_END - - - True - True - True - gtk-cancel - True - GTK_RELIEF_NORMAL - -6 - - - True True True - gtk-ok + gtk-close True GTK_RELIEF_NORMAL -5 @@ -167,34 +155,6 @@ - - - True - 0 - 0.5 - 0 - 1 - - - - True - True - gtk-revert-to-saved - True - GTK_RELIEF_NORMAL - - - - - 0 - 1 - 2 - 3 - fill - fill - - - True -- cgit v1.2.3