2007-07-18 [colin] 2.10.0cvs37
authorColin Leroy <colin@colino.net>
Wed, 18 Jul 2007 06:27:24 +0000 (06:27 +0000)
committerColin Leroy <colin@colino.net>
Wed, 18 Jul 2007 06:27:24 +0000 (06:27 +0000)
* src/messageview.c
Only hide the small layout's messageview, instead
of destroying it when closing
* src/gtk/gtkutils.c
Use gtk_window_present_with_time to popup windows,
it seems to make things better with modern WMs
(actually focusing)

ChangeLog
PATCHSETS
configure.ac
src/gtk/gtkutils.c
src/messageview.c

index f6d3533fa363397249a56b6c14d2a12766fc9f40..e94aad6b6af3c80dae5e1c2c0c60c7b0112a9f81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2007-07-18 [colin]     2.10.0cvs37
+
+       * src/messageview.c
+               Only hide the small layout's messageview, instead
+               of destroying it when closing
+       * src/gtk/gtkutils.c
+               Use gtk_window_present_with_time to popup windows,
+               it seems to make things better with modern WMs
+               (actually focusing)
+
 2007-07-17 [colin]     2.10.0cvs36
 
        * src/editaddress.c
index aa0f636fef1fe39c07b0f04e7b3e62cd13ce014a..362a374372f533c76b48770fad201ae5d6e474ee 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/edittags.c;  ) > 2.10.0cvs34.patchset
 ( cvs diff -u -r 1.204.2.140 -r 1.204.2.141 src/prefs_common.c;  cvs diff -u -r 1.103.2.86 -r 1.103.2.87 src/prefs_common.h;  cvs diff -u -r 1.1.2.7 -r 1.1.2.8 src/prefs_logging.c;  cvs diff -u -r 1.6.2.13 -r 1.6.2.14 src/common/log.c;  ) > 2.10.0cvs35.patchset
 ( cvs diff -u -r 1.14.2.27 -r 1.14.2.28 src/editaddress.c;  cvs diff -u -r 1.213.2.148 -r 1.213.2.149 src/folder.c;  cvs diff -u -r 1.16.2.30 -r 1.16.2.31 src/prefs_display_header.c;  ) > 2.10.0cvs36.patchset
+( cvs diff -u -r 1.94.2.139 -r 1.94.2.140 src/messageview.c;  cvs diff -u -r 1.5.2.59 -r 1.5.2.60 src/gtk/gtkutils.c;  ) > 2.10.0cvs37.patchset
index d8c49afc500c7e4dc4e07398d2ef0ce62a2cc410..efd3e3f08bb3b2e0339105336628335e856699b5 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=10
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=36
+EXTRA_VERSION=37
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index acc0eabcb984e0bd69ea4fad50b1c9152bdecf7b..13b3e12b1164022cd52664d41d313a3c9d8f31c1 100644 (file)
@@ -757,7 +757,7 @@ void gtkut_window_popup(GtkWidget *window)
                gdk_window_move(window->window, new_x, new_y);
 
        gtk_window_set_skip_taskbar_hint(GTK_WINDOW(window), FALSE);
-       gtk_window_present(GTK_WINDOW(window));
+       gtk_window_present_with_time(GTK_WINDOW(window), time(NULL));
 }
 
 void gtkut_widget_get_uposition(GtkWidget *widget, gint *px, gint *py)
index ffd4b075e513bf7ec1903f93c0aa2fc965a530a4..29cdc69ca285d54f3602ef92364d464f0de91a75 100644 (file)
@@ -958,8 +958,10 @@ void messageview_destroy(MessageView *messageview)
        if (messageview->mainwin->summaryview->messageview == messageview)
                messageview->mainwin->summaryview->messageview = NULL;
 
-       if (messageview->mainwin->summaryview->ext_messageview == messageview)
-               messageview->mainwin->summaryview->ext_messageview = NULL;
+       if (messageview->mainwin->summaryview->ext_messageview == messageview) {
+               gtk_widget_hide(messageview->window);
+               return;
+       }
 
        if (!messageview->deferred_destroy) {
                hooks_unregister_hook(MSGINFO_UPDATE_HOOKLIST,