From de82ee23786da141cfea40a32a25722d09af24b1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 6 Apr 2011 11:20:08 -0500 Subject: move ICON_KEY --- src/default-applications.h | 4 ++++ src/launcher-menu-item.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/default-applications.h b/src/default-applications.h index 0a32e7c..df52b38 100644 --- a/src/default-applications.h +++ b/src/default-applications.h @@ -22,6 +22,10 @@ with this program. If not, see . #ifndef DEFAULT_APPLICATIONS_H__ #define DEFAULT_APPLICATIONS_H__ 1 +/* Used for override icons in the normal case, but didn't + have a better place to put it. */ +#define ICON_KEY "X-Ayatana-Messaging-Menu-Icon" + const gchar * get_default_name (const gchar * desktop_path); const gchar * get_default_setup (const gchar * desktop_path); const gchar * get_default_icon (const gchar * desktop_path); diff --git a/src/launcher-menu-item.c b/src/launcher-menu-item.c index dd9ad5e..e01806e 100644 --- a/src/launcher-menu-item.c +++ b/src/launcher-menu-item.c @@ -259,8 +259,6 @@ nick_activate_cb (LauncherMenuItem * self, guint timestamp, gpointer data) return; } -#define ICON_KEY "X-Ayatana-Messaging-Menu-Icon" - /* Figure out the appropriate icon for this launcher */ gchar * launcher_menu_item_get_icon (LauncherMenuItem * appitem) -- cgit v1.2.3