gnome-packagekit r263 - in trunk: data data/icons/16x16/status data/icons/22x22/status data/icons/24x24/status data/icons/48x48/status data/icons/scalable/status src



Author: rhughes
Date: Wed Aug  6 08:44:21 2008
New Revision: 263
URL: http://svn.gnome.org/viewvc/gnome-packagekit?rev=263&view=rev

Log:
from git

Modified:
   trunk/data/gpk-application.desktop.in
   trunk/data/gpk-install-catalog.desktop.in
   trunk/data/gpk-install-file.desktop.in
   trunk/data/gpk-log.desktop.in
   trunk/data/gpk-prefs.desktop.in
   trunk/data/gpk-repo.desktop.in
   trunk/data/icons/16x16/status/Makefile.am
   trunk/data/icons/22x22/status/Makefile.am
   trunk/data/icons/24x24/status/Makefile.am
   trunk/data/icons/48x48/status/Makefile.am
   trunk/data/icons/scalable/status/Makefile.am
   trunk/src/gpk-application.c
   trunk/src/gpk-check-update.c
   trunk/src/gpk-client-chooser.c
   trunk/src/gpk-client-eula.c
   trunk/src/gpk-client-run.c
   trunk/src/gpk-client-signature.c
   trunk/src/gpk-client-untrusted.c
   trunk/src/gpk-client.c
   trunk/src/gpk-common.h
   trunk/src/gpk-error.c
   trunk/src/gpk-interface.h
   trunk/src/gpk-log.c
   trunk/src/gpk-prefs.c
   trunk/src/gpk-repo.c
   trunk/src/gpk-watch.c

Modified: trunk/data/gpk-application.desktop.in
==============================================================================
--- trunk/data/gpk-application.desktop.in	(original)
+++ trunk/data/gpk-application.desktop.in	Wed Aug  6 08:44:21 2008
@@ -3,7 +3,7 @@
 _Name=Add/Remove Software
 _GenericName=Add/Remove Software
 _Comment=Change the software installed on the system
-Icon=system-software-installer
+Icon=system-software-install
 Exec=gpk-application
 Terminal=false
 Type=Application

Modified: trunk/data/gpk-install-catalog.desktop.in
==============================================================================
--- trunk/data/gpk-install-catalog.desktop.in	(original)
+++ trunk/data/gpk-install-catalog.desktop.in	Wed Aug  6 08:44:21 2008
@@ -7,7 +7,7 @@
 Exec=/usr/bin/gpk-install-catalog %F
 Terminal=false
 Type=Application
-Icon=system-software-installer
+Icon=system-software-install
 StartupNotify=true
 NoDisplay=true
 MimeType=application/x-catalog

Modified: trunk/data/gpk-install-file.desktop.in
==============================================================================
--- trunk/data/gpk-install-file.desktop.in	(original)
+++ trunk/data/gpk-install-file.desktop.in	Wed Aug  6 08:44:21 2008
@@ -7,8 +7,8 @@
 Exec=/usr/bin/gpk-install-local-file %F
 Terminal=false
 Type=Application
-Icon=system-software-installer
+Icon=system-software-install
 StartupNotify=true
 NoDisplay=true
-MimeType=application/x-rpm;application/x-redhat-package-manager;
+MimeType=application/x-rpm;application/x-redhat-package-manager;application/x-pack;
 

Modified: trunk/data/gpk-log.desktop.in
==============================================================================
--- trunk/data/gpk-log.desktop.in	(original)
+++ trunk/data/gpk-log.desktop.in	Wed Aug  6 08:44:21 2008
@@ -3,7 +3,7 @@
 _Name=Software Log Viewer
 _GenericName=Software Log Viewer
 _Comment=Log viewer showing past package management tasks
-Icon=edit-paste
+Icon=x-system-software-log
 Exec=gpk-log
 Terminal=false
 Type=Application

Modified: trunk/data/gpk-prefs.desktop.in
==============================================================================
--- trunk/data/gpk-prefs.desktop.in	(original)
+++ trunk/data/gpk-prefs.desktop.in	Wed Aug  6 08:44:21 2008
@@ -3,7 +3,7 @@
 _Name=Software Updates
 _GenericName=Software Updates
 _Comment=Change software update preferences
-Icon=software-update-available
+Icon=x-system-software-update-preferences
 Exec=gpk-prefs
 Terminal=false
 Type=Application

