aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-18 03:53:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-18 03:53:11 +0800
commit2b5742659639ceb7069ef7e78ee3a98f06d5eeb7 (patch)
tree9db13914df5e37e61dd6c7504c430823872394a1 /calendar/gui/e-calendar-view.c
parent2c71a3328a34e23efdc5b52529ef975c01370c7a (diff)
downloadgsoc2013-evolution-2b5742659639ceb7069ef7e78ee3a98f06d5eeb7.tar.gz
gsoc2013-evolution-2b5742659639ceb7069ef7e78ee3a98f06d5eeb7.tar.zst
gsoc2013-evolution-2b5742659639ceb7069ef7e78ee3a98f06d5eeb7.zip
Use E_ICON_SIZE_MENU
2004-05-17 Jeffrey Stedfast <fejj@novell.com> * 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
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c10
1 files changed, 5 insertions, 5 deletions
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);
}