1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 00:04:06 +00:00

(trunk, gtk) fix #4871 'appindicator does not set its title' w/patch from seb128

This commit is contained in:
Jordan Lee 2012-04-16 18:42:26 +00:00
parent 610926c2a3
commit 5ad842b6a8
2 changed files with 2 additions and 1 deletions

View file

@ -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

View 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