gnome-packagekit r84 - trunk/src



Author: rhughes
Date: Mon Jan 21 20:32:52 2008
New Revision: 84
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=84&view=rev

Log:
from git

Modified:
   trunk/src/pk-application.c

Modified: trunk/src/pk-application.c
==============================================================================
--- trunk/src/pk-application.c	(original)
+++ trunk/src/pk-application.c	Mon Jan 21 20:32:52 2008
@@ -337,6 +337,7 @@
 {
 	GtkWidget *widget;
 	const gchar *icon_name;
+	gchar *text;
 
 	g_return_if_fail (application != NULL);
 	g_return_if_fail (PK_IS_APPLICATION (application));
@@ -361,8 +362,10 @@
 	gtk_image_set_from_icon_name (GTK_IMAGE (widget), icon_name, GTK_ICON_SIZE_DIALOG);
 
 	/* set the description */
+	text = pk_error_format_details (detail);
 	widget = glade_xml_get_widget (application->priv->glade_xml, "textview_description");
-	pk_application_set_text_buffer (widget, detail);
+	pk_application_set_text_buffer (widget, text);
+	g_free (text);
 
 	/* if non-zero, set the size */
 	if (size > 0) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]