Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:epopov:branches:openSUSE:Factory
bluedevil6
2000-applet.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2000-applet.patch of Package bluedevil6
diff --git a/src/applet/package/contents/ui/FullRepresentation.qml b/src/applet/package/contents/ui/FullRepresentation.qml index 6e4325b318ddb592cdb5c5974cff042f601a2413..945c3f936bdd19826b20e65758e07da305b1f085 100644 --- a/src/applet/package/contents/ui/FullRepresentation.qml +++ b/src/applet/package/contents/ui/FullRepresentation.qml @@ -40,34 +40,6 @@ PlasmaExtras.Representation { } } - Action { - id: addBluetoothDeviceAction - - enabled: root.emptyList - - text: bluetoothApplet.addDeviceAction.text - icon.name: "list-add-symbolic" - - onTriggered: bluetoothApplet.addDeviceAction.trigger() - } - - Action { - id: enableBluetoothAction - - enabled: btManager.bluetoothBlocked - - text: i18n("Enable") - icon.name: "preferences-system-bluetooth-symbolic" - - onTriggered: bluetoothApplet.toggleBluetooth() - } - - header: Toolbar { - id: toolbar - visible: btManager.adapters.length > 0 - focus: true - } - PlasmaComponents3.ScrollView { id: scrollView anchors.fill: parent @@ -153,18 +125,6 @@ PlasmaExtras.Representation { return ""; } } - - helpfulAction: { - if (BluezQt.Manager.rfkill.state === BluezQt.Rfkill.Unknown) { - return null; - } else if (btManager.bluetoothBlocked) { - return enableBluetoothAction; - } else if (root.emptyList) { - return addBluetoothDeviceAction; - } else { - return null; - } - } } } } diff --git a/src/applet/package/contents/ui/main.qml b/src/applet/package/contents/ui/main.qml index b948c0fdd6c1e865e258f4a5c17350fc2b34cef6..b0ec1bf9ab940a6eb094f72d8d6b50f6324d14dd 100644 --- a/src/applet/package/contents/ui/main.qml +++ b/src/applet/package/contents/ui/main.qml @@ -136,14 +136,18 @@ PlasmoidItem { id: addAction text: i18n("Add New Deviceā¦") icon.name: "list-add-symbolic" + priority: PlasmaCore.Action.HighPriority visible: !btManager.bluetoothBlocked onTriggered: PlasmaBt.LaunchApp.launchWizard() }, + PlasmaCore.Action { + isSeparator: true + }, PlasmaCore.Action { id: enableAction text: i18n("Enable Bluetooth") icon.name: "preferences-system-bluetooth-symbolic" - priority: PlasmaCore.Action.LowPriority + priority: PlasmaCore.Action.HighPriority checkable: true checked: btManager.bluetoothOperational visible: btManager.bluetoothBlocked || btManager.adapters.length > 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor