gnome-packagekit r101 - in trunk: data src



Author: rhughes
Date: Thu Feb 21 07:52:34 2008
New Revision: 101
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=101&view=rev

Log:
from git

Modified:
   trunk/data/pk-update-viewer.glade
   trunk/src/pk-update-viewer.c

Modified: trunk/data/pk-update-viewer.glade
==============================================================================
--- trunk/data/pk-update-viewer.glade	(original)
+++ trunk/data/pk-update-viewer.glade	Thu Feb 21 07:52:34 2008
@@ -946,6 +946,8 @@
                                     <property name="visible">True</property>
                                     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
                                     <property name="label">Geeky information about the error...</property>
+                                    <property name="use_markup">True</property>
+                                    <property name="wrap">True</property>
                                   </widget>
                                   <packing>
                                     <property name="expand">False</property>

Modified: trunk/src/pk-update-viewer.c
==============================================================================
--- trunk/src/pk-update-viewer.c	(original)
+++ trunk/src/pk-update-viewer.c	Thu Feb 21 07:52:34 2008
@@ -967,6 +967,7 @@
 	GtkWidget *widget;
 	const gchar *title;
 	gchar *title_bold;
+	gchar *details_safe;
 
 	/* set correct view */
 	pk_updates_set_page (PAGE_ERROR);
@@ -982,7 +983,8 @@
 	gtk_label_set_label (GTK_LABEL (widget), pk_error_enum_to_localised_message (code));
 
 	widget = glade_xml_get_widget (glade_xml, "label_error_details");
-	gtk_label_set_label (GTK_LABEL (widget), details);
+	details_safe = pk_error_format_details (details);
+	gtk_label_set_label (GTK_LABEL (widget), details_safe);
 }
 
 /**



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