[gnome-control-center/gnome-3-0] Printers: Match lower-case properly
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-0] Printers: Match lower-case properly
- Date: Mon, 19 Sep 2011 12:02:43 +0000 (UTC)
commit 238fd9f5b1cba960dd30eb2670f90a5cd8cb236a
Author: Marek Kasik <mkasik redhat com>
Date: Mon Sep 19 14:02:32 2011 +0200
Printers: Match lower-case properly
The lower-cased string needs to be checked against a lower-case
string, or it's never going to match (found by Bastien Nocera in
gnome-settings-daemon).
panels/printers/pp-new-printer-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/printers/pp-new-printer-dialog.c b/panels/printers/pp-new-printer-dialog.c
index 69372c2..7883991 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -1136,7 +1136,7 @@ new_printer_add_button_cb (GtkButton *button,
gchar *commands_lowercase = g_ascii_strdown (commands, -1);
ipp_t *response = NULL;
- if (g_strrstr (commands_lowercase, "AutoConfigure"))
+ if (g_strrstr (commands_lowercase, "autoconfigure"))
{
response = execute_maintenance_command (pp->devices[device_id].display_name,
"AutoConfigure",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]