From 7b75fa6e7df3724b7649bf6d0c42c0aaed9e5029 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 9 Mar 2004 21:10:42 +0000 Subject: Remove separator from dialogs per HIG. 2004-03-04 William Jon McCann * e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok): * e-request.c (e_request_string): * e-passwords.c (e_passwords_ask_password): Remove separator from dialogs per HIG. svn path=/trunk/; revision=25003 --- e-util/ChangeLog | 7 +++++++ e-util/e-dialog-utils.c | 3 +++ e-util/e-passwords.c | 1 + e-util/e-request.c | 1 + 4 files changed, 12 insertions(+) (limited to 'e-util') diff --git a/e-util/ChangeLog b/e-util/ChangeLog index ec28f9bb8c..f432d78b5a 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,10 @@ +2004-03-04 William Jon McCann + + * e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok): + * e-request.c (e_request_string): + * e-passwords.c (e_passwords_ask_password): + Remove separator from dialogs per HIG. + 2004-03-04 Not Zed * e-sexp.c: Added some debug stuff. diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c index a37519297e..973c170b3f 100644 --- a/e-util/e-dialog-utils.c +++ b/e-util/e-dialog-utils.c @@ -59,6 +59,7 @@ e_notice (gpointer parent, GtkMessageType type, const char *format, ...) GTK_BUTTONS_OK, "%s", str); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); va_end (args); g_free (str); @@ -93,6 +94,7 @@ e_notice_with_xid (GdkNativeWindow parent, GtkMessageType type, const char *form GTK_BUTTONS_OK, "%s", str); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); va_end (args); g_free (str); @@ -247,6 +249,7 @@ save_ok (GtkWidget *widget, gpointer data) _("A file by that name already exists.\n" "Overwrite it?")); gtk_window_set_title (GTK_WINDOW (dlg), _("Overwrite file?")); + gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE); btn = gtk_dialog_run (GTK_DIALOG (dlg)); gtk_widget_destroy (dlg); diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c index 5405e76245..11a69a3276 100644 --- a/e-util/e-passwords.c +++ b/e-util/e-passwords.c @@ -334,6 +334,7 @@ e_passwords_ask_password (const char *title, const char *component_name, gtk_window_set_title (GTK_WINDOW (dialog), title); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); /* Password entry */ diff --git a/e-util/e-request.c b/e-util/e-request.c index 65c6a8e84b..7c47d36d9b 100644 --- a/e-util/e-request.c +++ b/e-util/e-request.c @@ -65,6 +65,7 @@ e_request_string (GtkWindow *parent, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); + gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); gtk_window_set_default_size (GTK_WINDOW (dialog), 275, -1); gtk_container_set_border_width (GTK_CONTAINER (dialog), 6); -- cgit v1.2.3