aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-20 05:44:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-20 05:44:54 +0800
commit6a49b7889388637b52d52403638c0d47c982e91c (patch)
tree08eb43100941ed8f3c3f4359cb35b92a7955fb6b
parent24f5407f6974c1125adae6ae03277e6f47982b6a (diff)
downloadgsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar.gz
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar.bz2
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar.lz
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar.xz
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.tar.zst
gsoc2013-evolution-6a49b7889388637b52d52403638c0d47c982e91c.zip
Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.
2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. svn path=/trunk/; revision=25526
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 4f3c66878f..f3efcb2b18 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,6 +1,10 @@
+2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums
+ rather than specifying an absolute pixel size.
+
2004-04-19 Michael Terry <mike@mterry.name>
- * e-msg-composer-select-file.c:
* e-msg-composer.c: Update the composer to use the icon theme via
the EIconFactory object in e-util
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 52eb68dd16..f17c3c5a7d 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3296,8 +3296,8 @@ create_composer (int visible_mask)
gtk_misc_set_alignment (GTK_MISC (composer->attachment_expander_label), 0.0, 0.5);
gtk_misc_set_alignment (GTK_MISC (composer->attachment_expander_num), 1.0, 0.5);
expander_hbox = gtk_hbox_new (FALSE, 0);
-
- attachment_pixbuf = e_icon_factory_get_icon ("stock_attach", 16);
+
+ attachment_pixbuf = e_icon_factory_get_icon ("stock_attach", E_ICON_SIZE_MENU);
composer->attachment_expander_icon = gtk_image_new_from_pixbuf (attachment_pixbuf);
gtk_misc_set_alignment (GTK_MISC (composer->attachment_expander_icon), 1, 0.5);
gtk_widget_set_size_request (composer->attachment_expander_icon, 100, -1);