comparison console/libgnt/gntwidget.c @ 13916:fdf2dbed6faa

[gaim-migrate @ 16418] Make the conversation windows bigger ... which is better *wink*. Use Panel library to manage the windows. Add a window-list that you can use to quickly switch to a window (press Alt+w to bring it up). Get rid of some unused codes. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 04 Jul 2006 01:32:39 +0000
parents cc60d0861337
children 9309d27d780c
comparison
equal deleted inserted replaced
13915:e78d113f82db 13916:fdf2dbed6faa
324 gnt_widget_set_position(GntWidget *wid, int x, int y) 324 gnt_widget_set_position(GntWidget *wid, int x, int y)
325 { 325 {
326 /* XXX: Need to install properties for these and g_object_notify */ 326 /* XXX: Need to install properties for these and g_object_notify */
327 wid->priv.x = x; 327 wid->priv.x = x;
328 wid->priv.y = y; 328 wid->priv.y = y;
329
330 /* XXX: I am supposed to move_panel ... but that seems to crash */
329 if (wid->window) 331 if (wid->window)
330 mvwin(wid->window, y, x); 332 mvwin(wid->window, y, x);
333
331 g_signal_emit(wid, signals[SIG_POSITION], 0, x, y); 334 g_signal_emit(wid, signals[SIG_POSITION], 0, x, y);
332 } 335 }
333 336
334 void 337 void
335 gnt_widget_get_position(GntWidget *wid, int *x, int *y) 338 gnt_widget_get_position(GntWidget *wid, int *x, int *y)