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

« back to all changes in this revision

Viewing changes to gnome-integration/src/applet-utils.c

  • Committer: fabounet
  • Date: 2008-04-21 21:23:41 UTC
  • Revision ID: svn-v4:620951bb-bb42-0410-82c3-830e739ed170:trunk/plug-ins:864
gnome-integration pour gnome >= 2.22 (ajout des fichiers mais ne compile pas)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************************************
 
2
 
 
3
This file is a part of the cairo-dock program, 
 
4
released under the terms of the GNU General Public License.
 
5
 
 
6
Written by Fabrice Rey (for any bug report, please mail me to fabounet@users.berlios.de)
 
7
 
 
8
******************************************************************************/
 
9
#include <stdlib.h>
 
10
#include <cairo-dock.h>
 
11
 
 
12
#include "applet-utils.h"
 
13
 
 
14
 
 
15
void env_backend_logout (void)
 
16
{
 
17
        cairo_dock_launch_command ("gnome-session-save --kill --gui");
 
18
}
 
19
 
 
20
void env_backend_setup_time (void)
 
21
{
 
22
        cairo_dock_launch_command ("gksu time-admin");
 
23
}