[gtk/prop-list: 6/7] printer: Fix the default value of icon-name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/prop-list: 6/7] printer: Fix the default value of icon-name
- Date: Sun, 22 Dec 2019 23:13:32 +0000 (UTC)
commit bc222e842d3d01ae1e56a33c45c9d7d1305f24e0
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 22 18:09:07 2019 -0500
printer: Fix the default value of icon-name
Just set this to "printer", so we don't have
to fix it up in the print dialog.
gtk/gtkprinter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprinter.c b/gtk/gtkprinter.c
index a871b45466..fabbe1f4da 100644
--- a/gtk/gtkprinter.c
+++ b/gtk/gtkprinter.c
@@ -169,7 +169,7 @@ gtk_printer_class_init (GtkPrinterClass *class)
g_param_spec_string ("icon-name",
P_("Icon Name"),
P_("The icon name to use for the printer"),
- "",
+ "printer",
GTK_PARAM_READABLE));
g_object_class_install_property (G_OBJECT_CLASS (class),
PROP_JOB_COUNT,
@@ -340,7 +340,7 @@ gtk_printer_get_property (GObject *object,
if (priv->icon_name)
g_value_set_string (value, priv->icon_name);
else
- g_value_set_static_string (value, "");
+ g_value_set_static_string (value, "printer");
break;
case PROP_JOB_COUNT:
g_value_set_int (value, priv->job_count);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]