aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-02-19 11:25:13 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 11:25:13 +0800
commit658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5 (patch)
treed278c845751547fc1852709be2b3f8a0141bdc7a
parent53e4d84f5202b6ab964ec4f0527a12e0f6c3f836 (diff)
downloadgsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar
gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.gz
gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.bz2
gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.lz
gsoc2013-evolution-658c9e0c8fdbab3a3f6f2b98213c752332a4cfa5.tar.xz
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
-rw-r--r--calendar/ChangeLog11
-rw-r--r--calendar/gui/alarm-notify/alarm-queue.c4
-rw-r--r--calendar/gui/weekday-picker.c3
-rw-r--r--plugins/mail-notification/ChangeLog8
-rw-r--r--plugins/mail-notification/mail-notification.c2
-rw-r--r--widgets/table/ChangeLog7
-rw-r--r--widgets/table/e-table-example-1.c1
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 <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,
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 <mbarnes@redhat.com>
+
+ ** 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 <tml@novell.com>
* 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 <mbarnes@redhat.com>
+
+ ** 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 <a9016009@gmx.de>
* 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 ();