summaryrefslogtreecommitdiffstats
path: root/src/Applet/Applet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Applet/Applet.cpp')
-rw-r--r--src/Applet/Applet.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Applet/Applet.cpp b/src/Applet/Applet.cpp
index 2eed556..ab8640a 100644
--- a/src/Applet/Applet.cpp
+++ b/src/Applet/Applet.cpp
@@ -134,10 +134,9 @@ static void NameOwnerChanged(DBusMessage* signal)
return;
}
- if (new_owner[0])
- applet->Enable(_("ABRT service has been started"));
- else
- applet->Disable(_("ABRT service is not running"));
+// hide icon if it's visible - as NM and don't show it, if it's not
+ if(!new_owner[0])
+ applet->HideIcon();
}
static DBusHandlerResult handle_message(DBusConnection* conn, DBusMessage* msg, void* user_data)