2012-07-27 [ticho] 3.8.1cvs21
authorAndrej Kacian <ticho@claws-mail.org>
Fri, 27 Jul 2012 18:25:38 +0000 (18:25 +0000)
committerAndrej Kacian <ticho@claws-mail.org>
Fri, 27 Jul 2012 18:25:38 +0000 (18:25 +0000)
* src/crash.c
* src/mimeview.c
Fix setting "transient for" property for file select dialogs
in crash report and mimeview.

ChangeLog
PATCHSETS
configure.ac
src/crash.c
src/mimeview.c

index 0da45df..6929842 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-07-27 [ticho]     3.8.1cvs21
+
+       * src/crash.c
+       * src/mimeview.c
+               Fix setting "transient for" property for file select dialogs
+               in crash report and mimeview.
+
 2012-07-27 [ticho]     3.8.1cvs20
 
        * src/compose.c
index 0fc422e..df5c857 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.9.2.78 -r 1.9.2.79 src/gtk/gtkaspell.c;  ) > 3.8.1cvs18.patchset
 ( cvs diff -u -r 1.1.2.60 -r 1.1.2.61 manual/advanced.xml;  ) > 3.8.1cvs19.patchset
 ( cvs diff -u -r 1.382.2.604 -r 1.382.2.605 src/compose.c;  ) > 3.8.1cvs20.patchset
+( cvs diff -u -r 1.23.2.38 -r 1.23.2.39 src/crash.c;  cvs diff -u -r 1.83.2.191 -r 1.83.2.192 src/mimeview.c;  ) > 3.8.1cvs21.patchset
index e278e60..a8085db 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=20
+EXTRA_VERSION=21
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index d92a65e..8697ca5 100644 (file)
@@ -53,6 +53,7 @@
 #include "filesel.h"
 #include "version.h"
 #include "prefs_common.h"
+#include "manage_window.h"
 
 /*
  * NOTE: the crash dialog is called when claws is not 
@@ -272,6 +273,8 @@ static GtkWidget *crash_dialog_show(const gchar *text, const gchar *debug_output
        g_signal_connect(G_OBJECT(button5), "clicked",
                         G_CALLBACK(crash_create_bug_report), NULL);
 
+       MANAGE_WINDOW_SIGNALS_CONNECT(window1);
+
        gtk_widget_show(window1);
 
        gtk_main();
index 6c5e335..79eb033 100644 (file)
@@ -55,6 +55,7 @@
 #include "gtk/gtkvscrollbutton.h"
 #include "gtk/logwindow.h"
 #include "timing.h"
+#include "manage_window.h"
 
 #ifdef MAEMO
 #include <libosso.h>
@@ -1893,6 +1894,7 @@ static void mimeview_save_all(MimeView *mimeview)
        else
                startdir = g_strdup(get_home_dir());
 
+       manage_window_focus_in(gtk_widget_get_ancestor(mimeview->hbox, GTK_TYPE_WINDOW), NULL, NULL);
        dirname = filesel_select_file_save_folder(_("Select destination folder"), startdir);
        if (!dirname) {
                g_free(startdir);
@@ -2006,6 +2008,7 @@ static void mimeview_save_as(MimeView *mimeview)
 
        g_free(partname);
 
+       manage_window_focus_in(gtk_widget_get_ancestor(mimeview->hbox, GTK_TYPE_WINDOW), NULL, NULL);
        filename = filesel_select_file_save(_("Save as"), filepath);
        if (!filename) {
                g_free(filepath);