[gnome-disk-utility] don't show dbus error names
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-disk-utility] don't show dbus error names
- Date: Sat, 28 Mar 2009 13:19:04 -0400 (EDT)
commit 1045655aadd8afedf203d6f8ecad5b1b3af34577
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Mar 26 16:07:21 2009 -0400
don't show dbus error names
Don't show dbus error names in error dialogs. The user is already
frightened enough...
http://bugzilla.gnome.org/show_bug.cgi?id=575710
Signed-off-by: David Zeuthen <davidz redhat com>
---
src/gdu/gdu-error.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/gdu/gdu-error.c b/src/gdu/gdu-error.c
index f0388fc..860f9a1 100644
--- a/src/gdu/gdu-error.c
+++ b/src/gdu/gdu-error.c
@@ -120,11 +120,6 @@ _gdu_error_fixup (GError *error)
if (matched)
error->domain = GDU_ERROR;
-
- /* either way, prepend the D-Bus exception name to the message */
- s = g_strdup_printf ("%s: %s", name, error->message);
- g_free (error->message);
- error->message = s;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]