diff options
author | Not Zed <NotZed@Ximian.com> | 2003-05-28 07:39:43 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-05-28 07:39:43 +0800 |
commit | d575bb994eebbe511b80bb07abda56d28a9883e3 (patch) | |
tree | a4b71860d8cbefa3b086b25f66ef5239862904ee | |
parent | f05515011feff2de19f6ee8950c97fe08d67b6d9 (diff) | |
download | gsoc2013-evolution-d575bb994eebbe511b80bb07abda56d28a9883e3.tar.gz gsoc2013-evolution-d575bb994eebbe511b80bb07abda56d28a9883e3.tar.zst gsoc2013-evolution-d575bb994eebbe511b80bb07abda56d28a9883e3.zip |
set the default open size to something reasonable. For #43410.
2003-05-27 Not Zed <NotZed@Ximian.com>
* message-tag-editor.c (message_tag_editor_init): set the default
open size to something reasonable. For #43410.
* mail-signature-editor.c (d): turn off debugging.
* mail-config.c (mail_config_signature_add): save new signature in
signature list. For #43688.
svn path=/trunk/; revision=21340
-rw-r--r-- | mail/ChangeLog | 10 | ||||
-rw-r--r-- | mail/mail-config.c | 1 | ||||
-rw-r--r-- | mail/mail-signature-editor.c | 2 | ||||
-rw-r--r-- | mail/message-tag-editor.c | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 44e18453aa..1f9bd7ce77 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,13 @@ +2003-05-27 Not Zed <NotZed@Ximian.com> + + * message-tag-editor.c (message_tag_editor_init): set the default + open size to something reasonable. For #43410. + + * mail-signature-editor.c (d): turn off debugging. + + * mail-config.c (mail_config_signature_add): save new signature in + signature list. For #43688. + 2003-05-21 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): set signature html diff --git a/mail/mail-config.c b/mail/mail-config.c index 8f4cd41fe9..216371f40c 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -1376,6 +1376,7 @@ mail_config_signature_add (MailConfigSignature *sig) g_assert (g_slist_find (config->signatures, sig) == NULL); config->signatures = g_slist_append (config->signatures, sig); + config_write_signatures (); mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_ADDED, sig); } diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index c4a4c27970..0c1907b3bb 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -37,7 +37,7 @@ #include "mail-signature-editor.h" #include "mail-config.h" -#define d(x) x +#define d(x) struct _ESignatureEditor { diff --git a/mail/message-tag-editor.c b/mail/message-tag-editor.c index 616bde1ecd..bfc7c699f3 100644 --- a/mail/message-tag-editor.c +++ b/mail/message-tag-editor.c @@ -78,7 +78,7 @@ message_tag_editor_class_init (MessageTagEditorClass *klass) static void message_tag_editor_init (MessageTagEditor *editor) { - g_object_set (editor, "allow_shrink", FALSE, "allow_grow", TRUE, NULL); + gtk_window_set_default_size((GtkWindow *)editor, 400, 500); gtk_dialog_add_buttons (GTK_DIALOG (editor), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_OK, |