[Commits] compose.c 1.382.2.605 1.382.2.606
ticho at claws-mail.org
ticho at claws-mail.org
Sat Jul 28 20:13:49 CEST 2012
Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv20235/src
Modified Files:
Tag: gtk2
compose.c
Log Message:
2012-07-28 [ticho] 3.8.1cvs24
* src/compose.c
Properly fix setting "transient for" for attachment properties
dialog when called via popup menu (since we're stealing focus
few lines before, we need to do it directly, not via
manage_window_*).
Index: compose.c
===================================================================
RCS file: /home/claws-mail/claws/src/compose.c,v
retrieving revision 1.382.2.605
retrieving revision 1.382.2.606
diff -u -d -r1.382.2.605 -r1.382.2.606
--- compose.c 27 Jul 2012 17:51:33 -0000 1.382.2.605
+++ compose.c 28 Jul 2012 18:13:46 -0000 1.382.2.606
@@ -6656,9 +6656,10 @@
COMPOSE_FOLLOWUPTO);
gtk_combo_box_set_active(GTK_COMBO_BOX(combo), 0);
- g_signal_connect(G_OBJECT(gtk_bin_get_child(GTK_BIN((combo)))), "grab_focus",
+ g_signal_connect(G_OBJECT(gtk_bin_get_child(GTK_BIN(combo))), "grab_focus",
G_CALLBACK(compose_grab_focus_cb), compose);
gtk_widget_show(combo);
+
gtk_table_attach(GTK_TABLE(compose->header_table), combo, 0, 1,
compose->header_nextrow, compose->header_nextrow+1,
GTK_SHRINK, GTK_FILL, 0, 0);
@@ -8706,7 +8707,8 @@
gtk_window_set_modal(GTK_WINDOW(attach_prop.window), TRUE);
gtk_widget_grab_focus(attach_prop.ok_btn);
gtk_widget_show(attach_prop.window);
- manage_window_set_transient(GTK_WINDOW(attach_prop.window));
+ gtk_window_set_transient_for(GTK_WINDOW(attach_prop.window),
+ GTK_WINDOW(compose->window));
optmenu = GTK_COMBO_BOX(attach_prop.encoding_optmenu);
if (ainfo->encoding == ENC_UNKNOWN)
More information about the Commits
mailing list