summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-02-17 23:37:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-02-17 23:37:10 +0900
commit434983acd9472d7c55e94ade7855917080b97144 (patch)
tree7bf1d766ab7c8d606c94c7e152ee84904c5c9e80 /tdeioslave
parent5d9c67399944e7ee9584b1844533e8a0bf6cc66e (diff)
downloadtdebase-434983acd9472d7c55e94ade7855917080b97144.tar.gz
tdebase-434983acd9472d7c55e94ade7855917080b97144.zip
Added option to enable/disable Device Monitor notification panels when
disks are added/removed/changed status. Minor tweak to menu entry in Device Monitor popup menu. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave')
-rw-r--r--tdeioslave/media/libmediacommon/mediamanagersettings.kcfg9
-rw-r--r--tdeioslave/media/tdecmodule/managermoduleview.ui12
2 files changed, 19 insertions, 2 deletions
diff --git a/tdeioslave/media/libmediacommon/mediamanagersettings.kcfg b/tdeioslave/media/libmediacommon/mediamanagersettings.kcfg
index 32725c1bb..35af31484 100644
--- a/tdeioslave/media/libmediacommon/mediamanagersettings.kcfg
+++ b/tdeioslave/media/libmediacommon/mediamanagersettings.kcfg
@@ -25,8 +25,13 @@
<default>true</default>
</entry>
<entry name="NotificationPopupsEnabled" type="Bool">
- <label>Enable notification popups</label>
- <whatsthis>Deselect this if you do not want action request popups to be generated when devices are plugged in.</whatsthis>
+ <label>Enable notification dialogs popups</label>
+ <whatsthis>Deselect this if you do not want action request dialog popups to be generated when devices are plugged in.</whatsthis>
+ <default>true</default>
+ </entry>
+ <entry name="DeviceMonitorPopupsEnabled" type="Bool">
+ <label>Enable device monitor notification popups</label>
+ <whatsthis>Deselect this if you do not want device monitoring popups to be generated when devices are added, modified or removed.</whatsthis>
<default>true</default>
</entry>
</group>
diff --git a/tdeioslave/media/tdecmodule/managermoduleview.ui b/tdeioslave/media/tdecmodule/managermoduleview.ui
index 535adffa9..6b477317b 100644
--- a/tdeioslave/media/tdecmodule/managermoduleview.ui
+++ b/tdeioslave/media/tdecmodule/managermoduleview.ui
@@ -63,6 +63,17 @@
<string>Deselect this if you do not want action request dialog popups to be generated when devices are plugged in.</string>
</property>
</widget>
+ <widget class="TQCheckBox">
+ <property name="name">
+ <cstring>kcfg_DeviceMonitorPopupsEnabled</cstring>
+ </property>
+ <property name="text">
+ <string>Enable device monitor notification popups</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>Deselect this if you do not want device monitoring popups to be generated when devices are added, modified or removed.</string>
+ </property>
+ </widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupbox_mount</cstring>
@@ -350,6 +361,7 @@ Display the short name as is; store a long name when the short name is not all u
<tabstop>kcfg_CdPollingEnabled</tabstop>
<tabstop>kcfg_AutostartEnabled</tabstop>
<tabstop>kcfg_NotificationPopupsEnabled</tabstop>
+ <tabstop>kcfg_DeviceMonitorPopupsEnabled</tabstop>
<tabstop>option_automount</tabstop>
<tabstop>option_ro</tabstop>
<tabstop>option_quiet</tabstop>