Modified: trunk/data/gpk-repo.desktop.in
==============================================================================
--- trunk/data/gpk-repo.desktop.in	(original)
+++ trunk/data/gpk-repo.desktop.in	Wed Aug  6 08:44:21 2008
@@ -3,7 +3,7 @@
 _Name=Software Sources
 _GenericName=Software Sources
 _Comment=Enable or disable software sources
-Icon=pk-package-sources
+Icon=x-system-software-sources
 Exec=gpk-repo
 Terminal=false
 Type=Application

Modified: trunk/data/icons/16x16/status/Makefile.am
==============================================================================
--- trunk/data/icons/16x16/status/Makefile.am	(original)
+++ trunk/data/icons/16x16/status/Makefile.am	Wed Aug  6 08:44:21 2008
@@ -27,8 +27,10 @@
 	pk-wait.png
 
 install-data-hook:
-	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status;
-	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status/;
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
+	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-sources.png;
+	ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-log.png;
+	ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-update-preferences.png;
 
 EXTRA_DIST =				\
 	$(icons_DATA)

Modified: trunk/data/icons/22x22/status/Makefile.am
==============================================================================
--- trunk/data/icons/22x22/status/Makefile.am	(original)
+++ trunk/data/icons/22x22/status/Makefile.am	Wed Aug  6 08:44:21 2008
@@ -27,8 +27,10 @@
 	pk-wait.png
 
 install-data-hook:
-	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status;
-	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/22x22/status/;
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
+	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-sources.png;
+	ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-log.png;
+	ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-update-preferences.png;
 
 EXTRA_DIST =				\
 	$(icons_DATA)

Modified: trunk/data/icons/24x24/status/Makefile.am
==============================================================================
--- trunk/data/icons/24x24/status/Makefile.am	(original)
+++ trunk/data/icons/24x24/status/Makefile.am	Wed Aug  6 08:44:21 2008
@@ -27,8 +27,10 @@
 	pk-wait.png
 
 install-data-hook:
-	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status;
-	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status/;
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
+	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-sources.png;
+	ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-log.png;
+	ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-update-preferences.png;
 
 EXTRA_DIST =				\
 	$(icons_DATA)

Modified: trunk/data/icons/48x48/status/Makefile.am
==============================================================================
--- trunk/data/icons/48x48/status/Makefile.am	(original)
+++ trunk/data/icons/48x48/status/Makefile.am	Wed Aug  6 08:44:21 2008
@@ -27,8 +27,10 @@
 	pk-wait.png
 
 install-data-hook:
-	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status;
-	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status/;
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
+	ln -fs $(iconsdir)/pk-package-sources.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-sources.png;
+	ln -fs $(iconsdir)/pk-package-info.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-log.png;
+	ln -fs $(iconsdir)/pk-update-high.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-update-preferences.png;
 
 EXTRA_DIST =				\
 	$(icons_DATA)

Modified: trunk/data/icons/scalable/status/Makefile.am
==============================================================================
--- trunk/data/icons/scalable/status/Makefile.am	(original)
+++ trunk/data/icons/scalable/status/Makefile.am	Wed Aug  6 08:44:21 2008
@@ -27,8 +27,10 @@
 	pk-wait.svg
 
 install-data-hook:
-	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status;
-	ln -fs $(iconsdir)/pk-package-sources.svg $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/status/;
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps;
+	ln -fs $(iconsdir)/pk-package-sources.svg $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-sources.svg;
+	ln -fs $(iconsdir)/pk-package-info.svg $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-log.svg
+	ln -fs $(iconsdir)/pk-update-high.svg $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/apps/x-system-software-update-preferences.svg;
 
 EXTRA_DIST =				\
 	$(icons_DATA)

Modified: trunk/src/gpk-application.c
==============================================================================
--- trunk/src/gpk-application.c	(original)
+++ trunk/src/gpk-application.c	Wed Aug  6 08:44:21 2008
@@ -63,7 +63,6 @@
 static void     gpk_application_finalize   (GObject	    *object);
 
 #define GPK_APPLICATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GPK_TYPE_APPLICATION, GpkApplicationPrivate))
