diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-02-19 11:25:13 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-02-19 11:25:13 +0800 |
commit | 658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5 (patch) | |
tree | d278c845751547fc1852709be2b3f8a0141bdc7a /calendar/gui | |
parent | 53e4d84f5202b6ab964ec4f0527a12e0f6c3f836 (diff) | |
download | gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.gz gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.zst gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.zip |
** Fixes part of bug #572348
2009-02-19 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #572348
* calendar/gui/alarm-notify/alarm-queue.c (display_notification):
* plugins/mail-notification/mail-notification.c (new_notify_status):
Call gtk_status_icon_set_tooltip_text() instead of
gtk_status_icon_set_tooltip() (deprecated).
* calendar/gui/weekday-picker.c (configure_items):
Remove dead code.
* widgets/table/e-table-example-1.c (main):
gtk_widget_push_visual() is a no-op. Remove it.
svn path=/trunk/; revision=37291
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/alarm-notify/alarm-queue.c | 4 | ||||
-rw-r--r-- | calendar/gui/weekday-picker.c | 3 |
2 files changed, 2 insertions, 5 deletions
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, |