Merge lp:~ted/libdbusmenu/ayatanaize into lp:libdbusmenu/0.5

Proposed by Ted Gould
Status: Merged
Merged at revision: not available
Proposed branch: lp:~ted/libdbusmenu/ayatanaize
Merge into: lp:libdbusmenu/0.5
Diff against target: 92 lines
3 files modified
libdbusmenu-glib/client.c (+5/-5)
libdbusmenu-glib/dbus-menu.xml (+1/-1)
libdbusmenu-glib/server.c (+3/-3)
To merge this branch: bzr merge lp:~ted/libdbusmenu/ayatanaize
Reviewer Review Type Date Requested Status
Aurélien Gâteau (community) Approve
David Barth (community) Disapprove
Neil J. Patel (community) Approve
Review via email: mp+14100@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ted Gould (ted) wrote :

Removing the freedesktop.org references as this isn't (yet) an approved freedesktop spec.

Revision history for this message
Neil J. Patel (njpatel) wrote :

Approved.

review: Approve
Revision history for this message
David Barth (dbarth) wrote :

No need fixing that. We intend dbusmenu to be a freedesktop approved standard. I think it is consistent with the latest discussions in GC, that we do register the namespace and provide that implementation, without a long upfront xdg discussion. org.freedesktop is fine. the FD.o registration of dbusmenu is what's needed now.

review: Disapprove
Revision history for this message
Ted Gould (ted) wrote :

On Thu, 2009-10-29 at 11:24 +0000, David Barth wrote:
> No need fixing that. We intend dbusmenu to be a freedesktop approved
> standard. I think it is consistent with the latest discussions in GC,
> that we do register the namespace and provide that implementation,
> without a long upfront xdg discussion. org.freedesktop is fine. the
> FD.o registration of dbusmenu is what's needed now.

My understanding was that we couldn't use 'org.freedesktop' UNTIL it was
an approved standard. So, shouldn't we do this change as goodwill, even
if we never ship a version with it?

Revision history for this message
Aurélien Gâteau (agateau) wrote :

What was decided during FDo discussion at GCDS was that a project should request use of a org.freedesktop subdomain before starting to use it. Note that it was decided the project does not have to provide a finalized API to request the use of this subdomain, it should be seen more as a reservation of the subdomain. Meaning we do not necessarily have to go through a lengthy discussion just to "reserve" the subdomain.

If we keep using org.freedesktop subdomains without asking people at FDo, someone will eventually find out about it and we will be accused of not being good community citizens.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'libdbusmenu-glib/client.c'
2--- libdbusmenu-glib/client.c 2009-10-02 21:31:22 +0000
3+++ libdbusmenu-glib/client.c 2009-10-28 17:20:23 +0000
4@@ -351,7 +351,7 @@
5 DbusmenuMenuitem * menuitem = dbusmenu_menuitem_find_id(priv->root, id);
6 g_return_if_fail(menuitem != NULL);
7
8- org_freedesktop_dbusmenu_get_properties_async(proxy, id, menuitem_get_properties_cb, menuitem);
9+ org_ayatana_dbusmenu_get_properties_async(proxy, id, menuitem_get_properties_cb, menuitem);
10 return;
11 }
12
13@@ -472,7 +472,7 @@
14 priv->menuproxy = dbus_g_proxy_new_for_name_owner(priv->session_bus,
15 priv->dbus_name,
16 priv->dbus_object,
17- "org.freedesktop.dbusmenu",
18+ "org.ayatana.dbusmenu",
19 &error);
20 if (error != NULL) {
21 g_warning("Unable to get dbusmenu proxy for %s on %s: %s", priv->dbus_name, priv->dbus_object, error->message);
22@@ -647,7 +647,7 @@
23 menuitem_activate (DbusmenuMenuitem * mi, DbusmenuClient * client)
24 {
25 DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
26- org_freedesktop_dbusmenu_call_async (priv->menuproxy, dbusmenu_menuitem_get_id(mi), menuitem_call_cb, mi);
27+ org_ayatana_dbusmenu_call_async (priv->menuproxy, dbusmenu_menuitem_get_id(mi), menuitem_call_cb, mi);
28 return;
29 }
30
31@@ -689,7 +689,7 @@
32 propdata->item = item;
33 propdata->parent = parent;
34
35- org_freedesktop_dbusmenu_get_properties_async(proxy, id, menuitem_get_properties_new_cb, propdata);
36+ org_ayatana_dbusmenu_get_properties_async(proxy, id, menuitem_get_properties_new_cb, propdata);
37 } else {
38 g_warning("Unable to allocate memory to get properties for menuitem. This menuitem will never be realized.");
39 }
40@@ -829,7 +829,7 @@
41 update_layout_cb,
42 client,
43 NULL,
44- G_TYPE_STRING, "org.freedesktop.dbusmenu",
45+ G_TYPE_STRING, "org.ayatana.dbusmenu",
46 G_TYPE_STRING, "layout",
47 G_TYPE_INVALID, G_TYPE_VALUE, G_TYPE_INVALID);
48
49
50=== modified file 'libdbusmenu-glib/dbus-menu.xml'
51--- libdbusmenu-glib/dbus-menu.xml 2009-09-21 20:20:45 +0000
52+++ libdbusmenu-glib/dbus-menu.xml 2009-10-28 17:20:23 +0000
53@@ -28,7 +28,7 @@
54 <http://www.gnu.org/licenses/>
55 -->
56 <node name="/">
57- <interface name="org.freedesktop.dbusmenu">
58+ <interface name="org.ayatana.dbusmenu">
59
60 <!-- Properties -->
61 <property name="layout" type="s" access="read"/>
62
63=== modified file 'libdbusmenu-glib/server.c'
64--- libdbusmenu-glib/server.c 2009-09-21 20:01:40 +0000
65+++ libdbusmenu-glib/server.c 2009-10-28 17:20:23 +0000
66@@ -161,7 +161,7 @@
67 g_object_class_install_property (object_class, PROP_DBUS_OBJECT,
68 g_param_spec_string(DBUSMENU_SERVER_PROP_DBUS_OBJECT, "DBus object path",
69 "The object that represents this set of menus on DBus",
70- "/org/freedesktop/dbusmenu",
71+ "/org/ayatana/dbusmenu",
72 G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
73 g_object_class_install_property (object_class, PROP_ROOT_NODE,
74 g_param_spec_object(DBUSMENU_SERVER_PROP_ROOT_NODE, "Root menu node",
75@@ -472,7 +472,7 @@
76
77 Creates a new #DbusmenuServer object with a specific object
78 path on DBus. If @object is set to NULL the default object
79- name of "/org/freedesktop/dbusmenu" will be used.
80+ name of "/org/ayatana/dbusmenu" will be used.
81
82 Return value: A brand new #DbusmenuServer
83 */
84@@ -480,7 +480,7 @@
85 dbusmenu_server_new (const gchar * object)
86 {
87 if (object == NULL) {
88- object = "/org/freedesktop/dbusmenu";
89+ object = "/org/ayatana/dbusmenu";
90 }
91
92 DbusmenuServer * self = g_object_new(DBUSMENU_TYPE_SERVER,

Subscribers

People subscribed via source and target branches