Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 18460:b91a29987d71
Give Windows users the option of having new conversation windows created minimized. Hopefully this will stop the incessant crying about this. Fixes #664.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 08 Jul 2007 21:23:43 +0000 |
parents | 45865fb3f4f9 |
children | a1dd21cb4c69 d4eebb5c3dbb |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Sun Jul 08 19:59:13 2007 +0000 +++ b/pidgin/gtkconv.c Sun Jul 08 21:23:43 2007 +0000 @@ -8333,6 +8333,9 @@ #ifdef _WIN32 g_signal_connect(G_OBJECT(win->window), "show", G_CALLBACK(winpidgin_ensure_onscreen), win->window); + + if (purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/win32/minimize_new_convs")) + gtk_window_iconify(GTK_WINDOW(win->window)); #endif return win;