Changeset 11770


Ignore:
Timestamp:
Jan 25, 2011, 4:26:10 AM (11 years ago)
Author:
jordan
Message:

#3042 "Open torrent dialog focus not restored" -- fixed. patch by ijuxda.

the callback function for GtkWidget?'s focus-in-event should return TRUE to stop other handlers from being invoked for the event or FALSE to propagate the event further.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r11721 r11770  
    12881288
    12891289#if GTK_CHECK_VERSION( 2, 8, 0 )
    1290 static void
     1290static gboolean
    12911291on_main_window_focus_in( GtkWidget      * widget UNUSED,
    12921292                         GdkEventFocus  * event  UNUSED,
     
    12971297    if( cbdata->wind )
    12981298        gtk_window_set_urgency_hint( cbdata->wind, FALSE );
     1299    return FALSE;
    12991300}
    13001301
Note: See TracChangeset for help on using the changeset viewer.