diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-04-10 11:45:07 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-04-10 11:45:07 -0500 |
commit | 211accbac6374fad1a5be1771210c853bbe1a656 (patch) | |
tree | 25f0d547f55291004c2cd441daaab8adebc34540 /src | |
parent | 07adbf353ce5ab02f1c95ecc6eea71afc1190079 (diff) | |
parent | 89a4ee8235ec7c64a9667885d6f2542bb02bb6a8 (diff) | |
download | ayatana-indicator-messages-211accbac6374fad1a5be1771210c853bbe1a656.tar.gz ayatana-indicator-messages-211accbac6374fad1a5be1771210c853bbe1a656.tar.bz2 ayatana-indicator-messages-211accbac6374fad1a5be1771210c853bbe1a656.zip |
merge lp:~larsu/indicator-messages/lp956147 to make the menu display a blank icon when appropriate
Diffstat (limited to 'src')
-rw-r--r-- | src/messages-service.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index 8e85da2..078cee3 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -29,7 +29,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <libindicator/indicator-service.h> #include <gio/gio.h> #include <glib/gi18n.h> -#include <gtk/gtk.h> #include <libdbusmenu-glib/client.h> #include <libdbusmenu-glib/server.h> @@ -665,9 +664,7 @@ server_shortcut_added (AppMenuItem * appitem, DbusmenuMenuitem * mi, gpointer da g_debug("Application Shortcut added: %s", mi != NULL ? dbusmenu_menuitem_property_get(mi, DBUSMENU_MENUITEM_PROP_LABEL) : "none"); DbusmenuMenuitem * shell = DBUSMENU_MENUITEM(data); if (mi != NULL) { -#if GTK_CHECK_VERSION(3, 0, 0) - dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_ICON_NAME, ""); -#endif + dbusmenu_menuitem_property_set (mi, DBUSMENU_MENUITEM_PROP_ICON_NAME, DBUSMENU_MENUITEM_ICON_NAME_BLANK); dbusmenu_menuitem_child_append(shell, mi); } resort_menu(shell); |