-#define PK_STOCK_APP_ICON		"system-software-installer"
 
 typedef enum {
 	PK_SEARCH_NAME,
@@ -2088,7 +2087,7 @@
 	/* use parent */
 	main_window = glade_xml_get_widget (application->priv->glade_xml, "window_manager");
 
-	gtk_window_set_default_icon_name (PK_STOCK_APP_ICON);
+	gtk_window_set_default_icon_name (GPK_ICON_SOFTWARE_INSTALLER);
 	gtk_show_about_dialog (GTK_WINDOW (main_window),
 			       "version", PACKAGE_VERSION,
 			       "copyright", "Copyright \xc2\xa9 2007-2008 Richard Hughes",
@@ -2100,7 +2099,7 @@
 			       "documenters", documenters,
 			       "artists", artists,
 			       "translator-credits", translators,
-			       "logo-icon-name", PK_STOCK_APP_ICON,
+			       "logo-icon-name", GPK_ICON_SOFTWARE_INSTALLER,
 			       NULL);
 	g_free (license_trans);
 }
@@ -2700,7 +2699,7 @@
 
 	/* Hide window first so that the dialogue resizes itself without redrawing */
 	gtk_widget_hide (main_window);
-	gtk_window_set_icon_name (GTK_WINDOW (main_window), PK_STOCK_APP_ICON);
+	gtk_window_set_icon_name (GTK_WINDOW (main_window), GPK_ICON_SOFTWARE_INSTALLER);
 
 	/* Get the main window quit */
 	g_signal_connect (main_window, "delete_event",

Modified: trunk/src/gpk-check-update.c
==============================================================================
--- trunk/src/gpk-check-update.c	(original)
+++ trunk/src/gpk-check-update.c	Wed Aug  6 08:44:21 2008
@@ -209,7 +209,7 @@
 	gtk_about_dialog_set_url_hook (gpk_check_update_about_dialog_url_cb, NULL, NULL);
 	gtk_about_dialog_set_email_hook (gpk_check_update_about_dialog_url_cb, "mailto:";, NULL);
 
-	gtk_window_set_default_icon_name ("system-software-installer");
+	gtk_window_set_default_icon_name (GPK_ICON_SOFTWARE_UPDATE);
 	gtk_show_about_dialog (NULL,
 			       "version", VERSION,
 			       "copyright", "Copyright \xc2\xa9 2007 Richard Hughes",
@@ -220,7 +220,7 @@
 			       "authors", authors,
 			       "documenters", documenters,
 			       "translator-credits", translators,
-			       "logo-icon-name", "system-software-installer",
+			       "logo-icon-name", GPK_ICON_SOFTWARE_UPDATE,
 			       NULL);
 	g_free (license_trans);
 }
@@ -353,7 +353,7 @@
 
 	/* show updates */
 	item = gtk_image_menu_item_new_with_mnemonic (_("_Show Updates"));
-	image = gtk_image_new_from_icon_name ("system-software-update", GTK_ICON_SIZE_MENU);
+	image = gtk_image_new_from_icon_name (GPK_ICON_SOFTWARE_UPDATE, GTK_ICON_SIZE_MENU);
 	gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 	g_signal_connect (G_OBJECT (item), "activate",
 			  G_CALLBACK (gpk_check_update_menuitem_show_updates_cb), icon);
@@ -361,7 +361,7 @@
 
 	/* update system */
 	item = gtk_image_menu_item_new_with_mnemonic (_("_Update System Now"));
-	image = gtk_image_new_from_icon_name ("software-update-available", GTK_ICON_SIZE_MENU);
+	image = gtk_image_new_from_icon_name (GPK_ICON_SOFTWARE_UPDATE_AVAILABLE, GTK_ICON_SIZE_MENU);
 	gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
 	g_signal_connect (G_OBJECT (item), "activate",
 			  G_CALLBACK (gpk_check_update_menuitem_update_system_cb), icon);
@@ -869,8 +869,6 @@
 	gboolean ret;
 	g_return_if_fail (GPK_IS_CHECK_UPDATE (cupdate));
 
