aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Elvio Basello2010-08-06 22:56:46 +0000
committerGravatar Elvio Basello2010-08-06 22:56:46 +0000
commit8ed64813aeb5a402d0816ed83329770f93789b3b (patch)
tree83581da82ee1bde3a6c62eb8b1c85060b2718834 /src/modules
parentadded an option to switch between KVIrc and KDE notifiers (diff)
downloadKVIrc-8ed64813aeb5a402d0816ed83329770f93789b3b.tar.gz
KVIrc-8ed64813aeb5a402d0816ed83329770f93789b3b.tar.bz2
KVIrc-8ed64813aeb5a402d0816ed83329770f93789b3b.zip
renamed option to better reflect the fact it's a DBus notifier
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4800 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/options/optw_notifier.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/options/optw_notifier.cpp b/src/modules/options/optw_notifier.cpp
index 931098f0b..ff78878f7 100644
--- a/src/modules/options/optw_notifier.cpp
+++ b/src/modules/options/optw_notifier.cpp
@@ -155,10 +155,11 @@ KviNotifierOptionsWidget::KviNotifierOptionsWidget(QWidget * parent)
KviBoolSelector * b2;
-#ifdef COMPILE_KDE_SUPPORT
- b2 = addBoolSelector(0,iRow,0,iRow,__tr2qs_ctx("Use the KDE notifier","options"),KviOption_boolUseKDENotifier);
+#if defined(COMPILE_KDE_SUPPORT) || defined(COMPILE_DBUS_SUPPORT)
+ b2 = addBoolSelector(0,iRow,0,iRow,__tr2qs_ctx("Use the KDE notifier","options"),KviOption_boolUseDBusNotifier);
tip = "<center>";
- tip += __tr2qs_ctx("This option uses the KDE notifier instead of KVIrc one. " \
+ tip += __tr2qs_ctx("This option uses the DBus-based notifier (like KDE KNotify) " \
+ "instead of KVIrc one.<br>" \
"This is cool if you want to better integrate KVIrc inside KDE. " \
"Note that KDE's notifier isn't flexible and \"tabbed\" like KVIrc's","options");
tip += "</center>";
@@ -168,7 +169,7 @@ KviNotifierOptionsWidget::KviNotifierOptionsWidget(QWidget * parent)
connect(b,SIGNAL(toggled(bool)),b2,SLOT(setEnabled(bool)));
iRow++;
-#endif //COMPILE_KDE_SUPPORT
+#endif //COMPILE_KDE_SUPPORT || COMPILE_DBUS_SUPPORT
#if defined(COMPILE_KDE_SUPPORT) || defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)