~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to desklet-rendering/src/rendering-init.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-08-26 21:07:39 UTC
  • Revision ID: james.westby@ubuntu.com-20090826210739-gyjuuqezrzuluao4
Tags: upstream-2.0.8.1
ImportĀ upstreamĀ versionĀ 2.0.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
* This file is a part of the Cairo-Dock project
 
3
*
 
4
* Copyright : (C) see the 'copyright' file.
 
5
* E-mail    : see the 'copyright' file.
 
6
*
 
7
* This program is free software; you can redistribute it and/or
 
8
* modify it under the terms of the GNU General Public License
 
9
* as published by the Free Software Foundation; either version 3
 
10
* of the License, or (at your option) any later version.
 
11
*
 
12
* This program is distributed in the hope that it will be useful,
 
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
* GNU General Public License for more details.
 
16
* You should have received a copy of the GNU General Public License
 
17
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
*/
 
19
 
 
20
/******************************************************************************
 
21
 
 
22
This file is a part of the cairo-dock program,
 
23
released under the terms of the GNU General Public License.
 
24
 
 
25
Written by Fabrice Rey (for any bug report, please mail me to fabounet@users.berlios.de)
 
26
 
 
27
******************************************************************************/
 
28
#include "stdlib.h"
 
29
 
 
30
#include "rendering-config.h"
 
31
#include "rendering-desklet-tree.h"
 
32
#include "rendering-desklet-caroussel.h"
 
33
#include "rendering-desklet-simple.h"
 
34
#include "rendering-desklet-controler.h"
 
35
#include "rendering-desklet-mediaplayer.h"
 
36
#include "rendering-desklet-decorations.h"
 
37
#include "rendering-init.h"
 
38
 
 
39
 
 
40
CD_APPLET_PRE_INIT_BEGIN (N_("desklet rendering"),
 
41
        2,0,0,
 
42
        CAIRO_DOCK_CATEGORY_THEME,
 
43
        N_("This module provides different views for your desklets."),
 
44
        "Fabounet (Fabrice Rey)")
 
45
        //\_______________ On definit notre interface.
 
46
        pInterface->read_conf_file = read_conf_file;
 
47
        pInterface->reset_config = reset_config;
 
48
        pInterface->reset_data = reset_data;
 
49
 
 
50
        //\_______________ On enregistre les vues.
 
51
        rendering_register_tree_desklet_renderer ();
 
52
        rendering_register_caroussel_desklet_renderer ();
 
53
        rendering_register_simple_desklet_renderer ();
 
54
        rendering_register_controler_desklet_renderer ();
 
55
        rendering_register_mediaplayer_desklet_renderer ();  // By ChAnGFu
 
56
        
 
57
        //\_______________ On enregistre les decorations.
 
58
        cd_rendering_register_desklet_decorations ();
 
59
 
 
60
        CD_APPLET_ATTACH_TO_INTERNAL_MODULE ("Desklets");
 
61
CD_APPLET_PRE_INIT_END
 
62
 
 
63
 
 
64
/*CD_APPLET_RELOAD_BEGIN
 
65
        if (CD_APPLET_MY_CONFIG_CHANGED)
 
66
        {
 
67
                
 
68
                ///cairo_dock_set_all_views_to_default ();
 
69
        }
 
70
CD_APPLET_RELOAD_END*/
 
71