[gnome-packagekit] Don't show markup twice for a GpkError box
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Don't show markup twice for a GpkError box
- Date: Wed, 19 Aug 2009 13:06:20 +0000 (UTC)
commit 5a91f7c6d832a7a0ac3a222434fbe5b4e7fd1337
Author: Richard Hughes <richard hughsie com>
Date: Wed Aug 19 13:55:42 2009 +0100
Don't show markup twice for a GpkError box
src/gpk-error.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gpk-error.c b/src/gpk-error.c
index 8203748..964de38 100644
--- a/src/gpk-error.c
+++ b/src/gpk-error.c
@@ -67,7 +67,6 @@ gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const g
GtkWidget *widget;
GtkBuilder *builder;
GtkTextBuffer *buffer = NULL;
- gchar *text;
guint retval;
GError *error = NULL;
@@ -109,9 +108,7 @@ gpk_error_dialog_modal_with_time (GtkWindow *window, const gchar *title, const g
/* title */
widget = GTK_WIDGET (gtk_builder_get_object (builder, "label_title"));
- text = g_strdup_printf ("<b><big>%s</big></b>", title);
- gtk_label_set_label (GTK_LABEL (widget), text);
- g_free (text);
+ gtk_label_set_label (GTK_LABEL (widget), title);
/* message */
widget = GTK_WIDGET (gtk_builder_get_object (builder, "label_message"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]