From 7acf500ad5f01b8f08d638275dba5d0c1770ec94 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Thu, 10 Apr 2003 17:47:08 +0000 Subject: use stock buttons, remove desc frame. #if out the copy button. add 2003-04-10 Mike Kestner * gal-define-views.glade : use stock buttons, remove desc frame. * gal-define-views-dialog.c (gdvd_init): #if out the copy button. * gal-view-instance.c (g_v_i_get_popup_menu): add ellipsis to Define Views menuitem. svn path=/trunk/; revision=20804 --- widgets/menus/gal-define-views-dialog.c | 2 + widgets/menus/gal-define-views.glade | 507 ++++++++++++++------------------ widgets/menus/gal-view-instance.c | 2 +- 3 files changed, 229 insertions(+), 282 deletions(-) diff --git a/widgets/menus/gal-define-views-dialog.c b/widgets/menus/gal-define-views-dialog.c index af9dbb8d08..165405f064 100644 --- a/widgets/menus/gal-define-views-dialog.c +++ b/widgets/menus/gal-define-views-dialog.c @@ -234,7 +234,9 @@ gal_define_views_dialog_init (GalDefineViewsDialog *dialog) gdvd_connect_signal(dialog, "button-new", "clicked", G_CALLBACK(gdvd_button_new_callback)); gdvd_connect_signal(dialog, "button-modify", "clicked", G_CALLBACK(gdvd_button_modify_callback)); gdvd_connect_signal(dialog, "button-delete", "clicked", G_CALLBACK(gdvd_button_delete_callback)); +#if 0 gdvd_connect_signal(dialog, "button-copy", "clicked", G_CALLBACK(gdvd_button_copy_callback)); +#endif dialog->model = NULL; etable = glade_xml_get_widget(dialog->gui, "custom-table"); diff --git a/widgets/menus/gal-define-views.glade b/widgets/menus/gal-define-views.glade index ce5ea5a928..8c0101d47f 100644 --- a/widgets/menus/gal-define-views.glade +++ b/widgets/menus/gal-define-views.glade @@ -1,287 +1,232 @@ - + - - no - Define Views for "%s" - GTK_WINDOW_TOPLEVEL - no - no - yes - GTK_WIN_POS_NONE - - - no - 8 - yes + + Define Views for "%s" + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + + + + True + False + 6 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + -6 + + + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + -5 + + + + + 0 + False + True + GTK_PACK_END + + + + + + True + 4 + 1 + False + 6 + 6 + + + + True + False + 6 + + + + True + gal_define_views_dialog_create_etable + 0 + 0 + Fri, 10 Nov 2000 16:37:39 GMT + + + 0 + True + True + + + + + + True + False + 6 + + + + True + True + gtk-new + True + GTK_RELIEF_NORMAL + + + 0 + False + False + + + + + + True + True + _Edit... + True + GTK_RELIEF_NORMAL + + + 0 + False + False + + + + + + True + True + gtk-delete + True + GTK_RELIEF_NORMAL + + + 0 + False + False + + + + + 0 + False + False + + + + + 0 + 1 + 1 + 2 + + + + + + True + GTK_BUTTONBOX_END + 6 + + + 0 + 1 + 3 + 4 + fill + fill + + + + + + True + 0 + 0.5 + 0 + 1 + + + + True + True + gtk-revert-to-saved + True + GTK_RELIEF_NORMAL + + + + + 0 + 1 + 2 + 3 + fill + fill + + + + + + True + Define Views for %s + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + + + 0 + 1 + 0 + 1 + fill + + + + + + 12 + True + True + + + + + - - - GTK_BUTTONBOX_END - 8 - yes - - - - yes - yes - yes - gtk-ok - yes - yes - - - - - - yes - yes - yes - gtk-cancel - yes - yes - - - - - 0 - no - yes - GTK_PACK_END - - - - - - no - 6 - 6 - 5 - 1 - yes - - - - Description - 0 - GTK_SHADOW_ETCHED_IN - yes - - - - 6 - no - 6 - 6 - 1 - 2 - yes - - - - - 0 - 1 - 3 - 4 - 0 - 0 - fill - fill - - - - - - no - 6 - yes - - - - gal_define_views_dialog_create_etable - 0 - 0 - Fri, 10 Nov 2000 16:37:39 GMT - yes - - - 0 - yes - yes - - - - - - no - 6 - yes - - - - yes - _New... - GTK_RELIEF_NORMAL - yes - yes - - - 0 - no - no - - - - - - yes - _Copy... - GTK_RELIEF_NORMAL - yes - yes - - - 0 - no - no - - - - - - yes - _Edit... - GTK_RELIEF_NORMAL - yes - yes - - - 0 - no - no - - - - - - yes - _Delete... - GTK_RELIEF_NORMAL - yes - yes - - - 0 - no - no - - - - - 0 - no - no - - - - - 0 - 1 - 1 - 2 - 0 - 0 - expand|fill - expand|fill - - - - - - GTK_BUTTONBOX_END - 6 - yes - - - 0 - 1 - 4 - 5 - 0 - 0 - fill - fill - - - - - - 0 - 0.5 - 0 - 1 - yes - - - - yes - Re_set to Factory Defaults... - GTK_RELIEF_NORMAL - yes - yes - - - - - 0 - 1 - 2 - 3 - 0 - 0 - fill - fill - - - - - - Define Views for %s - GTK_JUSTIFY_LEFT - no - 0 - 0.5 - 0 - 0 - yes - - - 0 - 1 - 0 - 1 - 0 - 0 - fill - - - - - - 0 - yes - yes - - - - - 4 - yes - yes - - - diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c index 19a3726de2..674b942adf 100644 --- a/widgets/menus/gal-view-instance.c +++ b/widgets/menus/gal-view-instance.c @@ -575,7 +575,7 @@ gal_view_instance_get_popup_menu (GalViewInstance *instance) } e_popup_menu_copy_1 (ret_val + i++, &separator); - add_popup_menu_item (ret_val + i++, N_("Define Views"), G_CALLBACK (define_views_cb), instance); + add_popup_menu_item (ret_val + i++, N_("Define Views..."), G_CALLBACK (define_views_cb), instance); e_popup_menu_copy_1 (ret_val + i++, &terminator); return ret_val; -- cgit v1.2.3