Also handle `PROP_USE_DEFAULT_FALLBACKS'. (g_themed_icon_class_init): Make
authorPaul Pogonyshev <pogonyshev@gmx.net>
Wed, 6 Aug 2008 19:43:31 +0000 (19:43 +0000)
committerPaul Pogonyshev <paulp@src.gnome.org>
Wed, 6 Aug 2008 19:43:31 +0000 (19:43 +0000)
2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>

* gthemedicon.c (g_themed_icon_get_property): Also handle
`PROP_USE_DEFAULT_FALLBACKS'.
(g_themed_icon_class_init): Make
`GThemedIcon:use-default-fallbacks' read-write (bug #546483).

svn path=/trunk/; revision=7316

gio/ChangeLog
gio/gthemedicon.c

index 3f97b2e445346c2450b0f50c725d0b45cf660606..db1bbe8a157e449c97845acb1c24846abc4be41f 100644 (file)
@@ -1,3 +1,10 @@
+2008-08-06  Paul Pogonyshev  <pogonyshev@gmx.net>
+
+       * gthemedicon.c (g_themed_icon_get_property): Also handle
+       `PROP_USE_DEFAULT_FALLBACKS'.
+       (g_themed_icon_class_init): Make
+       `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
+
 2008-08-05  Behdad Esfahbod  <behdad@gnome.org>
 
        Bug 546371 – Improve docs re g_file_monitor
index 5fbb9e6ad09ff194786f0ea23a19d79f667a30ed..6982d46fdd49fa6128aa2577bd7ec2edff7d8e87 100644 (file)
@@ -86,6 +86,10 @@ g_themed_icon_get_property (GObject    *object,
         g_value_set_boxed (value, icon->names);
         break;
 
+      case PROP_USE_DEFAULT_FALLBACKS:
+        g_value_set_boolean (value, icon->use_default_fallbacks);
+        break;
+
       default:
         G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
     }
@@ -244,7 +248,7 @@ g_themed_icon_class_init (GThemedIconClass *klass)
                                                          _("use default fallbacks"),
                                                          _("Whether to use default fallbacks found by shortening the name at '-' characters. Ignores names after the first if multiple names are given."),
                                                          FALSE,
-                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
+                                                         G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK));
 }
 
 static void