gnome-packagekit r323 - in trunk: help/C/figures src



Author: rhughes
Date: Sun Oct  5 16:41:58 2008
New Revision: 323
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=323&view=rev

Log:
from git

Modified:
   trunk/help/C/figures/gpk-prefs.png
   trunk/src/Makefile.am
   trunk/src/gpk-application.c
   trunk/src/gpk-common.c

Modified: trunk/help/C/figures/gpk-prefs.png
==============================================================================
Binary files. No diff available.

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Sun Oct  5 16:41:58 2008
@@ -23,6 +23,9 @@
 	-DVERSION="\"$(VERSION)\"" 			\
 	-DPK_DATA=\"$(pkgdatadir)\"			\
 	-DEGG_LOG_FILE=\"\"				\
+	-DEGG_VERBOSE="\"GPK_VERBOSE\""			\
+	-DEGG_LOGGING="\"GPK_LOGGING\""			\
+	-DEGG_CONSOLE="\"GPK_CONSOLE\""			\
 	$(NULL)
 
 bin_PROGRAMS =						\

Modified: trunk/src/gpk-application.c
==============================================================================
--- trunk/src/gpk-application.c	(original)
+++ trunk/src/gpk-application.c	Sun Oct  5 16:41:58 2008
@@ -696,7 +696,7 @@
 	widget = glade_xml_get_widget (application->priv->glade_xml, "window_manager");
 	if (pk_package_list_get_size (list) == 0) {
 		gpk_error_dialog_modal (GTK_WINDOW (widget), _("No packages"),
-					_("This package does not require any others"), NULL);
+					_("No other packages require this package"), NULL);
 	} else {
 		gchar *name;
 		gchar *title;

Modified: trunk/src/gpk-common.c
==============================================================================
--- trunk/src/gpk-common.c	(original)
+++ trunk/src/gpk-common.c	Sun Oct  5 16:41:58 2008
@@ -108,6 +108,10 @@
 	gchar *text;
 	GString *string;
 
+	if (id == NULL) {
+		return g_strdup("");
+	}
+
 	string = g_string_new (id->name);
 	if (id->version != NULL)
 		g_string_append_printf (string, "-%s", id->version);



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