* src/mainwindow.c
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 5 Jan 2003 00:07:28 +0000 (00:07 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 5 Jan 2003 00:07:28 +0000 (00:07 +0000)
focus_in_event handler should not select summary view row
when another window (menu, dialog) grabbed for events
(bug #7, "[0.8.8claws42] Message summary focus")

ChangeLog.claws
configure.in
src/mainwindow.c

index 4a92f8a..d91192e 100644 (file)
@@ -1,3 +1,10 @@
+2003-01-05 [alfons]    0.8.8claws44
+
+       * src/mainwindow.c
+               focus_in_event handler should not select summary view row 
+               when another window (menu, dialog) grabbed for events 
+               (bug #7, "[0.8.8claws42] Message summary focus") 
+
 2003-01-04 [christoph] 0.8.8claws43
 
        * src/procmsg.c
index 78fc20d..9205697 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws43
+EXTRA_VERSION=claws44
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 779ff8e..0b3f8b1 100644 (file)
@@ -2648,6 +2648,10 @@ static gboolean mainwindow_focus_in_event(GtkWidget *widget, GdkEventFocus *focu
        SummaryView *summary;
 
        g_return_val_if_fail(data, FALSE);
+
+       if (gtk_grab_get_current()) 
+               return FALSE;
+       
        summary = ((MainWindow *)data)->summaryview;
        g_return_val_if_fail(summary, FALSE);
        if (summary->selected != summary->displayed)