diff options
author | Paolo Borelli <pborelli@katamail.com> | 2008-07-14 19:38:30 +0800 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2008-07-14 19:38:30 +0800 |
commit | c049cedd6969d77649db15b71f4ba112d4a2c065 (patch) | |
tree | ab42a98360f79974bcefa46a83cd3610aec1c6bf /calendar | |
parent | 5dcc53160bfb1202e53fece360838f39646a6d09 (diff) | |
download | gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.gz gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.bz2 gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.lz gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.xz gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.tar.zst gsoc2013-evolution-c049cedd6969d77649db15b71f4ba112d4a2c065.zip |
** Fix for bug #542889
2008-17-14 Paolo Borelli <pborelli@katamail.com>
** Fix for bug #542889
Port to the new gtk tooltip api.
svn path=/trunk/; revision=35744
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 8 | ||||
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index c778291424..f33f8c9bba 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,11 @@ +2008-17-14 Paolo Borelli <pborelli@katamail.com> + + ** Fix for bug #542889 + + * gui/dialogs/event-page.c: + * gui/alarm-notify/alarm-queue.c: + Port to the new gtk tooltip api. + 2008-07-13 Paul Bolle <pebolle@tiscali.nl> ** Fix for bug #542101 diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c index a04b82689c..9bc19d4aad 100644 --- a/calendar/gui/alarm-notify/alarm-queue.c +++ b/calendar/gui/alarm-notify/alarm-queue.c @@ -1549,7 +1549,6 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, QueuedAlarm *qa; ECalComponent *comp; const char *summary, *location; - GtkTooltips *tooltips; ECalComponentText text; char *str, *start_str, *end_str, *alarm_str, *time_str; icaltimezone *current_zone; @@ -1579,7 +1578,6 @@ popup_notification (time_t trigger, CompQueuedAlarms *cqa, e_cal_component_get_location (comp, &location); /* create the tray icon */ - tooltips = gtk_tooltips_new (); current_zone = config_data_get_timezone (); alarm_str = timet_to_str_with_zone (trigger, current_zone); diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 0596c4c790..cf2a8e5c9e 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -784,15 +784,13 @@ static GtkWidget * create_image_event_box (const char *image_text, const char *tip_text) { GtkWidget *image, *box; - GtkTooltips *tip; box = gtk_event_box_new (); - tip = gtk_tooltips_new (); image = e_icon_factory_get_image (image_text, E_ICON_SIZE_MENU); gtk_container_add ((GtkContainer *) box, image); gtk_widget_show_all (box); - gtk_tooltips_set_tip (tip, box, tip_text, NULL); + gtk_widget_set_tooltip_text (box, tip_text); return box; } |