diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-08-29 07:04:30 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-08-29 07:04:30 +0800 |
commit | a243925d75d2b688fa2da33020f1495d2ad2cba9 (patch) | |
tree | 0e83f6121c4660499466adb21e65f45cfcc3c22d /calendar/gui/alarm-notify | |
parent | 8ae69848aecd98804ad7bba911b0d6b775012dbe (diff) | |
download | gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.gz gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.bz2 gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.lz gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.xz gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.zst gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.zip |
Use images that come with Evolution instead of unreleased stock, for now.
2003-08-28 Hans Petter Jansson <hpj@ximian.com>
* gui/alarm-notify/alarm-queue.c (tray_icon_blink_cb)
(display_notification): Use images that come with Evolution instead
of unreleased stock, for now.
svn path=/trunk/; revision=22409
Diffstat (limited to 'calendar/gui/alarm-notify')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index e1e77bed52..cb792e466f 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -821,11 +821,13 @@ tray_icon_blink_cb (gpointer data) { TrayIconData *tray_data = data; + /* FIXME: Use stock image equivalents when they become available */ + tray_data->blink_state = tray_data->blink_state == TRUE ? FALSE : TRUE; - gtk_image_set_from_stock (GTK_IMAGE (tray_data->image), - tray_data->blink_state == TRUE ? - "appointment-reminder-excl" : "appointment-reminder", - GTK_ICON_SIZE_LARGE_TOOLBAR); + gtk_image_set_from_file (GTK_IMAGE (tray_data->image), + tray_data->blink_state == TRUE ? + EVOLUTION_IMAGESDIR "/appointment-reminder-excl.png" : + EVOLUTION_IMAGESDIR "/appointment-reminder.png"); return TRUE; } @@ -875,8 +877,9 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa, /* create the tray icon */ tooltips = gtk_tooltips_new (); + /* FIXME: Use stock image equivalent when it becomes available */ tray_icon = egg_tray_icon_new (qa->instance->auid); - image = gtk_image_new_from_stock ("appointment-reminder", GTK_ICON_SIZE_LARGE_TOOLBAR); + image = gtk_image_new_from_file (EVOLUTION_IMAGESDIR "/appointment-reminder.png"); ebox = gtk_event_box_new (); gtk_widget_show (image); |