diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2005-06-03 12:20:57 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2005-06-03 12:20:57 +0800 |
commit | 64e2180e3ec7a63170db152a33398dfe6c5e3cb1 (patch) | |
tree | 8aef0134e2b3b06233131a9877ac1c8c0a9e485c /composer/e-msg-composer-select-file.c | |
parent | 120716582df59a07dd7f83a30f99cd6c0cc4d4d6 (diff) | |
download | gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar.gz gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar.bz2 gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar.lz gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar.xz gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.tar.zst gsoc2013-evolution-64e2180e3ec7a63170db152a33398dfe6c5e3cb1.zip |
Show attachment bar when attachments are added e-msg-composer.c
2005-06-03 Srinivasa Ragavan <sragavan@novell.com>
* e-msg-composer-select-file.c (select_attach_response): Show
attachment bar when attachments are added
e-msg-composer.c (attachment_bar_changed_cb), (drop_action),
(drag_data_received), (create_composer): Added support to
DnD targets to the composer GtkHTML window. Also show the
attachment bar when there are attachments and hide when all
attachments are removed.
svn path=/trunk/; revision=29451
Diffstat (limited to 'composer/e-msg-composer-select-file.c')
-rw-r--r-- | composer/e-msg-composer-select-file.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/composer/e-msg-composer-select-file.c b/composer/e-msg-composer-select-file.c index 51ab823d23..7329d570c5 100644 --- a/composer/e-msg-composer-select-file.c +++ b/composer/e-msg-composer-select-file.c @@ -45,6 +45,7 @@ #include "e-msg-composer-select-file.h" #include <e-util/e-icon-factory.h> +#include "e-msg-composer.h" enum { SELECTOR_MODE_MULTI = (1 << 0), @@ -213,6 +214,9 @@ select_attach_response(GtkWidget *selector, guint response, struct _EMsgComposer g_object_set_data_full ((GObject *) composer, "attach_path", path, g_free); func(composer, names, gtk_toggle_button_get_active(showinline)); + + gtk_widget_show (composer->attachment_expander); + gtk_widget_show (composer->attachment_scrolled_window); g_slist_foreach(names, (GFunc)g_free, NULL); g_slist_free(names); |