Wed, 08 Feb 2006 23:53:26 +0000
[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: Mark Doliner <markdoliner@pidgin.im>
| src/gtksavedstatuses.c | file | annotate | diff | comparison | revisions |
--- a/src/gtksavedstatuses.c Wed Feb 08 23:33:39 2006 +0000 +++ b/src/gtksavedstatuses.c Wed Feb 08 23:53:26 2006 +0000 @@ -1181,6 +1181,10 @@ /* Populate list */ status_editor_populate_list(dialog, saved_status); + /* Expand the treeview if we have substatuses */ + gtk_expander_set_expanded(GTK_EXPANDER(expander), + (saved_status != NULL) && gaim_savedstatus_has_substatuses(saved_status)); + /* Button box */ bbox = gtk_hbutton_box_new(); gtk_box_set_spacing(GTK_BOX(bbox), GAIM_HIG_BOX_SPACE);