diff options
author | Not Zed <NotZed@Ximian.com> | 2002-11-25 08:12:09 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-11-25 08:12:09 +0800 |
commit | 2fd9ea3c7ee9d1847c9c0fed6538f95a284a301c (patch) | |
tree | 40d8477d2c687e5ffb6531cb956d8fa8cc75c995 /composer/e-msg-composer-attachment-bar.c | |
parent | bc01d3ac62f6f65f4d04ec439fc1ade0a355f879 (diff) | |
download | gsoc2013-evolution-2fd9ea3c7ee9d1847c9c0fed6538f95a284a301c.tar.gz gsoc2013-evolution-2fd9ea3c7ee9d1847c9c0fed6538f95a284a301c.tar.zst gsoc2013-evolution-2fd9ea3c7ee9d1847c9c0fed6538f95a284a301c.zip |
rewrote most of this. Just use gtkfileselection directly, no
2002-11-22 Not Zed <NotZed@Ximian.com>
* e-msg-composer-select-file.c: rewrote most of this. Just use
gtkfileselection directly, no e-file-selector, much
smaller/simpler.
2002-11-21 Not Zed <NotZed@Ximian.com>
* e-msg-composer-attachment-bar.c (remove_attachment): fix
g_signal_emit params, detail in wrong spot.
(add_common): Same.
* e-icon-list.c (icon_new_from_pixbuf): remove the
'use_broken_event_handling' set.
(emit_select): Add detail to signal emit.
(text_changed): Same.
* e-msg-composer.c (subject_changed_cb): Duh! dont free subject &
simplify logic a little.
svn path=/trunk/; revision=18904
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r-- | composer/e-msg-composer-attachment-bar.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c index 7f51203b15..01438e82a8 100644 --- a/composer/e-msg-composer-attachment-bar.c +++ b/composer/e-msg-composer-attachment-bar.c @@ -148,7 +148,7 @@ add_common (EMsgComposerAttachmentBar *bar, update (bar); - g_signal_emit (bar, 0, signals[CHANGED]); + g_signal_emit (bar, signals[CHANGED], 0); } static void @@ -194,7 +194,7 @@ remove_attachment (EMsgComposerAttachmentBar *bar, g_object_unref(attachment); - g_signal_emit (GTK_OBJECT (bar), 0, signals[CHANGED]); + g_signal_emit (bar, signals[CHANGED], 0); } @@ -664,6 +664,8 @@ init (EMsgComposerAttachmentBar *bar) #warning "FIXME: check icon_hight calculation with pango_font" icon_height = icon_size + pango_font_description_get_size(GTK_WIDGET (bar)->style->font_desc)*2; icon_size += 24; + + printf("set size %d,%d\n", icon_size*4, icon_height); gtk_widget_set_size_request (GTK_WIDGET (bar), icon_size * 4, icon_height); } |