aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorChris Coulson <chrisccoulson@ubuntu.com>2011-03-30 13:20:52 +0100
committerChris Coulson <chrisccoulson@ubuntu.com>2011-03-30 13:20:52 +0100
commitccf2e684c6a2f8115dbe9544f43412986acaee79 (patch)
treefc7a7ebfcfb98e3e539fec188684f77c748638f0 /libdbusmenu-glib
parent5c87bba0ab605353ca44063b30765470b069c599 (diff)
downloadlibdbusmenu-ccf2e684c6a2f8115dbe9544f43412986acaee79.tar.gz
libdbusmenu-ccf2e684c6a2f8115dbe9544f43412986acaee79.tar.bz2
libdbusmenu-ccf2e684c6a2f8115dbe9544f43412986acaee79.zip
Revert the last commit and handle the same problem in the parser instead
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/defaults.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdbusmenu-glib/defaults.c b/libdbusmenu-glib/defaults.c
index 1666efc..2387c06 100644
--- a/libdbusmenu-glib/defaults.c
+++ b/libdbusmenu-glib/defaults.c
@@ -81,6 +81,7 @@ dbusmenu_defaults_init (DbusmenuDefaults *self)
/* Standard defaults */
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_VISIBLE, G_VARIANT_TYPE_BOOLEAN, g_variant_new_boolean(TRUE));
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_ENABLED, G_VARIANT_TYPE_BOOLEAN, g_variant_new_boolean(TRUE));
+ dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_LABEL, G_VARIANT_TYPE_STRING, g_variant_new_string(_("Label Empty")));
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_ICON_NAME, G_VARIANT_TYPE_STRING, NULL);
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE, G_VARIANT_TYPE_STRING, NULL);
dbusmenu_defaults_default_set(self, DBUSMENU_CLIENT_TYPES_DEFAULT, DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, G_VARIANT_TYPE_INT32, NULL);