comparison console/libgnt/gntcombobox.c @ 14132:2c85b0f97dd0

[gaim-migrate @ 16774] Add a new custom status dialog, and a corresponding entry in the status-selector in the buddylist. But you cannot set any per-account status yet. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 15 Aug 2006 20:23:58 +0000
parents eaf7f35635bc
children 0387a167f342
comparison
equal deleted inserted replaced
14131:db2311999862 14132:2c85b0f97dd0
77 if (!GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_MAPPED)) 77 if (!GNT_WIDGET_IS_FLAG_SET(widget, GNT_WIDGET_MAPPED))
78 { 78 {
79 GntWidget *dd = GNT_COMBO_BOX(widget)->dropdown; 79 GntWidget *dd = GNT_COMBO_BOX(widget)->dropdown;
80 gnt_widget_size_request(dd); 80 gnt_widget_size_request(dd);
81 widget->priv.height = 3; /* For now, a combobox will have border */ 81 widget->priv.height = 3; /* For now, a combobox will have border */
82 widget->priv.width = MIN(10, dd->priv.width + 4); 82 widget->priv.width = MAX(10, dd->priv.width + 4);
83 } 83 }
84 } 84 }
85 85
86 static void 86 static void
87 gnt_combo_box_map(GntWidget *widget) 87 gnt_combo_box_map(GntWidget *widget)