pidgin/gtkconv.c

changeset 17185
aee12ae11898
parent 17184
19aafbb84554
child 17214
273095d331c4
child 17219
15256be9cf8b
child 17262
05ece7b80efc
child 18068
b6554e3c8224
equal deleted inserted replaced
17184:19aafbb84554 17185:aee12ae11898
232 return FALSE; 232 return FALSE;
233 233
234 if (gtkconv->auto_resize) { 234 if (gtkconv->auto_resize) {
235 return FALSE; 235 return FALSE;
236 } 236 }
237
238 /* Don't save the window's size if it is maximized.
239 * It is annoying because the window reopens at that size, but not maximized */
240 if (gdk_window_get_state(w->window) & GDK_WINDOW_STATE_MAXIMIZED)
241 return FALSE;
242 237
243 /* I find that I resize the window when it has a bunch of conversations in it, mostly so that the 238 /* I find that I resize the window when it has a bunch of conversations in it, mostly so that the
244 * tab bar will fit, but then I don't want new windows taking up the entire screen. I check to see 239 * tab bar will fit, but then I don't want new windows taking up the entire screen. I check to see
245 * if there is only one conversation in the window. This way we'll be setting new windows to the 240 * if there is only one conversation in the window. This way we'll be setting new windows to the
246 * size of the last resized new window. */ 241 * size of the last resized new window. */

mercurial