[Commits] pluginwindow.c 1.5.2.63 1.5.2.64 prefswindow.c 1.12.2.61 1.12.2.62
ticho at claws-mail.org
ticho at claws-mail.org
Sat Jul 28 03:07:52 CEST 2012
Update of /home/claws-mail/claws/src/gtk
In directory srv:/tmp/cvs-serv20980/src/gtk
Modified Files:
Tag: gtk2
pluginwindow.c prefswindow.c
Log Message:
2012-07-28 [ticho] 3.8.1cvs23
* src/gtk/pluginwindow.c
* src/gtk/prefswindow.c
Fixed setting "transient for" property for plugin load/unload
file dialog. Connected manage_window signals to prefswindow events.
Index: pluginwindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/pluginwindow.c,v
retrieving revision 1.5.2.63
retrieving revision 1.5.2.64
diff -u -d -r1.5.2.63 -r1.5.2.64
--- pluginwindow.c 7 Jul 2012 07:09:35 -0000 1.5.2.63
+++ pluginwindow.c 28 Jul 2012 01:07:50 -0000 1.5.2.64
@@ -409,6 +409,7 @@
G_CALLBACK(pluginwindow_key_pressed), pluginwindow);
g_signal_connect(G_OBJECT(window), "delete_event",
G_CALLBACK(pluginwindow_delete_cb), pluginwindow);
+ MANAGE_WINDOW_SIGNALS_CONNECT(window);
CLAWS_SET_TIP(load_btn,
_("Click here to load one or more plugins"));
Index: prefswindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/prefswindow.c,v
retrieving revision 1.12.2.61
retrieving revision 1.12.2.62
diff -u -d -r1.12.2.61 -r1.12.2.62
--- prefswindow.c 25 Jul 2012 18:51:44 -0000 1.12.2.61
+++ prefswindow.c 28 Jul 2012 01:07:50 -0000 1.12.2.62
@@ -572,12 +572,14 @@
G_CALLBACK(prefswindow_key_pressed), &(prefswindow->window));
#endif
- /* connect to callback only if we hhave non-NULL pointers to store size to */
+ /* connect to callback only if we have non-NULL pointers to store size to */
if (prefswindow->save_width && prefswindow->save_height) {
g_signal_connect(G_OBJECT(prefswindow->window), "size_allocate",
G_CALLBACK(prefs_size_allocate_cb), prefswindow);
}
+ MANAGE_WINDOW_SIGNALS_CONNECT(prefswindow->window);
+
if (!geometry.min_height) {
if (x < 800 && y < 600) {
@@ -606,8 +608,6 @@
GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1));
gtk_adjustment_set_value(adj, gtk_adjustment_get_lower(adj));
gtk_adjustment_changed(adj);
-
- manage_window_focus_in(prefswindow->window, NULL, NULL);
}
void prefswindow_open(const gchar *title, GSList *prefs_pages, gpointer data,
More information about the Commits
mailing list