[gnome-control-center] printers: Fix visibility guard for the printer "Model" label
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Fix visibility guard for the printer "Model" label
- Date: Tue, 25 Jul 2017 12:51:52 +0000 (UTC)
commit 756eb883df11a089f948a5971fa11f6ae98b868d
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Jul 25 14:49:41 2017 +0200
printers: Fix visibility guard for the printer "Model" label
This is a typo related to the fix at commit 7d25444.
panels/printers/pp-printer-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/pp-printer-entry.c b/panels/printers/pp-printer-entry.c
index 6274fcf..ba704b9 100644
--- a/panels/printers/pp-printer-entry.c
+++ b/panels/printers/pp-printer-entry.c
@@ -914,7 +914,7 @@ pp_printer_entry_new (cups_dest_t printer,
self->printer_make_and_model = sanitize_printer_model (printer_make_and_model);
- if (self->printer_make_and_model == NULL || self->printer_make_and_model[0] != '\0')
+ if (self->printer_make_and_model == NULL || self->printer_make_and_model[0] == '\0')
{
gtk_widget_hide (GTK_WIDGET (self->printer_model_label));
gtk_widget_hide (GTK_WIDGET (self->printer_model));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]