diff options
author | Ted Gould <ted@gould.cx> | 2011-04-06 11:20:08 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-04-06 11:20:08 -0500 |
commit | de82ee23786da141cfea40a32a25722d09af24b1 (patch) | |
tree | b88744e38eeeb3cdf8184255d572a94739f6c4a5 | |
parent | 3138814a32a91aa0b635ce7059c3a2cd6de860a9 (diff) | |
download | ayatana-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.h | 4 | ||||
-rw-r--r-- | src/launcher-menu-item.c | 2 |
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) |