~ubuntu-branches/ubuntu/lucid/libdbusmenu/lucid

« back to all changes in this revision

Viewing changes to libdbusmenu-glib/server.c

  • Committer: Bazaar Package Importer
  • Author(s): Ted Gould
  • Date: 2009-12-10 12:55:07 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20091210125507-yx4fl4zwe0tt5e60
Tags: 0.1.8-0ubuntu1
* Upstream release 0.1.8
  * Changing the name to org.ayatana
  * Underline fixes
  * Documenation of the DBus API 
  * Adding the GPL v3 Copying file so that we're all legal.

Show diffs side-by-side

added added

removed removed

Lines of Context:
161
161
        g_object_class_install_property (object_class, PROP_DBUS_OBJECT,
162
162
                                         g_param_spec_string(DBUSMENU_SERVER_PROP_DBUS_OBJECT, "DBus object path",
163
163
                                                      "The object that represents this set of menus on DBus",
164
 
                                                      "/org/freedesktop/dbusmenu",
 
164
                                                      "/org/ayatana/dbusmenu",
165
165
                                                      G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS));
166
166
        g_object_class_install_property (object_class, PROP_ROOT_NODE,
167
167
                                         g_param_spec_object(DBUSMENU_SERVER_PROP_ROOT_NODE, "Root menu node",
472
472
 
473
473
        Creates a new #DbusmenuServer object with a specific object
474
474
        path on DBus.  If @object is set to NULL the default object
475
 
        name of "/org/freedesktop/dbusmenu" will be used.
 
475
        name of "/org/ayatana/dbusmenu" will be used.
476
476
 
477
477
        Return value: A brand new #DbusmenuServer
478
478
*/
480
480
dbusmenu_server_new (const gchar * object)
481
481
{
482
482
        if (object == NULL) {
483
 
                object = "/org/freedesktop/dbusmenu";
 
483
                object = "/org/ayatana/dbusmenu";
484
484
        }
485
485
 
486
486
        DbusmenuServer * self = g_object_new(DBUSMENU_TYPE_SERVER,