aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-26 15:42:52 -0500
committerTed Gould <ted@canonical.com>2009-08-26 15:42:52 -0500
commit3d98f4ab0a61880ed16a0dc4e87480ae58d2f85d (patch)
tree00b2650ab96ec9b61dde22bab3df11cf91f1c7c4
parentb5b68536d005699250c608f2cc5e5ea51e4f74c3 (diff)
parent9afd4dc68692b573582c3bd57489f9b5a541eb3a (diff)
downloadlibdbusmenu-3d98f4ab0a61880ed16a0dc4e87480ae58d2f85d.tar.gz
libdbusmenu-3d98f4ab0a61880ed16a0dc4e87480ae58d2f85d.tar.bz2
libdbusmenu-3d98f4ab0a61880ed16a0dc4e87480ae58d2f85d.zip
Fix for default handlers.
-rw-r--r--debian/changelog6
-rw-r--r--libdbusmenu-glib/client.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 08ef7f7..a017ec4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libdbusmenu (0.0-0ubuntu2~ppa2) UNRELEASED; urgency=low
+
+ * Fix for default handlers.
+
+ -- Ted Gould <ted@ubuntu.com> Wed, 26 Aug 2009 15:42:40 -0500
+
libdbusmenu (0.0-0ubuntu2~ppa1) karmic; urgency=low
* Show hide stuff
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 0a80c6e..ffde8e3 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -550,6 +550,8 @@ menuitem_get_properties_new_cb (DBusGProxy * proxy, GHashTable * properties, GEr
type = dbusmenu_menuitem_property_get(propdata->item, "type");
if (type != NULL) {
newfunc = g_hash_table_lookup(priv->type_handlers, type);
+ } else {
+ newfunc = g_hash_table_lookup(priv->type_handlers, DBUSMENU_CLIENT_TYPES_DEFAULT);
}
if (newfunc != NULL) {