2012-11-12 [colin] 3.8.1cvs118
authorColin Leroy <colin@colino.net>
Mon, 12 Nov 2012 19:22:43 +0000 (19:22 +0000)
committerColin Leroy <colin@colino.net>
Mon, 12 Nov 2012 19:22:43 +0000 (19:22 +0000)
* src/messageview.c
Fix initial focus on textview. Fixes bug #2776,
"Make all menu shortcuts work properly in the message window"

ChangeLog
PATCHSETS
configure.ac
src/messageview.c

index a6dc2229e4bbb43d193f95fe22d50f65b4b64ba3..4f03ab8cc4d9b620d345fc8b245d5d4bb53a2881 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-11-12 [colin]     3.8.1cvs118
+
+       * src/messageview.c
+               Fix initial focus on textview. Fixes bug #2776,
+               "Make all menu shortcuts work properly in the message window"
+
 2012-11-09 [colin]     3.8.1cvs117
 
        * src/etpan/imap-thread.c
index 6824fad26d838dc11592c9e16cc61f41fc4032e7..6289f8403260c3884eae105385fe6a295298bd85 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.74 -r 1.1.2.75 src/plugins/pgpcore/sgpgme.c;  ) > 3.8.1cvs115.patchset
 ( cvs diff -u -r 1.13.2.50 -r 1.13.2.51 src/common/socket.c;  cvs diff -u -r 1.5.2.104 -r 1.5.2.105 src/gtk/gtkutils.c;  ) > 3.8.1cvs116.patchset
 ( cvs diff -u -r 1.1.4.123 -r 1.1.4.124 src/etpan/imap-thread.c;  ) > 3.8.1cvs117.patchset
+( cvs diff -u -r 1.94.2.240 -r 1.94.2.241 src/messageview.c;  ) > 3.8.1cvs118.patchset
index b2080f8e44871e221157ea12dcf9648a29cdde44..c12aec8ced7dd67572cccbb8b90716d3a2c0b367 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=117
+EXTRA_VERSION=118
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 088a129dbf8913d652cd046b316a9aeb5d5ce26b..48ae56093fd60cc6700a383bc8b8bc4755f41ec3 100644 (file)
@@ -758,7 +758,6 @@ static MessageView *messageview_create_with_new_window_visible(MainWindow *mainw
        messageview_add_toolbar(msgview, window);
 
        if (show) {
-               gtk_widget_grab_focus(msgview->mimeview->textview->text);
                gtk_widget_show(window);
        } else {
                gtk_widget_realize(window);
@@ -772,6 +771,11 @@ static MessageView *messageview_create_with_new_window_visible(MainWindow *mainw
                          prefs_common.toolbar_style);
        messageview_init(msgview);
 
+       if (show) {
+               GTK_EVENTS_FLUSH();
+               gtk_widget_grab_focus(msgview->mimeview->textview->text);
+       }
+
        return msgview;
 }