evolution r37291 - in trunk: calendar calendar/gui calendar/gui/alarm-notify plugins/mail-notification widgets/table



Author: mbarnes
Date: Thu Feb 19 03:25:13 2009
New Revision: 37291
URL: http://svn.gnome.org/viewvc/evolution?rev=37291&view=rev

Log:
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.



Modified:
   trunk/calendar/ChangeLog
   trunk/calendar/gui/alarm-notify/alarm-queue.c
   trunk/calendar/gui/weekday-picker.c
   trunk/plugins/mail-notification/ChangeLog
   trunk/plugins/mail-notification/mail-notification.c
   trunk/widgets/table/ChangeLog
   trunk/widgets/table/e-table-example-1.c

Modified: trunk/calendar/gui/alarm-notify/alarm-queue.c
==============================================================================
--- trunk/calendar/gui/alarm-notify/alarm-queue.c	(original)
+++ trunk/calendar/gui/alarm-notify/alarm-queue.c	Thu Feb 19 03:25:13 2009
@@ -1528,10 +1528,10 @@
 		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);

Modified: trunk/calendar/gui/weekday-picker.c
==============================================================================
--- trunk/calendar/gui/weekday-picker.c	(original)
+++ trunk/calendar/gui/weekday-picker.c	Thu Feb 19 03:25:13 2009
@@ -363,9 +363,6 @@
 		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,

Modified: trunk/plugins/mail-notification/mail-notification.c
==============================================================================
--- trunk/plugins/mail-notification/mail-notification.c	(original)
+++ trunk/plugins/mail-notification/mail-notification.c	Thu Feb 19 03:25:13 2009
@@ -485,7 +485,7 @@
 						 "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);

Modified: trunk/widgets/table/e-table-example-1.c
==============================================================================
--- trunk/widgets/table/e-table-example-1.c	(original)
+++ trunk/widgets/table/e-table-example-1.c	Thu Feb 19 03:25:13 2009
@@ -293,7 +293,6 @@
 	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 ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]