comparison console/libgnt/test/combo.c @ 14059:2d1b41e3cf0d

[gaim-migrate @ 16674] Add a way to change some preferences (the preferences for the conversations do not do anything yet). I used the request-api for this, which I think is cool. But too many preferences will make the dialog long, which may not fit in the screen. It looks alright for now though. You can pop the dialog up with "/prefs" command in a converastion. And some other minor fixes. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 09 Aug 2006 03:41:45 +0000
parents c5bfede33622
children
comparison
equal deleted inserted replaced
14058:32a71e64ceae 14059:2d1b41e3cf0d
48 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "6", "6"); 48 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "6", "6");
49 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "7", "7"); 49 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "7", "7");
50 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "8", "8"); 50 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "8", "8");
51 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "9", "9"); 51 gnt_combo_box_add_data(GNT_COMBO_BOX(combo), "9", "9");
52 52
53 gnt_box_add_widget(GNT_BOX(hbox), gnt_label_new("Select")); 53 GntWidget *l = gnt_label_new("Select");
54 gnt_box_add_widget(GNT_BOX(hbox), l);
55 gnt_widget_set_size(l, 0, 1);
54 gnt_box_add_widget(GNT_BOX(hbox), combo); 56 gnt_box_add_widget(GNT_BOX(hbox), combo);
55 57
56 gnt_box_add_widget(GNT_BOX(box), hbox); 58 gnt_box_add_widget(GNT_BOX(box), hbox);
57 59
58 hbox = gnt_box_new(TRUE, FALSE); 60 hbox = gnt_box_new(TRUE, FALSE);