aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-02 16:33:45 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-02 16:33:45 +0100
commitd0183f3041080e8b16ac38572b9f648443007846 (patch)
treee4bf26ae1937e08370a42c627be1ecb4c3bbd95b /src
parent0d7de7c0cd1b2d9939bbaabe9c93e4d86f2018ad (diff)
downloadayatana-indicator-printers-d0183f3041080e8b16ac38572b9f648443007846.tar.gz
ayatana-indicator-printers-d0183f3041080e8b16ac38572b9f648443007846.tar.bz2
ayatana-indicator-printers-d0183f3041080e8b16ac38572b9f648443007846.zip
Set menu label to the printer's name (accidentally removed in last commit)
Diffstat (limited to 'src')
-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 8aa4c62..95bee79 100644
--- a/src/indicator-printers-menu.c
+++ b/src/indicator-printers-menu.c
@@ -112,6 +112,7 @@ update_printer_menuitem (IndicatorPrintersMenu *self,
item = dbusmenu_menuitem_new ();
dbusmenu_menuitem_property_set (item, "type", "indicator-item");
dbusmenu_menuitem_property_set (item, "indicator-icon-name", "printer");
+ dbusmenu_menuitem_property_set (item, "indicator-label", printer);
g_signal_connect_data (item, "item-activated",
G_CALLBACK (show_system_settings),
g_strdup (printer), (GClosureNotify) g_free, 0);