From 4080a5356c3543a554d689df467d6d72393e58c6 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Mon, 15 Mar 2004 20:37:48 +0000 Subject: Hide the separators on these dialogs Re-pack the rule_editor widget in 2004-04-15 Rodney Dawes * filter-datespec.c (validate): (button_clicked): Hide the separators on these dialogs * filter-editor.c (filter_editor_new): Re-pack the rule_editor widget in here, and get rid of the GtkFrame-related code * filter-file.c (validate): Hide the separators on these dialogs * filter-filter.c (get_widget): Get rid of the GtkFrame, and relayout the widgets to be HIG-compliant * filter-folder.c (validate): Hide the separator on this dialog * filter-input.c (validate): Hide the separator on this dialog * filter-part.c (main): Hide the separator on this dialog * filter-rule.c (validate): Hide the separator on this dialog (get_widget): Get rid of the GtkFrame, and relayout the widgets to be HIG-compliant * filter.glade: Make the widget layouts here be HIG-compliant * rule-context.c (new_rule_response): (rule_context_add_rule_gui): Hide the separators on these dialogs * rule-editor.c (rule_editor_new): Get rid of the GtkFrame-related code (add_editor_response): Hide the dialog separator here (rule_add): Hide the dialog separator here (edit_editor_response): Hide the dialog separator here (rule_edit): Hide the dialog separator here (rule_editor_construct): Remove the rule_editor repacking code Set the dialog vbox's border width to 12 Set the mnemonic for the filter label here Hide the dialog separator on the filter editor dialog * vfolder-editor.c (vfolder_editor_new): Re-pack the appropriate editor widget in here Get rid of the GtkFrame-related code * vfolder-rule.c (validate): Hide the dialog separators here svn path=/trunk/; revision=25083 --- filter/filter-datespec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filter/filter-datespec.c') diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c index 9b15c1dbdb..2c8ddb4a90 100644 --- a/filter/filter-datespec.c +++ b/filter/filter-datespec.c @@ -175,6 +175,7 @@ validate (FilterElement *fe) GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _("You must choose a date.")); + gtk_dialog_set_has_separator ((GtkDialog *) dialog, FALSE); gtk_dialog_run ((GtkDialog *) dialog); gtk_widget_destroy (dialog); } @@ -408,6 +409,7 @@ button_clicked (GtkButton *button, FilterDatespec *fds) GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); + gtk_dialog_set_has_separator (dialog, FALSE); p->notebook_type = glade_xml_get_widget (gui, "notebook_type"); p->option_type = glade_xml_get_widget (gui, "option_type"); -- cgit v1.2.3