summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-bookmark.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-02-05 14:40:15 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2011-02-05 15:08:31 -0500
commitc926b072165b822af8dfd6f5d8a413809bb6b541 (patch)
tree33ba968c8bd49984561352708400c95aacb65c52 /libnautilus-private/nautilus-bookmark.c
parent8233aadcdd5dcf57d66c7c70df4e507ed32020ed (diff)
downloadnautilus-c926b072165b822af8dfd6f5d8a413809bb6b541.tar.gz
bookmark: apply name and custom-name during construction
Diffstat (limited to 'libnautilus-private/nautilus-bookmark.c')
-rw-r--r--libnautilus-private/nautilus-bookmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnautilus-private/nautilus-bookmark.c b/libnautilus-private/nautilus-bookmark.c
index 7bc26f5bd..426f935ed 100644
--- a/libnautilus-private/nautilus-bookmark.c
+++ b/libnautilus-private/nautilus-bookmark.c
@@ -387,14 +387,14 @@ nautilus_bookmark_class_init (NautilusBookmarkClass *class)
"Bookmark's name",
"The name of this bookmark",
NULL,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT);
properties[PROP_CUSTOM_NAME] =
g_param_spec_boolean ("custom-name",
"Whether the bookmark has a custom name",
"Whether the bookmark has a custom name",
FALSE,
- G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT);
properties[PROP_LOCATION] =
g_param_spec_object ("location",