[gnome-control-center] Printers: Don't add redundant prefix
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Printers: Don't add redundant prefix
- Date: Fri, 14 Oct 2011 12:47:52 +0000 (UTC)
commit 619364ff1a4cc2915cdbf2a1abaea98bbb9484b1
Author: Marek Kasik <mkasik redhat com>
Date: Fri Oct 14 14:47:39 2011 +0200
Printers: Don't add redundant prefix
Don't add prefix "-default" to options set by
PrinterAddOptionDefault method, it is added automatically.
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 21ca382..7dd0070 100644
--- a/panels/printers/pp-new-printer-dialog.c
+++ b/panels/printers/pp-new-printer-dialog.c
@@ -1786,7 +1786,7 @@ new_printer_add_button_cb (GtkButton *button,
{
dbus_g_proxy_call (proxy, "PrinterAddOptionDefault", &error,
G_TYPE_STRING, pp->devices[device_id].display_name,
- G_TYPE_STRING, "PageSize-default",
+ G_TYPE_STRING, "PageSize",
G_TYPE_STRV, value,
G_TYPE_INVALID,
G_TYPE_STRING, &ret_error,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]