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.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Applet/Applet.cpp b/src/Applet/Applet.cpp
index 3f6abb8..530a846 100644
--- a/src/Applet/Applet.cpp
+++ b/src/Applet/Applet.cpp
@@ -42,11 +42,13 @@ CApplet *applet;
static void
crash_notify_cb(const char* progname)
{
+ const char *message = _("A crash in package %s has been detected!");
#ifdef DEBUG
std::cerr << "Application " << progname << " has crashed!" << std::endl;
#endif
//applet->AddEvent(uid, std::string(progname));
- applet->SetIconTooltip(_("A crash in package %s has been detected!"), progname);
+ applet->SetIconTooltip(message, progname);
+ applet->CrashNotify(message, progname);
applet->ShowIcon();
}