diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-22 05:56:45 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-22 05:56:45 +0800 |
commit | f4d6507475e46a353a831c8161b58d3cef9adfb0 (patch) | |
tree | c503adb073248876fbc08f7cc03d043e657fb9ac | |
parent | 2b98861f868e89c7777ff31b131d6a0c2fb8cf71 (diff) | |
download | gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar.gz gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar.bz2 gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar.lz gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar.xz gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.tar.zst gsoc2013-evolution-f4d6507475e46a353a831c8161b58d3cef9adfb0.zip |
Only clear the text/html signature menus if they are non-NULL.
2002-05-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (sig_fill_options): Only clear the text/html
signature menus if they are non-NULL.
svn path=/trunk/; revision=16973
-rw-r--r-- | mail/mail-account-gui.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 490b7ea023..2e980e3d79 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1209,9 +1209,13 @@ sig_fill_options (MailAccountGui *gui) if (menu_text) clear_menu (menu_text); + else + menu_text = gtk_menu_new (); if (menu_html) clear_menu (menu_html); + else + menu_html = gtk_menu_new (); gtk_menu_append (GTK_MENU (menu_text), gtk_menu_item_new_with_label (_("None"))); gtk_menu_append (GTK_MENU (menu_html), gtk_menu_item_new_with_label (_("None"))); |