]> granicus.if.org Git - transmission/commitdiff
(trunk, gtk) fix #4871 'appindicator does not set its title' w/patch from seb128
authorJordan Lee <jordan@transmissionbt.com>
Mon, 16 Apr 2012 18:42:26 +0000 (18:42 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Mon, 16 Apr 2012 18:42:26 +0000 (18:42 +0000)
gtk/my-valgrind.sh
gtk/tr-icon.c

index 3b417ab68daf5523c3314e8fa9df697b865aadd6..698eb34897d63db162964d13df3d7ae6cc67a752 100755 (executable)
@@ -3,4 +3,4 @@ export G_SLICE=always-malloc
 export G_DEBUG=gc-friendly
 export GLIBCXX_FORCE_NEW=1
 #valgrind --tool=cachegrind ./transmission-gtk -p -g /tmp/transmission-test 2>&1 | tee runlog
-valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=48 --log-file=x-valgrind --show-reachable=yes ./transmission-gtk -g /tmp/transmission-test -p 2>&1 | tee runlog
+valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=48 --log-file=x-valgrind --show-reachable=no ./transmission-gtk -g /tmp/transmission-test -p 2>&1 | tee runlog
index 9e95161afd47886a385c9c6a9fafc7988ec10aa0..b75cd0fafb4a33e67dda9f5fd70e4e71d574ea82 100644 (file)
@@ -143,6 +143,7 @@ gtr_icon_new( TrCore * core)
     app_indicator_set_status( indicator, APP_INDICATOR_STATUS_ACTIVE );
     w = gtr_action_get_widget( "/icon-popup" );
     app_indicator_set_menu( indicator, GTK_MENU ( w ) );
+    app_indicator_set_title( indicator, g_get_application_name( ) );
     g_object_set_qdata( G_OBJECT( indicator ), get_core_quark( ), core );
     return indicator;
 #else