From 8cdc82ce8c734eebef08528598d6c93ae2f86bb5 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 10 Jun 2004 20:10:13 +0000 Subject: HIGified, updated as suggested in #46236 2004-06-10 Radek Doulik * gal-view-instance-save-as-dialog.glade: HIGified, updated as suggested in #46236 * gal-view-instance-save-as-dialog.c (gvisad_setup_radio_buttons): removed notebook with help text switching (gal_view_instance_save_as_dialog_init): set dialog title Fixes #46236 svn path=/trunk/; revision=26292 --- widgets/menus/gal-view-instance-save-as-dialog.c | 7 +- .../menus/gal-view-instance-save-as-dialog.glade | 461 ++++++++++----------- 2 files changed, 224 insertions(+), 244 deletions(-) diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c index a2ea9b18b4..2c99e389d3 100644 --- a/widgets/menus/gal-view-instance-save-as-dialog.c +++ b/widgets/menus/gal-view-instance-save-as-dialog.c @@ -29,7 +29,6 @@ #include "gal-view-new-dialog.h" #include #include -#include #include #include #include @@ -70,12 +69,10 @@ gvisad_setup_radio_buttons (GalViewInstanceSaveAsDialog *dialog) GtkWidget *radio_replace = glade_xml_get_widget (dialog->gui, "radiobutton-replace"); GtkWidget *radio_create = glade_xml_get_widget (dialog->gui, "radiobutton-create" ); GtkWidget *widget; - GtkNotebook *notebook = GTK_NOTEBOOK (glade_xml_get_widget (dialog->gui, "notebook-help")); widget = glade_xml_get_widget (dialog->gui, "custom-replace"); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radio_replace))) { gtk_widget_set_sensitive (widget, TRUE); - gtk_notebook_set_page (notebook, 0); dialog->toggle = GAL_VIEW_INSTANCE_SAVE_AS_DIALOG_TOGGLE_REPLACE; } else { gtk_widget_set_sensitive (widget, FALSE); @@ -84,7 +81,6 @@ gvisad_setup_radio_buttons (GalViewInstanceSaveAsDialog *dialog) widget = glade_xml_get_widget (dialog->gui, "entry-create"); if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radio_create))) { gtk_widget_set_sensitive (widget, TRUE); - gtk_notebook_set_page (notebook, 1); dialog->toggle = GAL_VIEW_INSTANCE_SAVE_AS_DIALOG_TOGGLE_CREATE; } else { gtk_widget_set_sensitive (widget, FALSE); @@ -194,7 +190,7 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog) gui = glade_xml_new_with_domain (GAL_GLADEDIR "/gal-view-instance-save-as-dialog.glade", NULL, E_I18N_DOMAIN); dialog->gui = gui; - widget = glade_xml_get_widget(gui, "table-top"); + widget = glade_xml_get_widget(gui, "vbox-top"); if (!widget) { return; } @@ -222,6 +218,7 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog) gvisad_setup_radio_buttons (dialog); gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, TRUE, FALSE); + gtk_window_set_title (GTK_WINDOW (dialog), _("Save Current View")); } diff --git a/widgets/menus/gal-view-instance-save-as-dialog.glade b/widgets/menus/gal-view-instance-save-as-dialog.glade index e60357e17c..da0c5be531 100644 --- a/widgets/menus/gal-view-instance-save-as-dialog.glade +++ b/widgets/menus/gal-view-instance-save-as-dialog.glade @@ -1,243 +1,226 @@ - + - - no - GTK_WINDOW_TOPLEVEL - no - no - yes - GTK_WIN_POS_NONE - - - - no - 8 - yes - - - - 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 - 0 - 0 - 5 - 1 - yes - - - - no - no - GTK_POS_TOP - no - 2 - 2 - no - yes - - - - The current view will replace the given view. Any folders -set to this view wil be replaced with the current view. - GTK_JUSTIFY_CENTER - no - 0.5 - 0.5 - 0 - 0 - yes - - - - - - label4 - GTK_JUSTIFY_CENTER - no - 0.5 - 0.5 - 0 - 0 - yes - - - tab - - - - - - This will create a new View. - GTK_JUSTIFY_CENTER - no - 0.5 - 0.5 - 0 - 0 - yes - - - - - - label5 - GTK_JUSTIFY_CENTER - no - 0.5 - 0.5 - 0 - 0 - yes - - - tab - - - - - 0 - 1 - 4 - 5 - 0 - 0 - expand|fill - fill - - - - - - gal_view_instance_save_as_dialog_create_etable - 0 - 0 - Fri, 01 Feb 2002 20:18:32 GMT - yes - - - 0 - 1 - 3 - 4 - 0 - 0 - fill - expand|fill - - - - - - no - yes - yes - - 0 - yes - yes - - - 0 - 1 - 1 - 2 - 0 - 0 - expand|fill - - - - - - - yes - Replace Existing View - no - yes - yes - - - 0 - 1 - 2 - 3 - 0 - 0 - fill - - - - - - - yes - Create New View Named - yes - yes - yes - radiobutton-replace - - - 0 - 1 - 0 - 1 - 0 - 0 - fill - - - - - - 0 - yes - yes - - - - - 4 - yes - yes - - - + + + + + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + + + + True + False + 8 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + True + 0 + + + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + 0 + + + + + 0 + False + True + GTK_PACK_END + + + + + + 18 + True + False + 12 + + + + True + False + 6 + + + + True + True + _Create new view + True + GTK_RELIEF_NORMAL + True + True + False + True + + + 0 + False + False + + + + + + True + False + 6 + + + + True + + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + + True + _Name: + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + entry-create + + + 0 + False + False + + + + + + True + False + True + True + True + 0 + + True + * + False + + + 0 + True + True + + + + + 0 + True + True + + + + + 0 + False + False + + + + + + True + True + _Replace existing view + True + GTK_RELIEF_NORMAL + True + False + False + True + radiobutton-create + + + 0 + False + False + + + + + + True + gal_view_instance_save_as_dialog_create_etable + 0 + 0 + Fri, 01 Feb 2002 20:18:32 GMT + + + 0 + True + True + + + + + 0 + True + True + + + + + + -- cgit v1.2.3