Changeset View
Changeset View
Standalone View
Standalone View
applets/appmenu/package/contents/ui/main.qml
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 29 | Item { | |||
---|---|---|---|---|---|
110 | } | 110 | } | ||
111 | 111 | | |||
112 | Plasmoid.toolTipMainText: appletEnabled ? "" : i18n("Application Menu Widget is disabled") | 112 | Plasmoid.toolTipMainText: appletEnabled ? "" : i18n("Application Menu Widget is disabled") | ||
113 | Plasmoid.toolTipSubText: appletEnabled || !root.kcmAuthorized ? "" | 113 | Plasmoid.toolTipSubText: appletEnabled || !root.kcmAuthorized ? "" | ||
114 | : i18nc("it being the 'Application Menu Widget'", "Go to System Settings > Application Style > Fine Tuning (tab) to enable it."); | 114 | : i18nc("it being the 'Application Menu Widget'", "Go to System Settings > Application Style > Fine Tuning (tab) to enable it."); | ||
115 | 115 | | |||
116 | AppMenuPrivate.AppMenuModel { | 116 | AppMenuPrivate.AppMenuModel { | ||
117 | id: appMenuModel | 117 | id: appMenuModel | ||
118 | onRequestActivateIndex: plasmoid.nativeInterface.requestActivateIndex(index) | ||||
118 | Component.onCompleted: { | 119 | Component.onCompleted: { | ||
119 | plasmoid.nativeInterface.model = appMenuModel | 120 | plasmoid.nativeInterface.model = appMenuModel | ||
120 | } | 121 | } | ||
121 | } | 122 | } | ||
122 | } | 123 | } |