From 658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 19 Feb 2009 03:25:13 +0000 Subject: ** Fixes part of bug #572348 2009-02-19 Matthew Barnes ** 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 --- calendar/ChangeLog | 11 +++++++++++ calendar/gui/alarm-notify/alarm-queue.c | 4 ++-- calendar/gui/weekday-picker.c | 3 --- plugins/mail-notification/ChangeLog | 8 ++++++++ plugins/mail-notification/mail-notification.c | 2 +- widgets/table/ChangeLog | 7 +++++++ widgets/table/e-table-example-1.c | 1 - 7 files changed, 29 insertions(+), 7 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 + + ** 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 * /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, diff --git a/plugins/mail-notification/ChangeLog b/plugins/mail-notification/ChangeLog index ecbc34391d..f14ef84080 100644 --- a/plugins/mail-notification/ChangeLog +++ b/plugins/mail-notification/ChangeLog @@ -1,3 +1,11 @@ +2009-02-19 Matthew Barnes + + ** Fixes part of bug #572348 + + * mail-notification.c (new_notify_status): + Call gtk_status_icon_set_tooltip_text() instead of + gtk_status_icon_set_tooltip() (decprecated). + 2009-01-28 Tor Lillqvist * Makefile.am: Use -no-undefined and link with more libraries on diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index a501d99bb1..e7d0f2f898 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -485,7 +485,7 @@ new_notify_status (EMEventTargetFolder *t) "You have received %d new messages.", status_count), status_count); } - gtk_status_icon_set_tooltip (status_icon, msg); + gtk_status_icon_set_tooltip_text (status_icon, msg); if (new_icon && is_part_enabled (GCONF_KEY_STATUS_BLINK)) { gtk_status_icon_set_blinking (status_icon, TRUE); diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index 152888c867..8be11090bf 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,10 @@ +2009-02-19 Matthew Barnes + + ** Fixes part of bug #572348 + + * e-table-example-1.c (main): + gtk_widget_push_visual() is a no-op. Remove it. + 2009-02-19 Andre Klapper * e-table-field-chooser-dialog.c: diff --git a/widgets/table/e-table-example-1.c b/widgets/table/e-table-example-1.c index e68dda908e..cacef107b7 100644 --- a/widgets/table/e-table-example-1.c +++ b/widgets/table/e-table-example-1.c @@ -293,7 +293,6 @@ main (int argc, char *argv []) gnome_init ("TableExample", "TableExample", argc, argv); e_cursors_init (); - gtk_widget_push_visual (gdk_rgb_get_visual ()); gtk_widget_push_colormap (gdk_rgb_get_colormap ()); create_table (); -- cgit v1.2.3