[Commits] [SCM] claws branch, master, updated. 3.17.4-19-ga2d928a7e

paul at claws-mail.org paul at claws-mail.org
Thu Sep 19 10:50:33 CET 2019


The branch, master has been updated
       via  a2d928a7e7542c4f5a0ebc2e0de40395ae3c8007 (commit)
      from  279594630c9000a3f9ac4e5a289ed187e02058a4 (commit)

Summary of changes:
 src/addrduplicates.c                    | 1 +
 src/addressadd.c                        | 1 +
 src/addressbook.c                       | 1 +
 src/addressbook_foldersel.c             | 1 +
 src/addrgather.c                        | 1 +
 src/compose.c                           | 2 ++
 src/crash.c                             | 1 +
 src/editaddress.c                       | 1 +
 src/editbook.c                          | 1 +
 src/editgroup.c                         | 1 +
 src/editldap.c                          | 1 +
 src/editldap_basedn.c                   | 1 +
 src/edittags.c                          | 1 +
 src/editvcard.c                         | 1 +
 src/exphtmldlg.c                        | 1 +
 src/expldifdlg.c                        | 1 +
 src/export.c                            | 1 +
 src/foldersel.c                         | 1 +
 src/gtk/about.c                         | 1 +
 src/gtk/description_window.c            | 1 +
 src/gtk/foldersort.c                    | 1 +
 src/gtk/icon_legend.c                   | 1 +
 src/gtk/logwindow.c                     | 1 +
 src/gtk/pluginwindow.c                  | 1 +
 src/gtk/prefswindow.c                   | 1 +
 src/import.c                            | 1 +
 src/importldif.c                        | 1 +
 src/importmutt.c                        | 1 +
 src/importpine.c                        | 1 +
 src/message_search.c                    | 1 +
 src/messageview.c                       | 1 +
 src/plugins/att_remover/att_remover.c   | 1 +
 src/plugins/managesieve/sieve_manager.c | 1 +
 src/plugins/pgpcore/passphrase.c        | 1 +
 src/plugins/pgpcore/select-keys.c       | 1 +
 src/prefs_actions.c                     | 1 +
 src/prefs_customheader.c                | 1 +
 src/prefs_display_header.c              | 1 +
 src/prefs_filtering.c                   | 1 +
 src/prefs_filtering_action.c            | 1 +
 src/prefs_folder_column.c               | 1 +
 src/prefs_matcher.c                     | 1 +
 src/prefs_other.c                       | 1 +
 src/prefs_summaries.c                   | 1 +
 src/prefs_summary_column.c              | 1 +
 src/prefs_summary_open.c                | 1 +
 src/prefs_template.c                    | 1 +
 src/prefs_toolbar.c                     | 1 +
 src/printing.c                          | 1 +
 src/sourcewindow.c                      | 1 +
 src/ssl_manager.c                       | 1 +
 src/summary_search.c                    | 1 +
 src/uri_opener.c                        | 1 +
 53 files changed, 54 insertions(+)


- Log -----------------------------------------------------------------
commit a2d928a7e7542c4f5a0ebc2e0de40395ae3c8007
Author: Paul <paul at claws-mail.org>
Date:   Thu Sep 19 11:50:26 2019 +0100

    fix bug 4239, 'Preferences: Text Options Header Display modal is not modal' (sic)
    
    ... and so on

diff --git a/src/addrduplicates.c b/src/addrduplicates.c
index e6f117681..80b83c57d 100644
--- a/src/addrduplicates.c
+++ b/src/addrduplicates.c
@@ -335,6 +335,7 @@ static void present_finder_results(GtkWindow *parent)
 	                 (GCallback)detail_selection_changed, NULL);
 
 	dialog = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "address_dupes_finder");
