diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-20 05:45:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-20 05:45:14 +0800 |
commit | e739391cceefb5b2c60c83f0aced1f8f399092f2 (patch) | |
tree | 2d2ce75c0448549173dc73b2da951c6ab576fbd7 | |
parent | 6a49b7889388637b52d52403638c0d47c982e91c (diff) | |
download | gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar.gz gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar.bz2 gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar.lz gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar.xz gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.tar.zst gsoc2013-evolution-e739391cceefb5b2c60c83f0aced1f8f399092f2.zip |
Same.
2004-04-19 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (construct): Same.
* message-list.c (message_list_init_images): Same.
* mail-send-recv.c (build_dialog): Same.
* mail-mt.c (do_op_status): Same.
* mail-config-druid.c (evolution_mail_config_wizard_new): Same.
* em-popup.c (em_popup_create_menu): Same.
* em-format-html-display.c (efhd_format_prefix): Same.
* em-format-html.c (efh_format_secure): Same as below.
* em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes,
use the e-icon-factory enums.
svn path=/trunk/; revision=25527
-rw-r--r-- | mail/ChangeLog | 21 | ||||
-rw-r--r-- | mail/em-composer-prefs.c | 2 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 10 | ||||
-rw-r--r-- | mail/em-format-html-display.c | 6 | ||||
-rw-r--r-- | mail/em-format-html.c | 2 | ||||
-rw-r--r-- | mail/em-popup.c | 4 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 4 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 4 | ||||
-rw-r--r-- | mail/message-list.c | 5 | ||||
-rw-r--r-- | mail/message-tag-followup.c | 2 |
11 files changed, 41 insertions, 21 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index ffa6994ed8..889d463d14 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,26 @@ 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> + * message-tag-followup.c (construct): Same. + + * message-list.c (message_list_init_images): Same. + + * mail-send-recv.c (build_dialog): Same. + + * mail-mt.c (do_op_status): Same. + + * mail-config-druid.c (evolution_mail_config_wizard_new): Same. + + * em-popup.c (em_popup_create_menu): Same. + + * em-format-html-display.c (efhd_format_prefix): Same. + + * em-format-html.c (efh_format_secure): Same as below. + + * em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes, + use the e-icon-factory enums. + +2004-04-19 Jeffrey Stedfast <fejj@ximian.com> + * em-composer-prefs.h: Removed variables that got re-added with the icon-theme patch somehow. diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c index 99870462f2..858a3717fb 100644 --- a/mail/em-composer-prefs.c +++ b/mail/em-composer-prefs.c @@ -100,7 +100,7 @@ em_composer_prefs_class_init (EMComposerPrefsClass *klass) static void em_composer_prefs_init (EMComposerPrefs *prefs) { - prefs->enabled_pixbuf = e_icon_factory_get_icon ("stock_mark", 16); + prefs->enabled_pixbuf = e_icon_factory_get_icon ("stock_mark", E_ICON_SIZE_MENU); prefs->sig_hash = g_hash_table_new (g_direct_hash, g_direct_equal); } diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index a53f283938..8c64197842 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -258,11 +258,11 @@ render_pixbuf (GtkTreeViewColumn *column, GtkCellRenderer *renderer, char *path; if (!initialised) { - folder_icons[FOLDER_ICON_NORMAL] = e_icon_factory_get_icon ("stock_folder", 16); - folder_icons[FOLDER_ICON_INBOX] = e_icon_factory_get_icon ("stock_inbox", 16); - folder_icons[FOLDER_ICON_OUTBOX] = e_icon_factory_get_icon ("stock_outbox", 16); - folder_icons[FOLDER_ICON_TRASH] = e_icon_factory_get_icon ("stock_delete", 16); - folder_icons[FOLDER_ICON_JUNK] = e_icon_factory_get_icon ("stock_spam", 16); + folder_icons[FOLDER_ICON_NORMAL] = e_icon_factory_get_icon ("stock_folder", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_INBOX] = e_icon_factory_get_icon ("stock_inbox", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_OUTBOX] = e_icon_factory_get_icon ("stock_outbox", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_TRASH] = e_icon_factory_get_icon ("stock_delete", E_ICON_SIZE_MENU); + folder_icons[FOLDER_ICON_JUNK] = e_icon_factory_get_icon ("stock_spam", E_ICON_SIZE_MENU); initialised = TRUE; } diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index f67860f11f..2e210e743e 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -844,8 +844,8 @@ efhd_xpkcs7mime_button(EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObje /* FIXME: need to have it based on encryption and signing too */ name = smime_sign_table[po->valid->sign.status].icon; - pixbuf = e_icon_factory_get_icon (name, 24); - + pixbuf = e_icon_factory_get_icon (name, E_ICON_SIZE_LARGE_TOOLBAR); + icon = gtk_image_new_from_pixbuf (pixbuf); g_object_unref(pixbuf); gtk_widget_show(icon); @@ -977,7 +977,7 @@ static void efhd_format_prefix(EMFormat *emf, CamelStream *stream) camel_stream_printf(stream, "<table border=1 width=\"100%%\" cellspacing=2 cellpadding=2><tr>"); comp = camel_folder_get_message_user_tag(emf->folder, emf->uid, "completed-on"); - iconpath = e_icon_factory_get_icon_filename (comp && comp[0] ? "stock_flag-for-followup-done" : "stock_flag-for-followup", 16); + iconpath = e_icon_factory_get_icon_filename (comp && comp[0] ? "stock_flag-for-followup-done" : "stock_flag-for-followup", E_ICON_SIZE_MENU); if (iconpath) { CamelMimePart *iconpart; diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 5864eaac52..53a933f783 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -604,7 +604,7 @@ efh_format_secure(EMFormat *emf, CamelStream *stream, CamelMimePart *part, Camel classid = g_strdup_printf("smime:///em-format-html/%s/icon/signed", emf->part_id->str); camel_stream_printf(stream, "<td valign=\"top\"><img src=\"%s\"></td><td valign=\"top\" width=\"100%%\">", classid); - iconpath = e_icon_factory_get_icon_filename (smime_sign_table[valid->sign.status].icon, 48); + iconpath = e_icon_factory_get_icon_filename (smime_sign_table[valid->sign.status].icon, E_ICON_SIZE_DIALOG); iconpart = em_format_html_file_part((EMFormatHTML *)emf, "image/png", iconpath); if (iconpart) { (void)em_format_add_puri(emf, sizeof(EMFormatPURI), classid, iconpart, efh_write_image); diff --git a/mail/em-popup.c b/mail/em-popup.c index 6e3a57ebd5..258f94090c 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -295,8 +295,8 @@ em_popup_create_menu(EMPopup *emp, guint32 hide_mask, guint32 disable_mask) if (item->image) { GdkPixbuf *pixbuf; GtkWidget *image; - - pixbuf = e_icon_factory_get_icon ((char *)item->image, 16); + + pixbuf = e_icon_factory_get_icon ((char *)item->image, E_ICON_SIZE_MENU); image = gtk_image_new_from_pixbuf (pixbuf); g_object_unref (pixbuf); diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index 33453916aa..c973362286 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -621,7 +621,7 @@ mail_config_druid_new (void) for (i = 0; i < num_wizard_pages; i++) { page = glade_xml_get_widget (mcw->gui->xml, wizard_pages[i].page_name); - icon = e_icon_factory_get_icon (wizard_pages[i].icon_name, 48); + icon = e_icon_factory_get_icon (wizard_pages[i].icon_name, E_ICON_SIZE_DIALOG); gnome_druid_page_standard_set_logo (GNOME_DRUID_PAGE_STANDARD (page), icon); g_object_unref (icon); g_ptr_array_add (mcw->interior_pages, page); @@ -748,7 +748,7 @@ evolution_mail_config_wizard_new (void) wizard = evolution_wizard_new (); for (i = 0; i < MAIL_CONFIG_WIZARD_NUM_PAGES; i++) { - icon = e_icon_factory_get_icon (wizard_pages[i].icon_name, 48); + icon = e_icon_factory_get_icon (wizard_pages[i].icon_name, E_ICON_SIZE_DIALOG); evolution_wizard_add_page (wizard, _(wizard_pages[i].title), icon, get_page (mcw->gui->xml, i)); g_object_unref (icon); diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 4c353195de..3b7da83244 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -892,7 +892,7 @@ static void do_op_status(struct _mail_msg *mm) data->activity_state = 1; if (progress_icon == NULL) - progress_icon = e_icon_factory_get_icon ("stock_mail-unread", 16); + progress_icon = e_icon_factory_get_icon ("stock_mail-unread", E_ICON_SIZE_MENU); MAIL_MT_UNLOCK (mail_msg_lock); if (msg->ops->describe_msg) diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index ebd233f586..a27ca71da5 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -397,7 +397,7 @@ build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destinati } else if (info->timeout_id == 0) info->timeout_id = g_timeout_add (STATUS_TIMEOUT, operation_status_timeout, info); - pixbuf = e_icon_factory_get_icon ("stock_mail-receive", 24); + pixbuf = e_icon_factory_get_icon ("stock_mail-receive", E_ICON_SIZE_LARGE_TOOLBAR); recv_icon = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); @@ -452,7 +452,7 @@ build_dialog (EAccountList *accounts, CamelFolder *outbox, const char *destinati } else if (info->timeout_id == 0) info->timeout_id = g_timeout_add (STATUS_TIMEOUT, operation_status_timeout, info); - pixbuf = e_icon_factory_get_icon ("stock_mail-send", 24); + pixbuf = e_icon_factory_get_icon ("stock_mail-send", E_ICON_SIZE_LARGE_TOOLBAR); send_icon = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); diff --git a/mail/message-list.c b/mail/message-list.c index 23340d08f9..45935118dd 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1227,9 +1227,8 @@ message_list_init_images (void) if (states_pixmaps [0].pixbuf) return; - for (i = 0; states_pixmaps [i].icon_name; i++){ - states_pixmaps [i].pixbuf = e_icon_factory_get_icon (states_pixmaps [i].icon_name, 16); - } + for (i = 0; states_pixmaps[i].icon_name; i++) + states_pixmaps[i].pixbuf = e_icon_factory_get_icon (states_pixmaps[i].icon_name, E_ICON_SIZE_MENU); } static char * diff --git a/mail/message-tag-followup.c b/mail/message-tag-followup.c index 45794520ca..481e99f140 100644 --- a/mail/message-tag-followup.c +++ b/mail/message-tag-followup.c @@ -302,7 +302,7 @@ construct (MessageTagEditor *editor) gtk_box_set_child_packing (GTK_BOX (GTK_DIALOG (editor)->vbox), widget, TRUE, TRUE, 6, GTK_PACK_START); widget = glade_xml_get_widget (gui, "pixmap"); - pixbuf = e_icon_factory_get_icon ("stock_mail-flag-for-followup", 48); + pixbuf = e_icon_factory_get_icon ("stock_mail-flag-for-followup", E_ICON_SIZE_DIALOG); gtk_image_set_from_pixbuf ((GtkImage *)widget, pixbuf); g_object_unref (pixbuf); |