[Xfce4-commits] [apps/xfdashboard] 01/01: Replace GTK+ stock icon names with the corresponding ones from Icon Naming Specification

noreply at xfce.org noreply at xfce.org
Tue Oct 13 08:30:36 CEST 2015


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit c506433d2afb7714d9df9401193949b226b5edc3
Author: Stephan Haller <nomad at froevel.de>
Date:   Tue Oct 13 08:30:06 2015 +0200

    Replace GTK+ stock icon names with the corresponding ones from Icon Naming Specification
---
 data/themes/xfdashboard-auber/xfdashboard.css   |    2 +-
 data/themes/xfdashboard-blue/xfdashboard.css    |    2 +-
 data/themes/xfdashboard-dark/xfdashboard.css    |    2 +-
 data/themes/xfdashboard-mint/xfdashboard.css    |    2 +-
 data/themes/xfdashboard-moranga/xfdashboard.css |    2 +-
 data/themes/xfdashboard-wine/xfdashboard.css    |    2 +-
 data/themes/xfdashboard/xfdashboard.css         |    2 +-
 xfdashboard/application-button.c                |    4 ++--
 xfdashboard/application.c                       |    2 +-
 xfdashboard/applications-search-provider.c      |    2 +-
 xfdashboard/applications-view.c                 |    2 +-
 xfdashboard/quicklaunch.c                       |    4 ++--
 xfdashboard/search-view.c                       |    2 +-
 xfdashboard/windows-view.c                      |    2 +-
 14 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/data/themes/xfdashboard-auber/xfdashboard.css b/data/themes/xfdashboard-auber/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-auber/xfdashboard.css
+++ b/data/themes/xfdashboard-auber/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard-blue/xfdashboard.css b/data/themes/xfdashboard-blue/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-blue/xfdashboard.css
+++ b/data/themes/xfdashboard-blue/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard-dark/xfdashboard.css b/data/themes/xfdashboard-dark/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-dark/xfdashboard.css
+++ b/data/themes/xfdashboard-dark/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard-mint/xfdashboard.css b/data/themes/xfdashboard-mint/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-mint/xfdashboard.css
+++ b/data/themes/xfdashboard-mint/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard-moranga/xfdashboard.css b/data/themes/xfdashboard-moranga/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-moranga/xfdashboard.css
+++ b/data/themes/xfdashboard-moranga/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard-wine/xfdashboard.css b/data/themes/xfdashboard-wine/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard-wine/xfdashboard.css
+++ b/data/themes/xfdashboard-wine/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/data/themes/xfdashboard/xfdashboard.css b/data/themes/xfdashboard/xfdashboard.css
index 7448493..babedc4 100644
--- a/data/themes/xfdashboard/xfdashboard.css
+++ b/data/themes/xfdashboard/xfdashboard.css
@@ -397,7 +397,7 @@ XfdashboardApplicationsView
 XfdashboardApplicationsView,
 XfdashboardApplicationsView XfdashboardApplicationButton
 {
-	parent-menu-icon: gtk-go-up;
+	parent-menu-icon: go-up;
 	format-title-only: "<b>%s</b>";
 	format-title-description: "<b><big>%s</big></b>\n\n%s";
 }
diff --git a/xfdashboard/application-button.c b/xfdashboard/application-button.c
index 9bb1e86..27dff30 100644
--- a/xfdashboard/application-button.c
+++ b/xfdashboard/application-button.c
@@ -145,7 +145,7 @@ static void _xfdashboard_application_button_update_icon(XfdashboardApplicationBu
 		}
 	}
 
-	if(!iconName) iconName=g_strdup("gtk-missing-image");
+	if(!iconName) iconName=g_strdup("image-missing");
 
 	/* Set up button and release allocated resources */
 	if(iconName) xfdashboard_button_set_icon(XFDASHBOARD_BUTTON(self), iconName);
