aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-02 22:41:48 -0600
committerTed Gould <ted@gould.cx>2011-03-02 22:41:48 -0600
commitd693a90a23e498b50052040f90d761d0b57c5914 (patch)
treeca7c8648ab53286d4414521295d6eeb9bbe57115 /libdbusmenu-glib
parentda9a1f784d3c1e8a75f832f60c3f86764810858c (diff)
downloadlibdbusmenu-d693a90a23e498b50052040f90d761d0b57c5914.tar.gz
libdbusmenu-d693a90a23e498b50052040f90d761d0b57c5914.tar.bz2
libdbusmenu-d693a90a23e498b50052040f90d761d0b57c5914.zip
Changing property name to match DBus recommendations
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/dbus-menu.xml2
-rw-r--r--libdbusmenu-glib/server.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-glib/dbus-menu.xml b/libdbusmenu-glib/dbus-menu.xml
index 956844e..efb55d4 100644
--- a/libdbusmenu-glib/dbus-menu.xml
+++ b/libdbusmenu-glib/dbus-menu.xml
@@ -189,7 +189,7 @@ License version 3 and version 2.1 along with this program. If not, see
</dox:d>
</property>
- <property name="icon-theme-path" type="as" access="read">
+ <property name="IconThemePath" type="as" access="read">
<dox:d>
A list of directories that should be used for finding icons using
the icon naming spec. Idealy there should only be one for the icon
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index 14c0c53..7421747 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -754,7 +754,7 @@ bus_get_prop (GDBusConnection * connection, const gchar * sender, const gchar *
return g_variant_new_uint32(DBUSMENU_VERSION_NUMBER);
} else if (g_strcmp0(property, "TextDirection") == 0) {
return g_variant_new_string(dbusmenu_text_direction_get_nick(priv->text_direction));
- } else if (g_strcmp0(property, "icon-theme-path") == 0) {
+ } else if (g_strcmp0(property, "IconThemePath") == 0) {
GVariant * dirs = NULL;
if (priv->icon_dirs != NULL) {
@@ -1773,7 +1773,7 @@ dbusmenu_server_set_icon_paths (DbusmenuServer * server, GStrv icon_paths)
g_variant_builder_add_value(&params, g_variant_new_string(DBUSMENU_INTERFACE));
GVariant * items = NULL;
if (priv->icon_dirs != NULL) {
- GVariant * dict = g_variant_new_dict_entry(g_variant_new_string("icon-theme-path"), g_variant_new_strv((const gchar * const *)priv->icon_dirs, -1));
+ GVariant * dict = g_variant_new_dict_entry(g_variant_new_string("IconThemePath"), g_variant_new_strv((const gchar * const *)priv->icon_dirs, -1));
items = g_variant_new_array(NULL, &dict, 1);
} else {
items = g_variant_new_array(G_VARIANT_TYPE("{sv}"), NULL, 0);