-	pk_debug ("refresh cache");
-
 	/* got a cache, no need to poll */
 	if (cupdate->priv->cache_okay) {
 		return;

Modified: trunk/src/gpk-client-chooser.c
==============================================================================
--- trunk/src/gpk-client-chooser.c	(original)
+++ trunk/src/gpk-client-chooser.c	Wed Aug  6 08:44:21 2008
@@ -205,7 +205,7 @@
 
 	/* set icon name */
 	widget = glade_xml_get_widget (glade_xml, "window_simple");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 	gtk_window_set_title (GTK_WINDOW (widget), title);
 
 	/* make modal if window set */

Modified: trunk/src/gpk-client-eula.c
==============================================================================
--- trunk/src/gpk-client-eula.c	(original)
+++ trunk/src/gpk-client-eula.c	Wed Aug  6 08:44:21 2008
@@ -30,6 +30,7 @@
 #include <pk-debug.h>
 #include <pk-package-id.h>
 #include "gpk-gnome.h"
+#include "gpk-common.h"
 
 static gboolean has_agreed_eula = FALSE;
 
@@ -84,7 +85,7 @@
 
 	/* set icon name */
 	widget = glade_xml_get_widget (glade_xml, "window_eula");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 
 	/* connect up buttons */
 	widget = glade_xml_get_widget (glade_xml, "button_agree");

Modified: trunk/src/gpk-client-run.c
==============================================================================
--- trunk/src/gpk-client-run.c	(original)
+++ trunk/src/gpk-client-run.c	Wed Aug  6 08:44:21 2008
@@ -302,7 +302,7 @@
 
 	/* set icon name */
 	widget = glade_xml_get_widget (glade_xml, "window_simple");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 	gtk_window_set_title (GTK_WINDOW (widget), _("Run new application?"));
 
 	/* create list stores */

Modified: trunk/src/gpk-client-signature.c
==============================================================================
--- trunk/src/gpk-client-signature.c	(original)
+++ trunk/src/gpk-client-signature.c	Wed Aug  6 08:44:21 2008
@@ -30,6 +30,7 @@
 #include <pk-debug.h>
 #include <pk-package-id.h>
 #include "gpk-gnome.h"
+#include "gpk-common.h"
 
 static gboolean has_imported_signature = FALSE;
 
@@ -78,7 +79,7 @@
 
 	/* set icon name */
 	widget = glade_xml_get_widget (glade_xml, "window_gpg");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 
 	/* connect up buttons */
 	widget = glade_xml_get_widget (glade_xml, "button_yes");

Modified: trunk/src/gpk-client-untrusted.c
==============================================================================
--- trunk/src/gpk-client-untrusted.c	(original)
+++ trunk/src/gpk-client-untrusted.c	Wed Aug  6 08:44:21 2008
@@ -72,7 +72,7 @@
 
 	/* set icon name */
 	widget = glade_xml_get_widget (glade_xml, "window_error");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 
 	/* close button */
 	widget = glade_xml_get_widget (glade_xml, "button_close");

Modified: trunk/src/gpk-client.c
==============================================================================
--- trunk/src/gpk-client.c	(original)
+++ trunk/src/gpk-client.c	Wed Aug  6 08:44:21 2008
@@ -69,7 +69,6 @@
 static void	gpk_client_done		(GpkClient	*gclient);
 
 #define GPK_CLIENT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GPK_TYPE_CLIENT, GpkClientPrivate))
-#define PK_STOCK_WINDOW_ICON		"system-software-installer"
 #define GPK_CLIENT_FINISHED_AUTOCLOSE_DELAY	10 /* seconds */
 /**
  * GpkClientPrivate:

Modified: trunk/src/gpk-common.h
==============================================================================
--- trunk/src/gpk-common.h	(original)
+++ trunk/src/gpk-common.h	Wed Aug  6 08:44:21 2008
@@ -54,6 +54,13 @@
 
 #define GPK_BUGZILLA_URL			"https://bugs.freedesktop.org/";
 
+#define GPK_ICON_SOFTWARE_UPDATE		"system-software-update"
+#define GPK_ICON_SOFTWARE_SOURCES		"x-system-software-sources"
+#define GPK_ICON_SOFTWARE_INSTALLER		"system-software-install"
+#define GPK_ICON_SOFTWARE_LOG			"x-system-software-log"
+#define GPK_ICON_SOFTWARE_UPDATE_PREFS		"x-system-software-update-preferences"
+#define GPK_ICON_SOFTWARE_UPDATE_AVAILABLE	"software-update-available"
+
 void		 gpk_common_self_test			(gpointer	 data);
 gchar		*gpk_package_get_name			(const gchar	*package_id);
 gchar		*gpk_package_id_format_twoline		(const PkPackageId *id,

Modified: trunk/src/gpk-error.c
==============================================================================
--- trunk/src/gpk-error.c	(original)
+++ trunk/src/gpk-error.c	Wed Aug  6 08:44:21 2008
@@ -30,7 +30,7 @@
 #include <pk-debug.h>
 #include <pk-common.h>
 
-#define PK_STOCK_WINDOW_ICON		"system-software-installer"
+#include "gpk-common.h"
 
 /**
  * gpk_error_dialog_modal:
@@ -61,7 +61,7 @@
 	}
 
 	/* set icon name */
-	gtk_window_set_icon_name (GTK_WINDOW (widget), PK_STOCK_WINDOW_ICON);
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_INSTALLER);
 
 	/* close button */
 	widget = glade_xml_get_widget (glade_xml, "button_close");

