im.pidgin.pidgin: 368132d2a2702cfb0e6fcf39ee11a35ca0eceba0
datallah at pidgin.im
datallah at pidgin.im
Tue Dec 4 00:10:39 EST 2007
-----------------------------------------------------------------
Revision: 368132d2a2702cfb0e6fcf39ee11a35ca0eceba0
Ancestor: 6546cfd72ecd9aa76fc524aaf3ac48489aeb2a90
Author: datallah at pidgin.im
Date: 2007-12-04T05:03:49
Branch: im.pidgin.pidgin
Modified files:
pidgin/gtkutils.c
ChangeLog:
Make sure that the buddy icon file chooser dialog appears onscreen on windows. Fixes #4065.
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c 61a55e30a58d19e1b955b24736892376cfcd266b
+++ pidgin/gtkutils.c 10526b7d16d7cef4392b3b5cd1488b8d0fb76b13
@@ -2451,7 +2451,13 @@ GtkWidget *pidgin_buddy_icon_chooser_new
g_signal_connect(G_OBJECT(dialog->icon_filesel), "destroy",
G_CALLBACK(icon_filesel_delete_cb), dialog);
#endif /* FILECHOOSER */
- return dialog->icon_filesel;
+
+#ifdef _WIN32
+ g_signal_connect(G_OBJECT(dialog->icon_filesel), "show",
+ G_CALLBACK(winpidgin_ensure_onscreen), dialog->icon_filesel);
+#endif
+
+ return dialog->icon_filesel;
}
More information about the Commits
mailing list