From: mishas Date: Fri, 11 May 2007 13:24:19 +0000 (+0000) Subject: set active item if found in the list X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=6a22295b5963c0f1a51e6f3f1231daf1996bb0ec;hp=085e94c17a208a177ff39ac60ec9eef4a641d4cb;p=simple-launcher set active item if found in the list git-svn-id: file:///svnroot/simple-launcher/trunk@204 3ba93dab-e023-0410-b42a-de7732cf370a --- diff --git a/dialog-entry.cc b/dialog-entry.cc index 2d8ea5d..9b37144 100644 --- a/dialog-entry.cc +++ b/dialog-entry.cc @@ -70,6 +70,10 @@ SettingsDialogIconSizeEntry::SettingsDialogIconSizeEntry(GConfIntegerOption& opt active = i; } } + + if (active != -1) { + gtk_combo_box_set_active(GTK_COMBO_BOX(myWidget), active); + } } void SettingsDialogIconSizeEntry::updateValue() {