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 | |
parent | 8ae69848aecd98804ad7bba911b0d6b775012dbe (diff) | |
download | gsoc2013-evolution-a243925d75d2b688fa2da33020f1495d2ad2cba9.tar.gz 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
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 13 |
2 files changed, 14 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1c3f9eb3d9..708cb01391 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 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. + +2003-08-28 Hans Petter Jansson <hpj@ximian.com> + * gui/alarm-notify/util.[ch]: Added alarm-notify utils. * gui/alarm-notify/Makefile.am: Added alarm-notify utils. 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); |