Mercurial > pidgin.yaz
comparison console/libgnt/gntcombobox.c @ 14062:fa8f65cd912c
[gaim-migrate @ 16681]
You can now add buddies or groups in the buddylist from the context-menu
for a group. Adding chats is not yet possible.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 09 Aug 2006 17:22:55 +0000 |
parents | c5bfede33622 |
children | ae4cbed1b309 |
comparison
equal
deleted
inserted
replaced
14061:eb58c6169e6c | 14062:fa8f65cd912c |
---|---|
72 } | 72 } |
73 | 73 |
74 static void | 74 static void |
75 gnt_combo_box_size_request(GntWidget *widget) | 75 gnt_combo_box_size_request(GntWidget *widget) |
76 { | 76 { |
77 widget->priv.height = 3; /* For now, a combobox will have border */ | 77 if (!GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_MAPPED)) |
78 widget->priv.width = 15; | 78 { |
79 GntWidget *dd = GNT_COMBO_BOX(widget)->dropdown; | |
80 gnt_widget_size_request(dd); | |
81 widget->priv.height = 3; /* For now, a combobox will have border */ | |
82 widget->priv.width = MIN(10, dd->priv.width); | |
83 } | |
79 } | 84 } |
80 | 85 |
81 static void | 86 static void |
82 gnt_combo_box_map(GntWidget *widget) | 87 gnt_combo_box_map(GntWidget *widget) |
83 { | 88 { |