balsa r8059 - in trunk: . src
- From: PeterB svn gnome org
- To: svn-commits-list gnome org
- Subject: balsa r8059 - in trunk: . src
- Date: Fri, 23 Jan 2009 18:11:35 +0000 (UTC)
Author: PeterB
Date: Fri Jan 23 18:11:35 2009
New Revision: 8059
URL: http://svn.gnome.org/viewvc/balsa?rev=8059&view=rev
Log:
Gtk-2.16 deprecation cleanup
Modified:
trunk/ChangeLog
trunk/src/main-window.c
Modified: trunk/src/main-window.c
==============================================================================
--- trunk/src/main-window.c (original)
+++ trunk/src/main-window.c Fri Jan 23 18:11:35 2009
@@ -3295,7 +3295,11 @@
num_new + num_total), num_new + num_total);
else
msg = g_strdup(_("Balsa: you have new mail."));
+#if GTK_CHECK_VERSION(2, 15, 0)
+ gtk_status_icon_set_tooltip_text(new_mail_tray, msg);
+#else /* GTK_CHECK_VERSION(2, 16, 0) */
gtk_status_icon_set_tooltip(new_mail_tray, msg);
+#endif /* GTK_CHECK_VERSION(2, 16, 0) */
gtk_status_icon_set_visible(new_mail_tray, TRUE);
g_free(msg);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]