Mercurial > pidgin
comparison src/gtksavedstatuses.c @ 13193:3426bc61bb8b
[gaim-migrate @ 15556]
half of sf patch #1414103, from Sadrul Habib Chowdhury
"This patch opens the saved-status dialog with the `Use
different statuses' expanded when it has substatuses."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 08 Feb 2006 23:53:26 +0000 |
parents | 35190e33a785 |
children | 7099a443131d |
comparison
equal
deleted
inserted
replaced
13192:ad7aa4aa753b | 13193:3426bc61bb8b |
---|---|
1179 status_editor_add_columns(dialog); | 1179 status_editor_add_columns(dialog); |
1180 | 1180 |
1181 /* Populate list */ | 1181 /* Populate list */ |
1182 status_editor_populate_list(dialog, saved_status); | 1182 status_editor_populate_list(dialog, saved_status); |
1183 | 1183 |
1184 /* Expand the treeview if we have substatuses */ | |
1185 gtk_expander_set_expanded(GTK_EXPANDER(expander), | |
1186 (saved_status != NULL) && gaim_savedstatus_has_substatuses(saved_status)); | |
1187 | |
1184 /* Button box */ | 1188 /* Button box */ |
1185 bbox = gtk_hbutton_box_new(); | 1189 bbox = gtk_hbutton_box_new(); |
1186 gtk_box_set_spacing(GTK_BOX(bbox), GAIM_HIG_BOX_SPACE); | 1190 gtk_box_set_spacing(GTK_BOX(bbox), GAIM_HIG_BOX_SPACE); |
1187 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); | 1191 gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END); |
1188 gtk_box_pack_end(GTK_BOX(vbox), bbox, FALSE, TRUE, 0); | 1192 gtk_box_pack_end(GTK_BOX(vbox), bbox, FALSE, TRUE, 0); |