aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-04-06 11:20:08 -0500
committerTed Gould <ted@gould.cx>2011-04-06 11:20:08 -0500
commitde82ee23786da141cfea40a32a25722d09af24b1 (patch)
treeb88744e38eeeb3cdf8184255d572a94739f6c4a5
parent3138814a32a91aa0b635ce7059c3a2cd6de860a9 (diff)
downloadayatana-indicator-messages-de82ee23786da141cfea40a32a25722d09af24b1.tar.gz
ayatana-indicator-messages-de82ee23786da141cfea40a32a25722d09af24b1.tar.bz2
ayatana-indicator-messages-de82ee23786da141cfea40a32a25722d09af24b1.zip
move ICON_KEY
-rw-r--r--src/default-applications.h4
-rw-r--r--src/launcher-menu-item.c2
2 files changed, 4 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
#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)