Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/main.qml
Show First 20 Lines • Show All 553 Lines • ▼ Show 20 Line(s) | 486 | Item { | |||
---|---|---|---|---|---|
554 | } | 554 | } | ||
555 | } | 555 | } | ||
556 | 556 | | |||
557 | Component.onCompleted: { | 557 | Component.onCompleted: { | ||
558 | if (!isContainment) { | 558 | if (!isContainment) { | ||
559 | return; | 559 | return; | ||
560 | } | 560 | } | ||
561 | 561 | | |||
562 | plasmoid.action("configure").text = i18n("Configure Desktop"); | 562 | plasmoid.action("configure").text = i18n("Configure Wallpaper and Desktop"); | ||
563 | 563 | | |||
564 | // WORKAROUND: that's the only place where we can inject a sensible size. | 564 | // WORKAROUND: that's the only place where we can inject a sensible size. | ||
565 | // if root has width defined, it will override the value we set before | 565 | // if root has width defined, it will override the value we set before | ||
566 | // the component completes | 566 | // the component completes | ||
567 | root.width = plasmoid.width; | 567 | root.width = plasmoid.width; | ||
568 | 568 | | |||
569 | LayoutManager.resultsFlow = resultsFlow; | 569 | LayoutManager.resultsFlow = resultsFlow; | ||
570 | LayoutManager.plasmoid = plasmoid; | 570 | LayoutManager.plasmoid = plasmoid; | ||
Show All 13 Lines |