From 58fa5a1df654b130feb13a7889a097c96ac5d858 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 17 May 2004 20:41:46 +0000 Subject: Use E_ICON_SIZE enum here. (display_notification): Same. 2004-05-17 Jeffrey Stedfast * gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb): Use E_ICON_SIZE enum here. (display_notification): Same. * gui/alarm-notify/alarm-notify-dialog.c (write_html_heading): Use E_ICON_SIZE_DIALOG here. * gui/e-week-view.c (e_week_view_realize): Same as below. * gui/e-day-view.c (e_day_view_realize): Use E_ICON_SIZE_MENU for the icon sizes rather than using pixel values. svn path=/trunk/; revision=25941 --- calendar/gui/alarm-notify/alarm-notify-dialog.c | 2 +- calendar/gui/alarm-notify/alarm-queue.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'calendar/gui/alarm-notify') diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c index c914bdb8a0..af31715ea9 100644 --- a/calendar/gui/alarm-notify/alarm-notify-dialog.c +++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c @@ -228,7 +228,7 @@ write_html_heading (GtkHTMLStream *stream, const char *message, gchar *icon_path; icaltimezone *current_zone; - icon_path = e_icon_factory_get_icon_filename ("stock_alarm", 48); + icon_path = e_icon_factory_get_icon_filename ("stock_alarm", E_ICON_SIZE_DIALOG); image_path = g_strdup_printf ("file://%s", icon_path); g_free (icon_path); diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index 83e676d12c..b00e979ad6 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -895,7 +895,7 @@ tray_icon_blink_cb (gpointer data) pixbuf = e_icon_factory_get_icon (tray_data->blink_state == TRUE ? "stock_appointment-reminder-excl" : "stock_appointment-reminder", - 24); + E_ICON_SIZE_LARGE_TOOLBAR); gtk_image_set_from_pixbuf (GTK_IMAGE (tray_data->image), pixbuf); gdk_pixbuf_unref (pixbuf); @@ -949,7 +949,7 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa, /* FIXME: Use stock image equivalent when it becomes available */ tray_icon = egg_tray_icon_new (qa->instance->auid); - pixbuf = e_icon_factory_get_icon ("stock_appointment-reminder", 24); + pixbuf = e_icon_factory_get_icon ("stock_appointment-reminder", E_ICON_SIZE_LARGE_TOOLBAR); image = gtk_image_new_from_pixbuf (pixbuf); gdk_pixbuf_unref (pixbuf); ebox = gtk_event_box_new (); -- cgit v1.2.3