+	gtk_window_set_type_hint(GTK_WINDOW(dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_transient_for(GTK_WINDOW(dialog),parent);
 	gtk_window_set_modal(GTK_WINDOW(dialog),TRUE);
 	if(!geometry.min_height) {
diff --git a/src/addressadd.c b/src/addressadd.c
index 3370ca77a..f2b985c23 100644
--- a/src/addressadd.c
+++ b/src/addressadd.c
@@ -191,6 +191,7 @@ static void addressadd_create( void ) {
 	gtk_container_set_border_width( GTK_CONTAINER(window), VBOX_BORDER );
 	gtk_window_set_title( GTK_WINDOW(window), _("Add to address book") );
 	gtk_window_set_position( GTK_WINDOW(window), GTK_WIN_POS_MOUSE );
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect( G_OBJECT(window), "delete_event",
 			  G_CALLBACK(addressadd_delete_event), NULL );
 	g_signal_connect( G_OBJECT(window), "key_press_event",
diff --git a/src/addressbook.c b/src/addressbook.c
index bdbf3a8f3..eeba15707 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -919,6 +919,7 @@ static void addressbook_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "addressbook");
 	gtk_window_set_title(GTK_WINDOW(window), _("Address book"));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_realize(window);
 
 	g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/addressbook_foldersel.c b/src/addressbook_foldersel.c
index 14ca696b1..cb8cc54f8 100644
--- a/src/addressbook_foldersel.c
+++ b/src/addressbook_foldersel.c
@@ -157,6 +157,7 @@ static void addressbook_foldersel_create( void )
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title( GTK_WINDOW(window), _("Select Address Book Folder") );
 	gtk_window_set_position( GTK_WINDOW(window), GTK_WIN_POS_MOUSE );
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect( G_OBJECT(window), "delete_event",
 			  G_CALLBACK(addressbook_foldersel_delete_event), NULL );
 	g_signal_connect( G_OBJECT(window), "key_press_event",
diff --git a/src/addrgather.c b/src/addrgather.c
index 9c8f97a04..52313d73c 100644
--- a/src/addrgather.c
+++ b/src/addrgather.c
@@ -527,6 +527,7 @@ static void addrgather_dlg_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 4);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(addrgather_dlg_delete_event), NULL);
diff --git a/src/compose.c b/src/compose.c
index 51460d5d7..75166b118 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -7773,6 +7773,7 @@ static Compose *compose_create(PrefsAccount *account,
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "compose");
 
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request(window, prefs_common.compose_width,
 					prefs_common.compose_height);
 
@@ -9454,6 +9455,7 @@ static void compose_attach_property_create(gboolean *cancelled)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_window_set_title(GTK_WINDOW(window), _("Properties"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(attach_property_delete_event),
 			 cancelled);
diff --git a/src/crash.c b/src/crash.c
index 4a5fcc944..52dc9f938 100644
--- a/src/crash.c
+++ b/src/crash.c
@@ -185,6 +185,7 @@ static GtkWidget *crash_dialog_show(const gchar *text, const gchar *debug_output
 	gtk_container_set_border_width(GTK_CONTAINER(window1), 5);
 	gtk_window_set_title(GTK_WINDOW(window1), _("Claws Mail has crashed"));
 	gtk_window_set_position(GTK_WINDOW(window1), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window1), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_modal(GTK_WINDOW(window1), TRUE);
 	gtk_window_set_default_size(GTK_WINDOW(window1), 460, 272);
 
diff --git a/src/editaddress.c b/src/editaddress.c
index 675aa7ca0..0dc34d5cc 100644
--- a/src/editaddress.c
+++ b/src/editaddress.c
@@ -851,6 +851,7 @@ static void addressbook_edit_person_dialog_create( gboolean *cancelled ) {
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit Person Data"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_modal(GTK_WINDOW(window), FALSE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_person_delete_event),
 			 cancelled);
diff --git a/src/editbook.c b/src/editbook.c
index cc66fe13d..e36360d2e 100644
--- a/src/editbook.c
+++ b/src/editbook.c
@@ -148,6 +148,7 @@ static void addressbook_edit_book_create( gboolean *cancelled ) {
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit Addressbook"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_book_delete_event),
 			 cancelled);
diff --git a/src/editgroup.c b/src/editgroup.c
index 6571296de..c1c96c36b 100644
--- a/src/editgroup.c
+++ b/src/editgroup.c
@@ -295,6 +295,7 @@ static void addressbook_edit_group_create( gboolean *cancelled ) {
 	gtk_container_set_border_width(GTK_CONTAINER(window), 0);
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit Group Data"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_group_delete_event),
 			 cancelled);
diff --git a/src/editldap.c b/src/editldap.c
index 8b5cf7c3c..c6651adfd 100644
--- a/src/editldap.c
+++ b/src/editldap.c
@@ -334,6 +334,7 @@ static void addressbook_edit_ldap_dialog_create( gboolean *cancelled ) {
 	gtk_container_set_border_width(GTK_CONTAINER(window), 0);
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit LDAP Server"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_ldap_delete_event),
 			 cancelled);
diff --git a/src/editldap_basedn.c b/src/editldap_basedn.c
index 295b17298..44587cbbf 100644
--- a/src/editldap_basedn.c
+++ b/src/editldap_basedn.c
@@ -152,6 +152,7 @@ static void edit_ldap_bdn_create(void) {
 	gtk_container_set_border_width(GTK_CONTAINER(window), 0);
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit LDAP - Select Search Base"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_ldap_bdn_delete_event), NULL );
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/edittags.c b/src/edittags.c
index 05c3d8fd0..c53653e66 100644
--- a/src/edittags.c
+++ b/src/edittags.c
@@ -552,6 +552,7 @@ static void apply_window_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(apply_window_close_cb), NULL);
 	g_signal_connect(G_OBJECT(window), "size_allocate",
diff --git a/src/editvcard.c b/src/editvcard.c
index 6911a8c0e..115e40a32 100644
--- a/src/editvcard.c
+++ b/src/editvcard.c
@@ -151,6 +151,7 @@ static void addressbook_edit_vcard_create( gboolean *cancelled ) {
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title(GTK_WINDOW(window), _("Edit vCard Entry"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(edit_vcard_delete_event),
 			 cancelled);
diff --git a/src/exphtmldlg.c b/src/exphtmldlg.c
index 4643524f3..e6c4def96 100644
--- a/src/exphtmldlg.c
+++ b/src/exphtmldlg.c
@@ -590,6 +590,7 @@ static void export_html_dialog_create( void ) {
 	gtk_window_set_title( GTK_WINDOW(window),
 		_("Export Address Book to HTML File") );
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(export_html_delete_event),
 			 NULL );
diff --git a/src/expldifdlg.c b/src/expldifdlg.c
index 54ef3bbbb..0b3e5dfb3 100644
--- a/src/expldifdlg.c
+++ b/src/expldifdlg.c
@@ -654,6 +654,7 @@ static void export_ldif_dialog_create( void ) {
 	gtk_window_set_title( GTK_WINDOW(window),
 		_("Export Address Book to LDIF File") );
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(export_ldif_delete_event),
 			 NULL );
diff --git a/src/export.c b/src/export.c
index 4413e5485..25e8ef258 100644
--- a/src/export.c
+++ b/src/export.c
@@ -114,6 +114,7 @@ static void export_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 5);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(delete_event), NULL);
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/foldersel.c b/src/foldersel.c
index 8ea473b55..27d446945 100644
--- a/src/foldersel.c
+++ b/src/foldersel.c
@@ -250,6 +250,7 @@ static void foldersel_create(const gchar *title)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 4);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	gtk_widget_realize(window);
 	g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/gtk/about.c b/src/gtk/about.c
index 7596bd15e..b613d2c1e 100644
--- a/src/gtk/about.c
+++ b/src/gtk/about.c
@@ -791,6 +791,7 @@ static void about_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "about");
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER_ALWAYS);
 	gtk_window_set_title(GTK_WINDOW(window), _("About Claws Mail"));
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_widget_set_size_request(window, -1, -1);
 	g_signal_connect(G_OBJECT(window), "size_allocate",
diff --git a/src/gtk/description_window.c b/src/gtk/description_window.c
index f7b8ebc0b..31dea2af3 100644
--- a/src/gtk/description_window.c
+++ b/src/gtk/description_window.c
@@ -86,6 +86,7 @@ static void description_create(DescriptionWindow * dwindow)
 			     gettext(dwindow->title));
 	gtk_container_set_border_width(GTK_CONTAINER(dwindow->window), 8);
 	gtk_window_set_resizable(GTK_WINDOW(dwindow->window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(dwindow->window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	/* Check number of lines to be show */
 	sz = 0;
diff --git a/src/gtk/foldersort.c b/src/gtk/foldersort.c
index 12bcf1d0b..d6ff428b0 100644
--- a/src/gtk/foldersort.c
+++ b/src/gtk/foldersort.c
@@ -240,6 +240,7 @@ void foldersort_open()
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_title(GTK_WINDOW(window), _("Set mailbox order"));
 	gtk_window_set_modal(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(delete_event), dialog);
 	g_signal_connect (G_OBJECT(window), "size_allocate",
diff --git a/src/gtk/icon_legend.c b/src/gtk/icon_legend.c
index 755c2258f..2a5f6dfcc 100644
--- a/src/gtk/icon_legend.c
+++ b/src/gtk/icon_legend.c
@@ -127,6 +127,7 @@ static void legend_create(void)
 	gtk_window_set_title(GTK_WINDOW(window), _("Icon Legend"));
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_default_size(GTK_WINDOW(window), 666, 340);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(legend_close), NULL);
diff --git a/src/gtk/logwindow.c b/src/gtk/logwindow.c
index e7c763fa4..c88dfd98c 100644
--- a/src/gtk/logwindow.c
+++ b/src/gtk/logwindow.c
@@ -95,6 +95,7 @@ LogWindow *log_window_create(LogInstance instance)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "logwindow");
 	gtk_window_set_title(GTK_WINDOW(window), get_log_title(instance));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(gtk_widget_hide_on_delete), NULL);
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/gtk/pluginwindow.c b/src/gtk/pluginwindow.c
index b3e57fd9e..1adbf7aea 100644
--- a/src/gtk/pluginwindow.c
+++ b/src/gtk/pluginwindow.c
@@ -302,6 +302,7 @@ void pluginwindow_create()
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_window_set_title(GTK_WINDOW(window), _("Plugins"));
 	gtk_window_set_modal(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	manage_window_set_transient(GTK_WINDOW(window));
 
 	vbox1 = gtk_vbox_new(FALSE, 4);
diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index 99f6362df..e98d30acb 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -428,6 +428,7 @@ void prefswindow_open_full(const gchar *title, GSList *prefs_pages,
 	gtk_window_set_position (GTK_WINDOW(prefswindow->window), GTK_WIN_POS_CENTER);
 	gtk_window_set_modal (GTK_WINDOW (prefswindow->window), TRUE);
 	gtk_window_set_resizable (GTK_WINDOW(prefswindow->window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(prefswindow->window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_transient_for (GTK_WINDOW(prefswindow->window),
 			GTK_WINDOW(mainwindow_get_mainwindow()->window));
 	gtk_container_set_border_width(GTK_CONTAINER(prefswindow->window), 4);
diff --git a/src/import.c b/src/import.c
index e6b2f3179..ec458e1fa 100644
--- a/src/import.c
+++ b/src/import.c
@@ -114,6 +114,7 @@ static void import_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 5);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(delete_event), NULL);
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/importldif.c b/src/importldif.c
index 91bf665d5..5b523f425 100644
--- a/src/importldif.c
+++ b/src/importldif.c
@@ -901,6 +901,7 @@ static void imp_ldif_dialog_create() {
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title( GTK_WINDOW(window), _("Import LDIF file into Address Book") );
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(imp_ldif_delete_event),
 			 NULL );
diff --git a/src/importmutt.c b/src/importmutt.c
index 4b4b2a4a5..967b74ba4 100644
--- a/src/importmutt.c
+++ b/src/importmutt.c
@@ -202,6 +202,7 @@ static void imp_mutt_create( gboolean *cancelled ) {
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title( GTK_WINDOW(window), _("Import MUTT file into Address Book") );
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(imp_mutt_delete_event), cancelled);
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/importpine.c b/src/importpine.c
index 41d91cf42..21fe27de6 100644
--- a/src/importpine.c
+++ b/src/importpine.c
@@ -201,6 +201,7 @@ static void imp_pine_create( gboolean *cancelled ) {
 	gtk_container_set_border_width( GTK_CONTAINER(window), 0 );
 	gtk_window_set_title( GTK_WINDOW(window), _("Import Pine file into Address Book") );
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(imp_pine_delete_event), cancelled);
 	g_signal_connect(G_OBJECT(window), "key_press_event",
diff --git a/src/message_search.c b/src/message_search.c
index e73fe8707..fab403bea 100644
--- a/src/message_search.c
+++ b/src/message_search.c
@@ -173,6 +173,7 @@ static void message_search_create(void)
 			      _("Find in current message"));
 	gtk_widget_set_size_request (window, 450, -1);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(gtk_widget_hide_on_delete), NULL);
diff --git a/src/messageview.c b/src/messageview.c
index 2f7a8289f..d44127757 100644
--- a/src/messageview.c
+++ b/src/messageview.c
@@ -714,6 +714,7 @@ static MessageView *messageview_create_with_new_window_visible(MainWindow *mainw
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "messageview");
 	gtk_window_set_title(GTK_WINDOW(window), _("Claws Mail - Message View"));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	if (!geometry.min_height) {
 		geometry.min_width = 320;
diff --git a/src/plugins/att_remover/att_remover.c b/src/plugins/att_remover/att_remover.c
index 65e6778bd..f98e0d8d1 100644
--- a/src/plugins/att_remover/att_remover.c
+++ b/src/plugins/att_remover/att_remover.c
@@ -336,6 +336,7 @@ static void remove_attachments_dialog(AttRemover *attremover)
 	gtk_container_set_border_width( GTK_CONTAINER(window), VBOX_BORDER);
 	gtk_window_set_title(GTK_WINDOW(window), _("Remove attachments"));
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_modal(GTK_WINDOW(window), TRUE);
 
 	g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/plugins/managesieve/sieve_manager.c b/src/plugins/managesieve/sieve_manager.c
index c33870650..a71abc406 100644
--- a/src/plugins/managesieve/sieve_manager.c
+++ b/src/plugins/managesieve/sieve_manager.c
@@ -661,6 +661,7 @@ static SieveManagerPage *sieve_manager_page_new()
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "sievemanager");
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_title (GTK_WINDOW (window), _("Manage Sieve Filters"));
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	MANAGE_WINDOW_SIGNALS_CONNECT (window);
 
 	g_signal_connect (G_OBJECT (window), "key_press_event",
diff --git a/src/plugins/pgpcore/passphrase.c b/src/plugins/pgpcore/passphrase.c
index 3eff7082e..781728b1c 100644
--- a/src/plugins/pgpcore/passphrase.c
+++ b/src/plugins/pgpcore/passphrase.c
@@ -86,6 +86,7 @@ passphrase_mbox(const gchar *uid_hint, const gchar *pass_hint, gint prev_bad, gi
     gtk_window_set_default_size(GTK_WINDOW(window), 375, 100);
     gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
     gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+    gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
     gtk_window_set_modal(GTK_WINDOW(window), TRUE);
     g_signal_connect(G_OBJECT(window), "delete_event",
                      G_CALLBACK(passphrase_deleted), NULL);
diff --git a/src/plugins/pgpcore/select-keys.c b/src/plugins/pgpcore/select-keys.c
index 8002a0315..cb9cb7847 100644
--- a/src/plugins/pgpcore/select-keys.c
+++ b/src/plugins/pgpcore/select-keys.c
@@ -407,6 +407,7 @@ create_dialog (struct select_keys_s *sk)
     gtk_container_set_border_width (GTK_CONTAINER (window), 8);
     gtk_window_set_title (GTK_WINDOW (window), _("Select Keys"));
     gtk_window_set_modal (GTK_WINDOW (window), TRUE);
+    gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
     g_signal_connect (G_OBJECT (window), "delete_event",
                       G_CALLBACK (delete_event_cb), sk);
     g_signal_connect (G_OBJECT (window), "key_press_event",
diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index 25e0b4d10..4b07b7e9e 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -208,6 +208,7 @@ static void prefs_actions_create(MainWindow *mainwin)
 	gtk_container_set_border_width(GTK_CONTAINER (window), 8);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new(FALSE, 6);
 	gtk_widget_show(vbox);
diff --git a/src/prefs_customheader.c b/src/prefs_customheader.c
index 1fa787fd1..c60328bfb 100644
--- a/src/prefs_customheader.c
+++ b/src/prefs_customheader.c
@@ -169,6 +169,7 @@ static void prefs_custom_header_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new (FALSE, 6);
 	gtk_widget_show (vbox);
diff --git a/src/prefs_display_header.c b/src/prefs_display_header.c
index 10cbe84e6..f179d0ddc 100644
--- a/src/prefs_display_header.c
+++ b/src/prefs_display_header.c
@@ -233,6 +233,7 @@ static void prefs_display_header_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new (FALSE, 6);
 	gtk_widget_show (vbox);
diff --git a/src/prefs_filtering.c b/src/prefs_filtering.c
index 8db88598b..d1104e976 100644
--- a/src/prefs_filtering.c
+++ b/src/prefs_filtering.c
@@ -342,6 +342,7 @@ static void prefs_filtering_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new (FALSE, 6);
 	gtk_widget_show (vbox);
diff --git a/src/prefs_filtering_action.c b/src/prefs_filtering_action.c
index 5dc58db9d..9e7a04e01 100644
--- a/src/prefs_filtering_action.c
+++ b/src/prefs_filtering_action.c
@@ -385,6 +385,7 @@ static void prefs_filtering_action_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), VBOX_BORDER);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new(FALSE, 6);
 	gtk_container_add(GTK_CONTAINER(window), vbox);
diff --git a/src/prefs_folder_column.c b/src/prefs_folder_column.c
index 4ef90f5ea..0261934b0 100644
--- a/src/prefs_folder_column.c
+++ b/src/prefs_folder_column.c
@@ -207,6 +207,7 @@ static void prefs_folder_column_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_title(GTK_WINDOW(window),
 			     _("Folder list columns configuration"));
 	g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/prefs_matcher.c b/src/prefs_matcher.c
index 78cbf7aa0..830df350c 100644
--- a/src/prefs_matcher.c
+++ b/src/prefs_matcher.c
@@ -566,6 +566,7 @@ static void prefs_matcher_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "prefs_matcher");
 	gtk_container_set_border_width(GTK_CONTAINER(window), 4);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new(FALSE, 6);
 	gtk_container_add(GTK_CONTAINER(window), vbox);
diff --git a/src/prefs_other.c b/src/prefs_other.c
index ead5f9c35..30c18b9ee 100644
--- a/src/prefs_other.c
+++ b/src/prefs_other.c
@@ -110,6 +110,7 @@ static void prefs_keybind_select(void)
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_modal (GTK_WINDOW (window), TRUE);
 	gtk_window_set_resizable(GTK_WINDOW (window), FALSE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	manage_window_set_transient (GTK_WINDOW (window));
 
 	vbox1 = gtk_vbox_new (FALSE, VSPACING);
diff --git a/src/prefs_summaries.c b/src/prefs_summaries.c
index cb2a5d81b..2ffe1dbc5 100644
--- a/src/prefs_summaries.c
+++ b/src/prefs_summaries.c
@@ -204,6 +204,7 @@ static GtkWidget *date_format_create(GtkButton *button, void *data)
 	gtk_container_set_border_width(GTK_CONTAINER(datefmt_win), 8);
 	gtk_window_set_title(GTK_WINDOW(datefmt_win), _("Date format"));
 	gtk_window_set_position(GTK_WINDOW(datefmt_win), GTK_WIN_POS_CENTER);
+	gtk_window_set_type_hint(GTK_WINDOW(datefmt_win), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request(datefmt_win, 440, 280);
 
 	vbox1 = gtk_vbox_new(FALSE, 10);
diff --git a/src/prefs_summary_column.c b/src/prefs_summary_column.c
index fea0ac7cd..11ac67df5 100644
--- a/src/prefs_summary_column.c
+++ b/src/prefs_summary_column.c
@@ -221,6 +221,7 @@ static void prefs_summary_column_create(void)
 	gtk_container_set_border_width(GTK_CONTAINER(window), 8);
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), FALSE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_title(GTK_WINDOW(window),
 			     _("Message list columns configuration"));
 	g_signal_connect(G_OBJECT(window), "delete_event",
diff --git a/src/prefs_summary_open.c b/src/prefs_summary_open.c
index b9e6b824d..a0072d5fc 100644
--- a/src/prefs_summary_open.c
+++ b/src/prefs_summary_open.c
@@ -167,6 +167,7 @@ static void prefs_summary_open_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request (GTK_WIDGET (window), 610, 310);
 
 	vbox = gtk_vbox_new (FALSE, 6);
diff --git a/src/prefs_template.c b/src/prefs_template.c
index df28235e9..26683669e 100644
--- a/src/prefs_template.c
+++ b/src/prefs_template.c
@@ -194,6 +194,7 @@ static void prefs_template_window_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "prefs_template");
 	gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 
 	vbox = gtk_vbox_new(FALSE, 8);
 	gtk_widget_show(vbox);
diff --git a/src/prefs_toolbar.c b/src/prefs_toolbar.c
index cc7e7f92a..12bbb8382 100644
--- a/src/prefs_toolbar.c
+++ b/src/prefs_toolbar.c
@@ -1699,6 +1699,7 @@ static void icon_chooser_create(GtkButton *button, ToolbarPage *prefs_toolbar)
 	x -= 300-50;
 	gtk_window_move(GTK_WINDOW(icon_chooser_win), x, y);
 	gtk_window_set_resizable(GTK_WINDOW(icon_chooser_win), FALSE);
+	gtk_window_set_type_hint(GTK_WINDOW(icon_chooser_win), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request(icon_chooser_win, 300, 320);
 
 	scrollwin = gtk_scrolled_window_new(NULL, NULL);
diff --git a/src/printing.c b/src/printing.c
index 1fa5cb72b..ae3cd15ef 100644
--- a/src/printing.c
+++ b/src/printing.c
@@ -423,6 +423,7 @@ static gboolean cb_preview(GtkPrintOperation        *operation,
 		geometry.min_width = 600;
 		geometry.min_height = 400;
 	}
+	gtk_window_set_type_hint(GTK_WINDOW(dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_window_set_geometry_hints(GTK_WINDOW(dialog), NULL, &geometry,
 				      GDK_HINT_MIN_SIZE);
 	gtk_widget_set_size_request(dialog, prefs_common.print_previewwin_width,
diff --git a/src/sourcewindow.c b/src/sourcewindow.c
index 4e9a89fe2..f188c0fb6 100644
--- a/src/sourcewindow.c
+++ b/src/sourcewindow.c
@@ -64,6 +64,7 @@ SourceWindow *source_window_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "sourcewindow");
 	gtk_window_set_title(GTK_WINDOW(window), _("Source of the message"));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_widget_set_size_request(window, prefs_common.sourcewin_width,
 				    prefs_common.sourcewin_height);
 	
diff --git a/src/ssl_manager.c b/src/ssl_manager.c
index 0735b2dbb..884a0225f 100644
--- a/src/ssl_manager.c
+++ b/src/ssl_manager.c
@@ -197,6 +197,7 @@ void ssl_manager_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(ssl_manager_close_cb), NULL);
 	g_signal_connect(G_OBJECT(window), "size_allocate",
diff --git a/src/summary_search.c b/src/summary_search.c
index 3f1c84656..c282f9a20 100644
--- a/src/summary_search.c
+++ b/src/summary_search.c
@@ -289,6 +289,7 @@ static void summary_search_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "summary_search");
 	gtk_window_set_title(GTK_WINDOW (window), _("Search messages"));
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	gtk_container_set_border_width(GTK_CONTAINER (window), 8);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(gtk_widget_hide_on_delete), NULL);
diff --git a/src/uri_opener.c b/src/uri_opener.c
index 99d34e54b..4b2506fff 100644
--- a/src/uri_opener.c
+++ b/src/uri_opener.c
@@ -191,6 +191,7 @@ static void uri_opener_create(void)
 	gtk_container_set_border_width (GTK_CONTAINER (window), 8);
 	gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
 	gtk_window_set_resizable(GTK_WINDOW (window), TRUE);
+	gtk_window_set_type_hint(GTK_WINDOW(window), GDK_WINDOW_TYPE_HINT_DIALOG);
 	g_signal_connect(G_OBJECT(window), "delete_event",
 			 G_CALLBACK(uri_opener_close_cb), NULL);
 	g_signal_connect (G_OBJECT(window), "size_allocate",

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list