[Commits] [SCM] claws branch, master, updated. 3.11.1-196-g951a0fe

ticho at claws-mail.org ticho at claws-mail.org
Wed Jul 8 17:40:11 CEST 2015


The branch, master has been updated
       via  951a0fe24cfbc9be5f7c31ec0eee09a58759409a (commit)
      from  d094dae1240af8aac8266abbbc597f790142cd1f (commit)

Summary of changes:
 src/prefs_filtering_action.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 951a0fe24cfbc9be5f7c31ec0eee09a58759409a
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Jul 8 17:37:44 2015 +0200

    Fix filtering action configuration dialog modality on Windows.
    
    First set transient_for, then show dialog, then set modal,
    just like other dialogs.

diff --git a/src/prefs_filtering_action.c b/src/prefs_filtering_action.c
index 92bc5b5..3481776 100644
--- a/src/prefs_filtering_action.c
+++ b/src/prefs_filtering_action.c
@@ -300,6 +300,7 @@ void prefs_filtering_action_open(GSList *action_list,
 	prefs_filtering_action_set_dialog(action_list);
 
 	gtk_widget_show(filtering_action.window);
+	gtk_window_set_modal(GTK_WINDOW(filtering_action.window), TRUE);
 }
 
 /*!
@@ -393,7 +394,6 @@ static void prefs_filtering_action_create(void)
 	window = gtkut_window_new(GTK_WINDOW_TOPLEVEL, "prefs_filtering_action");
 	gtk_container_set_border_width(GTK_CONTAINER(window), VBOX_BORDER);
 	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), TRUE);
 
 	vbox = gtk_vbox_new(FALSE, 6);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list