From 9324aa08705aa032c34efeee9bd1d3f3ae77b599 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 May 2004 20:13:12 +0000 Subject: Change E_PIXMAP size args over to E_ICON_SIZE_* values. 2004-05-17 Jeffrey Stedfast * gui/component/addressbook-view.c: Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25938 --- addressbook/ChangeLog | 3 +++ addressbook/gui/component/addressbook-view.c | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index a2b10fadf4..c75828be05 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,8 @@ 2004-05-17 Jeffrey Stedfast + * gui/component/addressbook-view.c: Change E_PIXMAP size args over + to E_ICON_SIZE_* values. + * gui/widgets/e-minicard.c (e_minicard_init): Use an E_ICON_SIZE enum value for the icon_size argument to get_icon. diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c index 72979de66d..a87520703d 100644 --- a/addressbook/gui/component/addressbook-view.c +++ b/addressbook/gui/component/addressbook-view.c @@ -275,7 +275,7 @@ set_status_message (EABView *eav, const char *message, AddressbookView *view) char *clientid = g_strdup_printf ("%p", view); if (progress_icon == NULL) - progress_icon = e_icon_factory_get_icon (EVOLUTION_CONTACTS_PROGRESS_IMAGE, E_ICON_SIZE_MENU); + progress_icon = e_icon_factory_get_icon (EVOLUTION_CONTACTS_PROGRESS_IMAGE, E_ICON_SIZE_STATUS); priv->activity_id = e_activity_handler_operation_started (activity_handler, clientid, progress_icon, message, TRUE); @@ -422,17 +422,17 @@ static BonoboUIVerb verbs [] = { }; static EPixmap pixmaps [] = { - E_PIXMAP ("/menu/File/FileOps/ContactsSaveAsVCard", "stock_save_as", 16), - E_PIXMAP ("/menu/File/Print/ContactsPrint", "stock_print", 16), - E_PIXMAP ("/menu/File/Print/ContactsPrintPreview", "stock_print-preview", 16), + E_PIXMAP ("/menu/File/FileOps/ContactsSaveAsVCard", "stock_save_as", E_ICON_SIZE_MENU), + E_PIXMAP ("/menu/File/Print/ContactsPrint", "stock_print", E_ICON_SIZE_MENU), + E_PIXMAP ("/menu/File/Print/ContactsPrintPreview", "stock_print-preview", E_ICON_SIZE_MENU), - E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsCut", "stock_cut", 16), - E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsCopy", "stock_copy", 16), - E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsPaste", "stock_paste", 16), - E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactDelete", "stock_delete", 16), + E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsCut", "stock_cut", E_ICON_SIZE_MENU), + E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsCopy", "stock_copy", E_ICON_SIZE_MENU), + E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactsPaste", "stock_paste", E_ICON_SIZE_MENU), + E_PIXMAP ("/menu/EditPlaceholder/Edit/ContactDelete", "stock_delete", E_ICON_SIZE_MENU), - E_PIXMAP ("/Toolbar/ContactsPrint", "stock_print", 24), - E_PIXMAP ("/Toolbar/ContactDelete", "stock_delete", 24), + E_PIXMAP ("/Toolbar/ContactsPrint", "stock_print", E_ICON_SIZE_LARGE_TOOLBAR), + E_PIXMAP ("/Toolbar/ContactDelete", "stock_delete", E_ICON_SIZE_LARGE_TOOLBAR), E_PIXMAP_END }; -- cgit v1.2.3