From 2b5742659639ceb7069ef7e78ee3a98f06d5eeb7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 May 2004 19:53:11 +0000 Subject: Use E_ICON_SIZE_MENU 2004-05-17 Jeffrey Stedfast * gui/tasks-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU * gui/e-timezone-entry.c (e_timezone_entry_init): Use E_ICON_SIZE_BUTTON * gui/e-itip-control.c (write_error_html): Use E_ICON_SIZE enums. (write_html): Same. * gui/e-calendar-view.c (e_calendar_view_set_status_message): Use E_ICON_SIZE_STATUS (setup_popup_icons): Use E_ICON_SIZE_MENU * gui/e-calendar-table.c (e_calendar_table_init): Use E_ICON_SIZE_LIST rather than a hard-coded value of 16 pixels. (e_calendar_table_set_status_message): Use E_ICON_SIZE_STATUS * gui/calendar-component.c (add_popup_menu_item): Use E_ICON_SIZE_MENU rather than hard-coding the pixel size. svn path=/trunk/; revision=25934 --- calendar/gui/e-calendar-view.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'calendar/gui/e-calendar-view.c') diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c index 9a752bc910..ecf9924d7e 100644 --- a/calendar/gui/e-calendar-view.c +++ b/calendar/gui/e-calendar-view.c @@ -563,7 +563,7 @@ e_calendar_view_set_status_message (ECalendarView *cal_view, const gchar *messag char *client_id = g_strdup_printf ("%p", cal_view); if (progress_icon == NULL) - progress_icon = e_icon_factory_get_icon (EVOLUTION_CALENDAR_PROGRESS_IMAGE, 16); + progress_icon = e_icon_factory_get_icon (EVOLUTION_CALENDAR_PROGRESS_IMAGE, E_ICON_SIZE_STATUS); priv->activity_id = e_activity_handler_operation_started (priv->activity_handler, client_id, progress_icon, message, TRUE); @@ -1348,22 +1348,22 @@ setup_popup_icons (EPopupMenu *context_menu) else if (!strcmp (context_menu[i].name, _("_Go to Date..."))) pixmap_widget = gtk_image_new_from_stock (GTK_STOCK_JUMP_TO, GTK_ICON_SIZE_MENU); else if (!strcmp (context_menu[i].name, _("New _Appointment..."))) { - pixbuf = e_icon_factory_get_icon ("stock_new-appointment", 16); + pixbuf = e_icon_factory_get_icon ("stock_new-appointment", E_ICON_SIZE_MENU); pixmap_widget = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); } else if (!strcmp (context_menu[i].name, _("New All Day _Event"))) { - pixbuf = e_icon_factory_get_icon ("stock_new-24h-appointment", 16); + pixbuf = e_icon_factory_get_icon ("stock_new-24h-appointment", E_ICON_SIZE_MENU); pixmap_widget = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); } else if (!strcmp (context_menu[i].name, _("New Meeting"))) { - pixbuf = e_icon_factory_get_icon ("stock_new-meeting", 16); + pixbuf = e_icon_factory_get_icon ("stock_new-meeting", E_ICON_SIZE_MENU); pixmap_widget = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); } else if (!strcmp (context_menu[i].name, _("New Task"))) { - pixbuf = e_icon_factory_get_icon ("stock_task", 16); + pixbuf = e_icon_factory_get_icon ("stock_task", E_ICON_SIZE_MENU); pixmap_widget = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); } -- cgit v1.2.3