comparison src/buddy.c @ 4985:088566495617

[gaim-migrate @ 5320] Removed a pair of options ("remember buddy list size and position" and "ignore new messages when away") and made "Show warning levels" and "show idle times" depend on "show buddy icons". Also, brought back the old offline.png status emblem. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 03 Apr 2003 17:41:08 +0000
parents b5e52f7e5302
children 1f92610b0772
comparison
equal deleted inserted replaced
4984:b5e52f7e5302 4985:088566495617
1043 static void gaim_gtk_blist_restore_position() 1043 static void gaim_gtk_blist_restore_position()
1044 { 1044 {
1045 /* if the window exists, is hidden, we're saving positions, and the position is sane... */ 1045 /* if the window exists, is hidden, we're saving positions, and the position is sane... */
1046 if(gtkblist && gtkblist->window && 1046 if(gtkblist && gtkblist->window &&
1047 !GTK_WIDGET_VISIBLE(gtkblist->window) && 1047 !GTK_WIDGET_VISIBLE(gtkblist->window) &&
1048 blist_options & OPT_BLIST_SAVED_WINDOWS &&
1049 blist_pos.width != 0) { 1048 blist_pos.width != 0) {
1050 /* ...check position is on screen... */ 1049 /* ...check position is on screen... */
1051 if (blist_pos.x >= gdk_screen_width()) 1050 if (blist_pos.x >= gdk_screen_width())
1052 blist_pos.x = gdk_screen_width() - 100; 1051 blist_pos.x = gdk_screen_width() - 100;
1053 else if (blist_pos.x < 0) 1052 else if (blist_pos.x < 0)