~unity-team/ubuntu-system-settings/welcome-wizard

« back to all changes in this revision

Viewing changes to plugins/background/MainPage.qml

  • Committer: Michael Terry
  • Date: 2013-12-02 13:32:53 UTC
  • mfrom: (485.1.27 ubuntu-system-settings)
  • Revision ID: michael.terry@canonical.com-20131202133253-pntc3mswpdk3aw05
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
import SystemSettings 1.0
27
27
import Ubuntu.SystemSettings.Background 1.0
28
28
 
29
 
import "utilities.js" as Utilities
30
 
 
31
29
ItemPage {
32
30
    id: mainPage
33
31
    title: i18n.tr("Background")
174
172
 
175
173
        model: [i18n.tr("Same background for both"),
176
174
            i18n.tr("Different background for each")]
 
175
        selectedIndex: systemSettingsSettings.backgroundDuplicate === 0 ? 0 : 1
177
176
        onSelectedIndexChanged: {
178
177
            systemSettingsSettings.backgroundDuplicate = ( selectedIndex === 0 )
179
178
        }