diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-03-20 18:35:27 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-03-20 18:35:27 +0100 |
commit | 68cb8a00df6ecf2469854bab5d9226323dffde30 (patch) | |
tree | ac1b86de48d61964c23feb003162da9a4c876ddc /src | |
parent | 5a35b6983ffa73000e26aa23714ce3625613ea79 (diff) | |
download | ayatana-indicator-printers-68cb8a00df6ecf2469854bab5d9226323dffde30.tar.gz ayatana-indicator-printers-68cb8a00df6ecf2469854bab5d9226323dffde30.tar.bz2 ayatana-indicator-printers-68cb8a00df6ecf2469854bab5d9226323dffde30.zip |
Listen to indicator-right-is-lozenge property changes
Fixes bug: number of jobs queued was not drawn as a lozenge in the print
indicator menu.
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-printers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/indicator-printers.c b/src/indicator-printers.c index 187fbce..7acfdce 100644 --- a/src/indicator-printers.c +++ b/src/indicator-printers.c @@ -175,6 +175,9 @@ indicator_prop_change_cb (DbusmenuMenuitem *mi, else if (properties_match (prop, "visible", value, G_VARIANT_TYPE_BOOLEAN)) gtk_widget_set_visible (GTK_WIDGET (menuitem), g_variant_get_boolean (value)); + + else if (properties_match (prop, "indicator-right-is-lozenge", value, G_VARIANT_TYPE_BOOLEAN)) + indicator_menu_item_set_right_is_lozenge (menuitem, g_variant_get_boolean (value)); } |