aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog11
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c4
-rw-r--r--calendar/gui/weekday-picker.c3
3 files changed, 13 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 09f38c9260..8130b5856d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,14 @@
+2009-02-19 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes part of bug #572348
+
+ * gui/alarm-notify/alarm-queue.c (display_notification):
+ Call gtk_status_icon_set_tooltip_text() instead of
+ gtk_status_icon_set_tooltip() (deprecated).
+
+ * gui/weekday-picker.c (configure_items):
+ Remove dead code.
+
2009-02-19 Andre Klapper <a9016009@gmx.de>
* /gui/e-day-view.c:
diff --git a/calendar/gui/alarm-notify/alarm-queue.c b/calendar/gui/alarm-notify/alarm-queue.c
index c1258d49e0..e644e8a66c 100644
--- a/calendar/gui/alarm-notify/alarm-queue.c
+++ b/calendar/gui/alarm-notify/alarm-queue.c
@@ -1528,10 +1528,10 @@ display_notification (time_t trigger, CompQueuedAlarms *cqa,
char *tip;
tip = g_strdup_printf (_("You have %d alarms"), g_list_length (tray_icons_list));
- gtk_status_icon_set_tooltip (tray_icon, tip);
+ gtk_status_icon_set_tooltip_text (tray_icon, tip);
}
else {
- gtk_status_icon_set_tooltip (tray_icon, str);
+ gtk_status_icon_set_tooltip_text (tray_icon, str);
}
g_free (start_str);
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index 53fe6dcce6..613e62c1ca 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -363,9 +363,6 @@ configure_items (WeekdayPicker *wp)
c = get_day_text (day);
gnome_canvas_item_set (priv->labels[i],
"text", c,
-#if 0
- "font_gdk", gtk_style_get_font (gtk_widget_get_style (GTK_WIDGET (wp))),
-#endif
"x", (double) (i * box_width) + box_width / 2.0,
"y", (double) (1 + PADDING),
"anchor", GTK_ANCHOR_N,