~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to Dbus/src/applet-dbus.c

  • Committer: Matthieu Baerts
  • Date: 2012-11-07 17:44:38 UTC
  • Revision ID: matttbe@gmail.com-20121107174438-0ll51mtsvmsglk5k
DBus: remaned cairo-dock-unity-bridge to cairo-dock-launcher-API-daemon
This script is not really a bridge but it replaces the Unity Launcher API daemon.
Unity is not required, if an application supports the Unity Launcher API, the dock should act as "Unity's dock".
 + Added an option to not launch it at startup

Show diffs side-by-side

added added

removed removed

Lines of Context:
509
509
        }
510
510
        
511
511
        //\____________ Start the bridge to Unity Launcher API.
 
512
        /* launch it asap, because if another Unity claims the bus before us,
 
513
         * the messages will be emitted on the bus, and we might miss them.
 
514
         */
512
515
        #ifdef DBUSMENU_GTK_FOUND // need SetMenu => DBusMenu
513
 
        cairo_dock_launch_command (CD_PLUGINS_DIR"/cairo-dock-unity-bridge");  // launch it asap, because if another Unity claims the bus before us, the messages will be emited on the bus, and we might miss them.
 
516
        if (myConfig.bLaunchLauncherAPIDaemon)
 
517
                cairo_dock_launch_command (CD_PLUGINS_DIR"/cairo-dock-launcher-API-daemon");
514
518
        #endif
515
519
}
516
520