comparison gtk/gtkprefs.c @ 14574:333989477bcd

[gaim-migrate @ 17298] On win32, ensure that conversation windows are initially put in a sane place (instead of just [0,0]). This can easily be extended to any other problematic windows. I should have done this a long time ago to prevent countless bug reports. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 17 Sep 2006 23:13:55 +0000
parents 01daacf7b771
children 45cdf2cf456c
comparison
equal deleted inserted replaced
14573:9cbf4d3ef444 14574:333989477bcd
47 #include "gtksavedstatuses.h" 47 #include "gtksavedstatuses.h"
48 #include "gtksound.h" 48 #include "gtksound.h"
49 #include "gtkthemes.h" 49 #include "gtkthemes.h"
50 #include "gtkutils.h" 50 #include "gtkutils.h"
51 #include "gaimstock.h" 51 #include "gaimstock.h"
52
53 #ifdef _WIN32
54 # include "gtkwin32dep.h"
55 #endif
56 52
57 #define PROXYHOST 0 53 #define PROXYHOST 0
58 #define PROXYPORT 1 54 #define PROXYPORT 1
59 #define PROXYUSER 2 55 #define PROXYUSER 2
60 #define PROXYPASS 3 56 #define PROXYPASS 3
2078 gaim_prefs_remove("/gaim/gtk/sound/signon"); 2074 gaim_prefs_remove("/gaim/gtk/sound/signon");
2079 gaim_prefs_remove("/gaim/gtk/sound/silent_signon"); 2075 gaim_prefs_remove("/gaim/gtk/sound/silent_signon");
2080 2076
2081 /* Convert old queuing prefs to hide_new 3-way pref. */ 2077 /* Convert old queuing prefs to hide_new 3-way pref. */
2082 if (gaim_prefs_exists("/plugins/gtk/docklet/queue_messages") && 2078 if (gaim_prefs_exists("/plugins/gtk/docklet/queue_messages") &&
2083 gaim_prefs_get_bool("/plugins/gtk/docklet/queue_messages")) 2079 gaim_prefs_get_bool("/plugins/gtk/docklet/queue_messages"))
2084 { 2080 {
2085 gaim_prefs_set_string("/gaim/gtk/conversations/im/hide_new", "always"); 2081 gaim_prefs_set_string("/gaim/gtk/conversations/im/hide_new", "always");
2086 } 2082 }
2087 else if (gaim_prefs_exists("/gaim/gtk/away/queue_messages") && 2083 else if (gaim_prefs_exists("/gaim/gtk/away/queue_messages") &&
2088 gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) 2084 gaim_prefs_get_bool("/gaim/gtk/away/queue_messages"))