(gtk) #376: handle systray icon error
This commit is contained in:
parent
a06c1ace83
commit
a98cd524e1
|
@ -88,7 +88,7 @@ gpointer
|
|||
tr_icon_new( TrCore * core )
|
||||
{
|
||||
guint id;
|
||||
GtkStatusIcon * icon = gtk_status_icon_new_from_stock ("transmission");
|
||||
GtkStatusIcon * icon = gtk_status_icon_new_from_icon_name( "transmission" );
|
||||
g_signal_connect( icon, "activate", G_CALLBACK( activated ), NULL );
|
||||
g_signal_connect( icon, "popup-menu", G_CALLBACK( popup ), NULL );
|
||||
id = g_timeout_add( 1000, refresh_tooltip_cb, icon );
|
||||
|
|
Loading…
Reference in New Issue