~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-updates

« back to all changes in this revision

Viewing changes to quick-browser/src/applet-init.c

  • Committer: Kees Cook
  • Date: 2011-08-11 23:17:39 UTC
  • mfrom: (20.1.1 cairo-dock-plug-ins)
  • Revision ID: kees@outflux.net-20110811231739-cteedan51tmdg77v
Tags: 2.4.0~0beta2-0ubuntu1
releasing version 2.4.0~0beta2-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "applet-init.h"
27
27
 
28
28
 
29
 
CD_APPLET_DEFINITION (N_("Quick Browser"),
 
29
CD_APPLET_DEFINE_BEGIN (N_("Quick Browser"),
30
30
        2, 0, 0,
31
31
        CAIRO_DOCK_CATEGORY_APPLET_FILES,
32
32
        N_("This applet lets you browse a folder and its sub-folders very quickly.\n"
34
34
        "Midlle-click will open the main folder.\n"
35
35
        "This applet can be instanciated several times, if you want to browse different folders."),
36
36
        "Fabounet (Fabrice Rey)")
 
37
        CD_APPLET_DEFINE_COMMON_APPLET_INTERFACE
 
38
        CD_APPLET_ALLOW_EMPTY_TITLE
 
39
CD_APPLET_DEFINE_END
37
40
 
38
41
 
39
42
//\___________ Here is where you initiate your applet. myConfig is already set at this point, and also myIcon, myContainer, myDock, myDesklet (and myDrawContext if you're in dock mode). The macro CD_APPLET_MY_CONF_FILE and CD_APPLET_MY_KEY_FILE can give you access to the applet's conf-file and its corresponding key-file (also available during reload). If you're in desklet mode, myDrawContext is still NULL, and myIcon's buffers has not been filled, because you may not need them then (idem when reloading).