~indicator-applet-developers/indicator-printers/trunk

« back to all changes in this revision

Viewing changes to src/indicator-printers.c

  • Committer: Lars Uebernickel
  • Date: 2012-03-20 17:35:27 UTC
  • Revision ID: lars.uebernickel@canonical.com-20120320173527-elohhfr8zqozr0i4
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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
175
175
 
176
176
    else if (properties_match (prop, "visible", value, G_VARIANT_TYPE_BOOLEAN))
177
177
        gtk_widget_set_visible (GTK_WIDGET (menuitem), g_variant_get_boolean (value));
 
178
 
 
179
    else if (properties_match (prop, "indicator-right-is-lozenge", value, G_VARIANT_TYPE_BOOLEAN))
 
180
        indicator_menu_item_set_right_is_lozenge (menuitem, g_variant_get_boolean (value));
178
181
}
179
182
 
180
183