[gnome-control-center] printers: Recognize more supply types
- From: Marek Kašík <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Recognize more supply types
- Date: Tue, 14 Apr 2015 14:29:46 +0000 (UTC)
commit e01951ede84c320ac0e51c6943f3c6184d66abb7
Author: Prince781 <princetonf optonline net>
Date: Tue Apr 14 15:40:36 2015 +0200
printers: Recognize more supply types
Recognize 'inkCartridge' and 'tonerCartridge' supply types.
https://bugzilla.gnome.org/show_bug.cgi?id=743331
panels/printers/cc-printers-panel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index cb60e41..530be52 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -1609,7 +1609,9 @@ supply_levels_draw_cb (GtkWidget *widget,
MarkerItem *marker;
if (g_strcmp0 (marker_typesv[i], "ink") == 0 ||
- g_strcmp0 (marker_typesv[i], "toner") == 0)
+ g_strcmp0 (marker_typesv[i], "toner") == 0 ||
+ g_strcmp0 (marker_typesv[i], "inkCartridge") == 0 ||
+ g_strcmp0 (marker_typesv[i], "tonerCartridge") == 0)
{
marker = g_new0 (MarkerItem, 1);
marker->type = g_strdup (marker_typesv[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]