aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.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-table.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-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 9da8ae43c0..f6622c4de5 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -470,7 +470,7 @@ e_calendar_table_init (ECalendarTable *cal_table)
if (!icon_pixbufs[0])
for (i = 0; i < E_CALENDAR_MODEL_NUM_ICONS; i++) {
- icon_pixbufs[i] = e_icon_factory_get_icon (icon_names[i], 16);
+ icon_pixbufs[i] = e_icon_factory_get_icon (icon_names[i], E_ICON_SIZE_LIST);
}
cell = e_cell_toggle_new (0, E_CALENDAR_MODEL_NUM_ICONS, icon_pixbufs);
@@ -480,7 +480,7 @@ e_calendar_table_init (ECalendarTable *cal_table)
e_table_extras_add_cell(extras, "icon", cell);
e_table_extras_add_pixbuf(extras, "icon", icon_pixbufs[0]);
- pixbuf = e_icon_factory_get_icon ("stock_check-filled", 16);
+ pixbuf = e_icon_factory_get_icon ("stock_check-filled", E_ICON_SIZE_LIST);
e_table_extras_add_pixbuf(extras, "complete", pixbuf);
gdk_pixbuf_unref(pixbuf);
@@ -1382,9 +1382,9 @@ e_calendar_table_set_status_message (ECalendarTable *cal_table, const gchar *mes
}
} else if (cal_table->activity_id == 0) {
char *client_id = g_strdup_printf ("%p", cal_table);
-
+
if (progress_icon == NULL)
- progress_icon = e_icon_factory_get_icon (EVOLUTION_TASKS_PROGRESS_IMAGE, 16);
+ progress_icon = e_icon_factory_get_icon (EVOLUTION_TASKS_PROGRESS_IMAGE, E_ICON_SIZE_STATUS);
cal_table->activity_id = e_activity_handler_operation_started (cal_table->activity_handler, client_id,
progress_icon, message, TRUE);