From a98cd524e190cc16b4ab9eba9415782e27392e0f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 7 Feb 2008 21:43:38 +0000 Subject: [PATCH] (gtk) #376: handle systray icon error --- gtk/tr_icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/tr_icon.c b/gtk/tr_icon.c index dac9e0f8a..5d2c6811a 100644 --- a/gtk/tr_icon.c +++ b/gtk/tr_icon.c @@ -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 );