Mercurial > pidgin.yaz
comparison console/gntblist.c @ 14214:a3f9ebb0babd
[gaim-migrate @ 16895]
Make the gntgaim blist a touch more friendly for 80x24 terminals, by
reducing its default height to 18 and removing a hrule.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 20 Aug 2006 02:13:05 +0000 |
parents | c65ed4f6eea8 |
children | c509b8b8a646 |
comparison
equal
deleted
inserted
replaced
14213:28269422838f | 14214:a3f9ebb0babd |
---|---|
1090 void gg_blist_init() | 1090 void gg_blist_init() |
1091 { | 1091 { |
1092 gaim_prefs_add_none(PREF_ROOT); | 1092 gaim_prefs_add_none(PREF_ROOT); |
1093 gaim_prefs_add_none(PREF_ROOT "/size"); | 1093 gaim_prefs_add_none(PREF_ROOT "/size"); |
1094 gaim_prefs_add_int(PREF_ROOT "/size/width", 20); | 1094 gaim_prefs_add_int(PREF_ROOT "/size/width", 20); |
1095 gaim_prefs_add_int(PREF_ROOT "/size/height", 20); | 1095 gaim_prefs_add_int(PREF_ROOT "/size/height", 18); |
1096 gaim_prefs_add_none(PREF_ROOT "/position"); | 1096 gaim_prefs_add_none(PREF_ROOT "/position"); |
1097 gaim_prefs_add_int(PREF_ROOT "/position/x", 0); | 1097 gaim_prefs_add_int(PREF_ROOT "/position/x", 0); |
1098 gaim_prefs_add_int(PREF_ROOT "/position/y", 0); | 1098 gaim_prefs_add_int(PREF_ROOT "/position/y", 0); |
1099 | 1099 |
1100 gg_blist_show(); | 1100 gg_blist_show(); |
1293 gnt_widget_set_position(ggblist->window, gaim_prefs_get_int(PREF_ROOT "/position/x"), | 1293 gnt_widget_set_position(ggblist->window, gaim_prefs_get_int(PREF_ROOT "/position/x"), |
1294 gaim_prefs_get_int(PREF_ROOT "/position/y")); | 1294 gaim_prefs_get_int(PREF_ROOT "/position/y")); |
1295 | 1295 |
1296 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->tree); | 1296 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->tree); |
1297 | 1297 |
1298 gnt_box_add_widget(GNT_BOX(ggblist->window), gnt_hline_new()); | |
1299 | |
1300 ggblist->status = gnt_combo_box_new(); | 1298 ggblist->status = gnt_combo_box_new(); |
1301 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->status); | 1299 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->status); |
1302 ggblist->statustext = gnt_entry_new(NULL); | 1300 ggblist->statustext = gnt_entry_new(NULL); |
1303 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->statustext); | 1301 gnt_box_add_widget(GNT_BOX(ggblist->window), ggblist->statustext); |
1304 | 1302 |