Ted Gould has proposed merging lp:~ted/indicator-messages/triangle-fix into 
lp:indicator-messages.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)


The triangle display callback wasn't getting the dbusmenu menuitem in its 
callback, so was exiting early.  Now it gets it and is happy.
-- 
https://code.launchpad.net/~ted/indicator-messages/triangle-fix/+merge/34562
Your team ayatana-commits is subscribed to branch lp:indicator-messages.
=== modified file 'src/indicator-messages.c'
--- src/indicator-messages.c	2010-08-26 19:31:18 +0000
+++ src/indicator-messages.c	2010-09-03 18:16:03 +0000
@@ -453,7 +453,7 @@
 	/* Make sure we can handle the label changing */
 	g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(application_prop_change_cb), label);
 	g_signal_connect(G_OBJECT(newitem), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(application_icon_change_cb), icon);
-	g_signal_connect_after(G_OBJECT (gmi), "expose_event", G_CALLBACK (application_triangle_draw_cb), NULL);
+	g_signal_connect_after(G_OBJECT (gmi), "expose_event", G_CALLBACK (application_triangle_draw_cb), newitem);
 
 	return TRUE;
 }

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : ayatana-commits@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to