aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-printers-menu.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-01-14 23:51:10 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-01-14 23:51:10 +0100
commit1e56f31341ecdb60456929a3d6d07bb16409b399 (patch)
tree8c0946f0345af7324b1a217d33e9dad2fff0b4ae /src/indicator-printers-menu.c
parent1b671f1d837a97fb60fe03958f6e1b704981607a (diff)
downloadayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.tar.gz
ayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.tar.bz2
ayatana-indicator-printers-1e56f31341ecdb60456929a3d6d07bb16409b399.zip
Add the possibility to set an icon on indicator-menu-item
Diffstat (limited to 'src/indicator-printers-menu.c')
-rw-r--r--src/indicator-printers-menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indicator-printers-menu.c b/src/indicator-printers-menu.c
index c6a76da..b8a2360 100644
--- a/src/indicator-printers-menu.c
+++ b/src/indicator-printers-menu.c
@@ -81,6 +81,7 @@ add_printer_menuitem (IndicatorPrintersMenu *self,
DbusmenuMenuitem *child;
child = dbusmenu_menuitem_new ();
+ dbusmenu_menuitem_property_set (child, "indicator-icon-name", "printer");
dbusmenu_menuitem_property_set (child, "indicator-label", printer);
dbusmenu_menuitem_property_set (child, "indicator-right", "Paused");
dbusmenu_menuitem_property_set (child, "type", "indicator-item");