Modified: trunk/src/gpk-interface.h
==============================================================================
--- trunk/src/gpk-interface.h	(original)
+++ trunk/src/gpk-interface.h	Wed Aug  6 08:44:21 2008
@@ -53,7 +53,7 @@
 #endif /* !G_ENABLE_DEBUG */
 
 
-/* NONE:STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.7UDDEU:1) */
+/* NONE:STRING,POINTER (/tmp/dbus-binding-tool-c-marshallers.VN1IFU:1) */
 extern void dbus_glib_marshal_gpk_dbus_VOID__STRING_POINTER (GClosure     *closure,
                                                              GValue       *return_value,
                                                              guint         n_param_values,

Modified: trunk/src/gpk-log.c
==============================================================================
--- trunk/src/gpk-log.c	(original)
+++ trunk/src/gpk-log.c	Wed Aug  6 08:44:21 2008
@@ -408,7 +408,7 @@
 
 	glade_xml = glade_xml_new (PK_DATA "/gpk-log.glade", NULL, NULL);
 	widget = glade_xml_get_widget (glade_xml, "window_simple");
-	gtk_window_set_icon_name (GTK_WINDOW (widget), "system-software-update");
+	gtk_window_set_icon_name (GTK_WINDOW (widget), GPK_ICON_SOFTWARE_LOG);
 	gtk_widget_set_size_request (widget, 500, 400);
 
 	/* Get the main window quit */

Modified: trunk/src/gpk-prefs.c
==============================================================================
--- trunk/src/gpk-prefs.c	(original)
+++ trunk/src/gpk-prefs.c	Wed Aug  6 08:44:21 2008
@@ -334,7 +334,7 @@
 
 	/* Hide window first so that the dialogue resizes itself without redrawing */
 	gtk_widget_hide (main_window);
-	gtk_window_set_icon_name (GTK_WINDOW (main_window), "system-installer");
+	gtk_window_set_icon_name (GTK_WINDOW (main_window), GPK_ICON_SOFTWARE_UPDATE_PREFS);
 
 	/* Get the main window quit */
 	g_signal_connect_swapped (main_window, "delete_event", G_CALLBACK (gtk_main_quit), NULL);

Modified: trunk/src/gpk-repo.c
==============================================================================
--- trunk/src/gpk-repo.c	(original)
+++ trunk/src/gpk-repo.c	Wed Aug  6 08:44:21 2008
@@ -396,7 +396,7 @@
 
 	glade_xml = glade_xml_new (PK_DATA "/gpk-repo.glade", NULL, NULL);
 	main_window = glade_xml_get_widget (glade_xml, "window_repo");
-	gtk_window_set_icon_name (GTK_WINDOW (main_window), "pk-package-sources");
+	gtk_window_set_icon_name (GTK_WINDOW (main_window), GPK_ICON_SOFTWARE_SOURCES);
 
 	/* Get the main window quit */
 	g_signal_connect_swapped (main_window, "delete_event", G_CALLBACK (gtk_main_quit), NULL);

Modified: trunk/src/gpk-watch.c
==============================================================================
--- trunk/src/gpk-watch.c	(original)
+++ trunk/src/gpk-watch.c	Wed Aug  6 08:44:21 2008
@@ -568,7 +568,7 @@
 	gtk_about_dialog_set_url_hook (gpk_watch_about_dialog_url_cb, NULL, NULL);
 	gtk_about_dialog_set_email_hook (gpk_watch_about_dialog_url_cb, "mailto:";, NULL);
 
-	gtk_window_set_default_icon_name ("system-software-installer");
+	gtk_window_set_default_icon_name (GPK_ICON_SOFTWARE_LOG);
 	gtk_show_about_dialog (NULL,
 			       "version", VERSION,
 			       "copyright", "Copyright \xc2\xa9 2007 Richard Hughes",
@@ -579,7 +579,7 @@
 			       "authors", authors,
 			       "documenters", documenters,
 			       "translator-credits", translators,
-			       "logo-icon-name", "system-software-installer",
+			       "logo-icon-name", GPK_ICON_SOFTWARE_LOG,
 			       NULL);
 	g_free (license_trans);
 }



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