Mercurial > pidgin.yaz
comparison console/libgnt/gntbox.c @ 13860:c1e3f7c75c3f
[gaim-migrate @ 16321]
Sean suggested displaying a tooltip in the buddylist (http://gaim.sourceforge.net/sean/gntmock.png).
This (http://img157.imageshack.us/img157/1793/q4jb.png) is close.
You can press Escape to hide the tooltip.
I haven't yet managed to refresh widgets when other widgets covering it are destroyed. So
some parts of the border around the buddylist gets erased. I am going to try to fix it.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 23 Jun 2006 19:41:31 +0000 |
parents | 5b288502a382 |
children | c7d84d4c5afa |
comparison
equal
deleted
inserted
replaced
13859:60278852c20c | 13860:c1e3f7c75c3f |
---|---|
265 | 265 |
266 g_list_free(box->list); | 266 g_list_free(box->list); |
267 } | 267 } |
268 | 268 |
269 static void | 269 static void |
270 gnt_box_class_init(GntWidgetClass *klass) | 270 gnt_box_class_init(GntBoxClass *klass) |
271 { | 271 { |
272 GObjectClass *obj_class = G_OBJECT_CLASS(klass); | 272 GObjectClass *obj_class = G_OBJECT_CLASS(klass); |
273 | 273 |
274 parent_class = GNT_WIDGET_CLASS(klass); | 274 parent_class = GNT_WIDGET_CLASS(klass); |
275 parent_class->destroy = gnt_box_destroy; | 275 parent_class->destroy = gnt_box_destroy; |
349 { | 349 { |
350 box->pad = pad; | 350 box->pad = pad; |
351 /* XXX: Perhaps redraw if already showing? */ | 351 /* XXX: Perhaps redraw if already showing? */ |
352 } | 352 } |
353 | 353 |
354 void gnt_box_set_toplevel(GntBox *box, gboolean set) | |
355 { | |
356 GntWidget *widget = GNT_WIDGET(box); | |
357 if (set) | |
358 GNT_WIDGET_UNSET_FLAGS(widget, GNT_WIDGET_NO_BORDER | GNT_WIDGET_NO_SHADOW); | |
359 else | |
360 GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_NO_BORDER | GNT_WIDGET_NO_SHADOW); | |
361 } | |
362 |