Turn take-cloud-online menu action into checkbox

Replace the "Take cloud storage online" menu entry by a "Cloud online"
checkbox. After this change, the user can also force going offline.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-01-03 11:46:21 +01:00 committed by Dirk Hohndel
parent dbef391786
commit bb64c6bda8
3 changed files with 44 additions and 29 deletions

View file

@ -66,7 +66,7 @@
<addaction name="actionSaveAs"/>
<addaction name="actionCloudstorageopen"/>
<addaction name="actionCloudstoragesave"/>
<addaction name="actionTake_cloud_storage_online"/>
<addaction name="actionCloudOnline"/>
<addaction name="separator"/>
<addaction name="actionClose"/>
<addaction name="actionExport"/>
@ -714,9 +714,12 @@
<string>Facebook</string>
</property>
</action>
<action name="actionTake_cloud_storage_online">
<action name="actionCloudOnline">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Take cloud storage online</string>
<string>Cloud storage online</string>
</property>
</action>
</widget>