diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-04 13:42:17 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-09-04 13:42:17 +0200 |
commit | b5990bc884c0334a0333af195c7c67637e6de27d (patch) | |
tree | 8cead5aa8f636216cbbfcd08a25165002d1627d0 /src/Applet/Applet.cpp | |
parent | 39845b1a81a432a5ff1bf1ff1937eae85f4902b1 (diff) | |
download | abrt-b5990bc884c0334a0333af195c7c67637e6de27d.tar.gz abrt-b5990bc884c0334a0333af195c7c67637e6de27d.tar.xz abrt-b5990bc884c0334a0333af195c7c67637e6de27d.zip |
APPLET: added about dialog, removed popup, if icon is not visible, fixed (trac#43)
It was confusing for some users, that the applet didn't have any description
If the status icon wasn't visible (embedded in tray) the popup was shown in the wrong place
Applet isn't shown if GUI is running (trac#43).
Diffstat (limited to 'src/Applet/Applet.cpp')
-rw-r--r-- | src/Applet/Applet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Applet/Applet.cpp b/src/Applet/Applet.cpp index 530a8462..41fc3b75 100644 --- a/src/Applet/Applet.cpp +++ b/src/Applet/Applet.cpp @@ -48,8 +48,8 @@ crash_notify_cb(const char* progname) #endif //applet->AddEvent(uid, std::string(progname)); applet->SetIconTooltip(message, progname); - applet->CrashNotify(message, progname); applet->ShowIcon(); + applet->CrashNotify(message, progname); } int main(int argc, char **argv) @@ -89,7 +89,7 @@ int main(int argc, char **argv) } DBus::Connection conn = DBus::Connection::SystemBus(); - applet = new CApplet(conn, CC_DBUS_PATH, CC_DBUS_NAME); + applet = new CApplet(conn, session, CC_DBUS_PATH, CC_DBUS_NAME); applet->ConnectCrashHandler(crash_notify_cb); if(!conn.has_name(CC_DBUS_NAME)) { |