Skip to content

Commit 32279ca

Browse files
wjyrichBLumia
authored andcommitted
fix: just use one Dbus interface.
as title. Log:
1 parent 53f2c23 commit 32279ca

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

panels/dock/api/dbus/org.deepin.ds.dock.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
</property>
88
<property access="readwrite" type="i" name="position"/>
99
<property access="readwrite" type="b" name="showInPrimary"/>
10-
<property access="readwrite" type="b" name="locked"/>
1110
<method name="callShow"/>
1211
<method name="ReloadPlugins"/>
1312
</interface>

panels/dock/api/old/org.deepin.dde.dock1.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<annotation name="org.qtproject.QtDBus.QtTypeName" value="QRect"/>
77
</property>
88
<property access="readwrite" type="b" name="showInPrimary"/>
9-
<property access="readwrite" type="b" name="locked"/>
109
<method name="callShow"/>
1110
<method name="ReloadPlugins"/>
1211
<method name="GetLoadedPlugins">

panels/dock/dockdbusproxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class DockDBusProxy final: public QObject, public QDBusContext
3232
Q_PROPERTY(uint WindowSizeFashion READ windowSizeFashion WRITE setWindowSizeFashion)
3333
Q_PROPERTY(int DisplayMode READ displayMode WRITE setDisplayMode FINAL)
3434
Q_PROPERTY(bool showInPrimary READ showInPrimary WRITE setShowInPrimary FINAL)
35-
Q_PROPERTY(bool locked READ locked WRITE setLocked FINAL)
35+
Q_PROPERTY(bool Locked READ locked WRITE setLocked FINAL)
3636

3737

3838
public:

0 commit comments

Comments
 (0)