1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

(gtk) #1382: Double clicking tray icon causes window to disappear

This commit is contained in:
Charles Kerr 2008-10-26 16:25:45 +00:00
parent 06939cafa6
commit aaf11ce3cc

View file

@ -658,7 +658,7 @@ appsetup( TrWindow * wind,
/**
* hideMainWindow, and the timeout hack in toggleMainWindow,
* are loosely cribbed from Colin Walters' tr-shell.c in Rhythmbox
* are loosely cribbed from Colin Walters' rb-shell.c in Rhythmbox
*/
static gboolean
idle_hide_mainwindow( gpointer window )
@ -721,7 +721,7 @@ toggleMainWindow( struct cbdata * cbdata,
clearTag( &cbdata->idle_hide_mainwindow_tag );
hideMainWindow( cbdata );
cbdata->idle_hide_mainwindow_tag = g_timeout_add(
250, idle_hide_mainwindow, window );
100, idle_hide_mainwindow, window );
}
else
{