On Fri, 2010-08-27 at 17:05 +0200, Nikola Pajkovsky wrote:
Signed-off-by: Nikola Pajkovsky <npajkovs(a)redhat.com>
---
src/applet/Applet.cpp | 12 ++++++------
src/applet/CCApplet.cpp | 32 ++++++++++++++++----------------
src/applet/CCApplet.h | 18 +++++++++---------
3 files changed, 31 insertions(+), 31 deletions(-)
diff --git a/src/applet/Applet.cpp b/src/applet/Applet.cpp
index 2f35cab..b00ae5f 100644
--- a/src/applet/Applet.cpp
+++ b/src/applet/Applet.cpp
@@ -80,8 +80,8 @@ static void Crash(DBusMessage* signal)
if (package_name[0] == '\0')
message = _("A crash has been detected");
//applet->AddEvent(uid, package_name);
- SetIconTooltip(applet, message, package_name);
- ShowIcon(applet);
+ set_icon_tooltip(applet, message, package_name);
+ show_icon(applet);
/* If this crash seems to be repeating, do not annoy user with popup dialog.
* (The icon in the tray is not suppressed)
@@ -103,7 +103,7 @@ static void Crash(DBusMessage* signal)
free(last_crash_id);
last_crash_id = xstrdup(crash_id);
- CrashNotify(applet, crash_id, message, package_name);
+ crash_notify(applet, crash_id, message, package_name);
CrashNotify is a bad name in general. Do we crash notify when we call
it? No, we display crash notification.
MessageNotify is another bad name, and needs changing.
The rest looks ok.
--
vda