# HG changeset patch # User Mark Doliner # Date 1139442806 0 # Node ID 3426bc61bb8b7ee7625df1c4f7280ad417f49734 # Parent ad7aa4aa753bca914f031b5775ca4d2a404eba4e [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 diff -r ad7aa4aa753b -r 3426bc61bb8b src/gtksavedstatuses.c --- 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);