From 82a04fbcb419e35c7132ade04c4a688b14c1f8dd Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 19 Dec 2002 02:24:24 +0000 Subject: pass NULL for parent_window for e_table_config_new. 2002-12-18 Chris Toshok * e-table-header-item.c (ethi_popup_customize_view): pass NULL for parent_window for e_table_config_new. * e-table-config.glade, e-table-config-no-group.glade: switch from GnomePropertyBox to GtkDialog, remove the extra notebook widget from the heirarchy, and set all the subdialogs modal. * e-table-config.h: add parent_window arg to e_table_config_{new,construct}. * e-table-config.c (config_dialog_changed): new function, not really needed yet since the apply/ok buttons are never insensitive. (config_get_property): handle the "state" read-only property. (config_class_init): put back in the "state" property that was deleted during the merge from the gal-2 branch (it looks like). (do_sort_and_group_config_dialog): set the sort/group dialog transient for the e-table-config dialog, and gnome_property_box_changed -> config_dialog_changed. (do_fields_config_dialog): same, but with the fields dialog. (dialog_response): response handler for the e-table-config dialog. (setup_gui): remote the hide button/notebook code, since neither of those widgets exist anymore in this dialog, and remove the "apply" signal and connect to "response", since we're a GtkDialog dialog instead of a GnomePropertyBox. (e_table_config_construct): take a parent_window arg, and set_transient_for if it's non-NULL. (e_table_config_new): take parent_window arg and pass to construct. svn path=/trunk/; revision=19165 --- widgets/table/e-table-config.glade | 155 +++++++++++++++++++++---------------- 1 file changed, 90 insertions(+), 65 deletions(-) (limited to 'widgets/table/e-table-config.glade') diff --git a/widgets/table/e-table-config.glade b/widgets/table/e-table-config.glade index ee1bb958f5..19602c28af 100644 --- a/widgets/table/e-table-config.glade +++ b/widgets/table/e-table-config.glade @@ -2,13 +2,12 @@ - Show Fields GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE - False + True True False True @@ -303,7 +302,7 @@ Group GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE - False + True True False True @@ -1235,7 +1234,7 @@ Sort GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE - False + True True False True @@ -1789,22 +1788,70 @@ - + + True + dialog1 + GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE - False - False + True + True False + True - - + + True - False - True - GTK_POS_TOP - False - 2 - 2 - False + False + 0 + + + + True + GTK_BUTTONBOX_END + + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + -6 + + + + + + True + True + True + gtk-apply + True + GTK_RELIEF_NORMAL + -10 + + + + + + True + True + True + gtk-ok + True + GTK_RELIEF_NORMAL + -5 + + + + + 0 + False + True + GTK_PACK_END + + @@ -1864,29 +1911,6 @@ - - - True - - False - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - - - 1 - 2 - 1 - 2 - fill - - - True @@ -2024,6 +2048,30 @@ fill + + + + True + + False + False + GTK_JUSTIFY_LEFT + True + False + 0 + 0.5 + 0 + 0 + + + 1 + 2 + 1 + 2 + fill + + + @@ -2047,35 +2095,12 @@ - False - True - - - - - - True - label20 - False - False - GTK_JUSTIFY_CENTER - False - False - 0.5 - 0.5 - 0 - 0 - - - tab + 0 + True + True - - 0 - True - True - -- cgit v1.2.3