Enable back media notification dialogs.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/183/head
Michele Calgaro 2 years ago
parent e2158a0f0b
commit d706b63745
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 2
      tdeioslave/media/mediamanager/tdehardwarebackend.cpp
  2. 4
      tdeioslave/media/tdecmodule/managermoduleview.ui

@ -138,7 +138,7 @@ void TDEBackend::AddDevice(TDEStorageDevice * sdevice, bool allowNotification)
bool allowDialogNotification = allowNotification;
TDEConfig config("mediamanagerrc");
config.setGroup("Global");
if (!config.readBoolEntry("NotificationPopupsEnabled", false)) {
if (!config.readBoolEntry("NotificationPopupsEnabled", true)) {
allowDialogNotification = false;
}

@ -57,10 +57,10 @@
<cstring>kcfg_NotificationPopupsEnabled</cstring>
</property>
<property name="text">
<string>Enable notification popups</string>
<string>Enable notification dialog popups</string>
</property>
<property name="whatsThis" stdset="0">
<string>Deselect this if you do not want action request popups to be generated when devices are plugged in.</string>
<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="TQGroupBox">

Loading…
Cancel
Save