fine tune solution to focus problems (bug #7)
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 5 Jan 2003 13:02:43 +0000 (13:02 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 5 Jan 2003 13:02:43 +0000 (13:02 +0000)
* src/mainwindow.c
mainwindow_focus_in_event(): remove grab event check
* src/summaryview.c
summary_button_pressed(): move selection on right-click
too. we can't possibly move the selection back after
canceling a dialog, because gtk's incomplete focus
management. whether this is a good solution, only time
will tell.

ChangeLog.claws
configure.in
src/mainwindow.c
src/summaryview.c

index 97d84a3b39f4fc2fcb06bcdab32d4f3741ceb769..969d1572a39ebbcb795fea757a5ab7d02e5f7d8c 100644 (file)
@@ -1,3 +1,16 @@
+2003-01-05 [alfons]    0.8.8claws47
+
+       fine tune solution to focus problems (bug #7)
+
+       * src/mainwindow.c
+               mainwindow_focus_in_event(): remove grab event check
+       * src/summaryview.c
+               summary_button_pressed(): move selection on right-click
+               too. we can't possibly move the selection back after
+               canceling a dialog, because gtk's incomplete focus 
+               management. whether this is a good solution, only time
+               will tell.
+
 2003-01-05 [christoph] 0.8.8claws46
 
        * src/imap.c
index a4888608c8add4eb6f81d59e5e2ff0f430898e65..1c83c23dfbc1c8f36ff53865fbd2d57b4a4d3261 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws46
+EXTRA_VERSION=claws47
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index ddedc9d3fc5dd4e75e61ca7eb4c5f85859494766..e006583f333bc3039dde5e3fb90dcf206e11052d 100644 (file)
@@ -2662,10 +2662,6 @@ 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)
index 638600ea6b0a993e3389c2eb87561167fd51ff43..8af61fd23ac6f03034b4b87056a035a6affe9ebc 100644 (file)
@@ -4592,6 +4592,7 @@ static void summary_button_pressed(GtkWidget *ctree, GdkEventButton *event,
        if (!event) return;
 
        if (event->button == 3) {
+               summaryview->display_msg = TRUE;
                /* right clicked */
                gtk_menu_popup(GTK_MENU(summaryview->popupmenu), NULL, NULL,
                               NULL, NULL, event->button, event->time);