From 6a49b7889388637b52d52403638c0d47c982e91c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 19 Apr 2004 21:44:54 +0000 Subject: Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. 2004-04-19 Jeffrey Stedfast * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. svn path=/trunk/; revision=25526 --- composer/ChangeLog | 6 +++++- composer/e-msg-composer.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'composer') 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 + + * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums + rather than specifying an absolute pixel size. + 2004-04-19 Michael Terry - * 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); -- cgit v1.2.3