@@ -659,7 +659,7 @@ gboolean xfdashboard_application_button_execute(XfdashboardApplicationButton *se
 	if(!priv->appInfo)
 	{
 		xfdashboard_notify(CLUTTER_ACTOR(self),
-							"gtk-dialog-error",
+							"dialog-error",
 							_("Launching application '%s' failed: %s"),
 							xfdashboard_application_button_get_display_name(self),
 							_("No information available for application"));
diff --git a/xfdashboard/application.c b/xfdashboard/application.c
index 6895f6e..970358c 100644
--- a/xfdashboard/application.c
+++ b/xfdashboard/application.c
@@ -252,7 +252,7 @@ static void _xfdashboard_application_set_theme_name(XfdashboardApplication *self
 
 			/* Show warning as notification */
 			xfdashboard_notify(NULL,
-								"gtk-dialog-error",
+								"dialog-error",
 								_("Could not load theme '%s': %s"),
 								priv->themeName,
 								(error && error->message) ? error->message : _("unknown error"));
diff --git a/xfdashboard/applications-search-provider.c b/xfdashboard/applications-search-provider.c
index f5a4955..d7b326b 100644
--- a/xfdashboard/applications-search-provider.c
+++ b/xfdashboard/applications-search-provider.c
@@ -318,7 +318,7 @@ static const gchar* _xfdashboard_applications_search_provider_get_name(Xfdashboa
 /* Overriden virtual function: get_icon */
 static const gchar* _xfdashboard_applications_search_provider_get_icon(XfdashboardSearchProvider *inProvider)
 {
-	return("gtk-missing-image");
+	return("image-missing");
 }
 
 /* Overriden virtual function: get_result_set */
diff --git a/xfdashboard/applications-view.c b/xfdashboard/applications-view.c
index 719685f..b767454 100644
--- a/xfdashboard/applications-view.c
+++ b/xfdashboard/applications-view.c
@@ -1375,7 +1375,7 @@ static void xfdashboard_applications_view_init(XfdashboardApplicationsView *self
 	/* Set up view */
 	xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "applications");
 	xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Applications"));
-	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "gtk-home");
+	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "start-here");
 
 	/* Set up actor */
 	xfdashboard_actor_set_can_focus(XFDASHBOARD_ACTOR(self), TRUE);
diff --git a/xfdashboard/quicklaunch.c b/xfdashboard/quicklaunch.c
index 4b6af09..c8c868c 100644
--- a/xfdashboard/quicklaunch.c
+++ b/xfdashboard/quicklaunch.c
@@ -338,7 +338,7 @@ static void _xfdashboard_quicklaunch_on_favourite_clicked(XfdashboardQuicklaunch
 		if(!appInfo)
 		{
 			xfdashboard_notify(CLUTTER_ACTOR(self),
-								"gtk-dialog-error",
+								"dialog-error",
 								_("Launching application '%s' failed: %s"),
 								xfdashboard_application_button_get_display_name(button),
 								_("No information available for application"));
@@ -386,7 +386,7 @@ static void _xfdashboard_quicklaunch_on_favourite_clicked(XfdashboardQuicklaunch
 		if(xfdashboard_application_tracker_is_running_by_app_info(priv->appTracker, appInfo))
 		{
 			xfdashboard_notify(CLUTTER_ACTOR(self),
-								"gtk-dialog-error",
+								"dialog-error",
 								_("Launching application '%s' failed: %s"),
 								xfdashboard_application_button_get_display_name(button),
 								_("No windows to activate for application"));
diff --git a/xfdashboard/search-view.c b/xfdashboard/search-view.c
index 617925c..75dff01 100644
--- a/xfdashboard/search-view.c
+++ b/xfdashboard/search-view.c
@@ -1726,7 +1726,7 @@ static void xfdashboard_search_view_init(XfdashboardSearchView *self)
 	/* Set up view (Note: Search view is disabled by default!) */
 	xfdashboard_view_set_internal_name(XFDASHBOARD_VIEW(self), "search");
 	xfdashboard_view_set_name(XFDASHBOARD_VIEW(self), _("Search"));
-	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "gtk-find");
+	xfdashboard_view_set_icon(XFDASHBOARD_VIEW(self), "edit-find");
 	xfdashboard_view_set_enabled(XFDASHBOARD_VIEW(self), FALSE);
 
 	/* Set up actor */
diff --git a/xfdashboard/windows-view.c b/xfdashboard/windows-view.c
index 176d888..b811c73 100644
--- a/xfdashboard/windows-view.c
+++ b/xfdashboard/windows-view.c
@@ -128,7 +128,7 @@ static void _xfdashboard_windows_view_set_active_workspace(XfdashboardWindowsVie
 /* IMPLEMENTATION: Private variables and methods */
 #define SCROLL_EVENT_CHANGES_WORKSPACE_XFCONF_PROP		"/components/windows-view/scroll-event-changes-workspace"
 
-#define DEFAULT_VIEW_ICON								"gtk-fullscreen"
+#define DEFAULT_VIEW_ICON								"view-fullscreen"
 #define DEFAULT_DRAG_HANDLE_SIZE						32.0f
 
 /* Stage interface has changed monitor */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list