~ubuntu-branches/ubuntu/precise/cairo-dock/precise-updates

« back to all changes in this revision

Viewing changes to src/icon-factory/cairo-dock-applet-factory.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2011-03-17 14:08:48 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20110317140848-b8efysl4ynhjm87k
Tags: 2.3.0~1-0ubuntu1
* New Upstream Version (LP: #723994)
* Upstream short ChangeLog:
 - Updated translations
 - Updated the integration of the new versions of kwin and compiz
 - Updated default theme
 - Fixed a few bugs
 - Updated the man
* debian/control:
 - Added suggests apps for cairo-dock-core (needed by the default theme)
 - Updated the description (from launchpad.net/cairo-dock)
 - Added cairo-dock-plug-ins as a new suggestion for cairo-dock-core
* debian/patches:
 - Updated the default theme to use default apps of Ubuntu Natty 
* Switch to dpkg-source 3.0 (quilt) format
* Removed the desktop-file-category patch (sync with debian packages)
* debian/rules:
 - Added a CMake flag to disable the gtk grip
 - No longer used simple-patchsys
* Updated the debian/watch

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <stdlib.h>
23
23
#include <cairo.h>
24
24
 
25
 
#include "cairo-dock-icons.h"
26
 
#include "cairo-dock-modules.h"
 
25
#include "cairo-dock-icon-factory.h"
 
26
#include "cairo-dock-module-factory.h"
27
27
#include "cairo-dock-log.h"
28
28
#include "cairo-dock-applet-factory.h"
29
29
 
31
31
Icon *cairo_dock_new_applet_icon (CairoDockMinimalAppletConfig *pMinimalConfig, CairoDockModuleInstance *pModuleInstance)
32
32
{
33
33
        //\____________ On cree l'icone.
34
 
        Icon *icon = g_new0 (Icon, 1);
35
 
        icon->iType = CAIRO_DOCK_APPLET;
 
34
        Icon *icon = cairo_dock_new_icon ();
36
35
        icon->iTrueType = CAIRO_DOCK_ICON_TYPE_APPLET;
 
36
        icon->iGroup = CAIRO_DOCK_APPLET;
37
37
        icon->pModuleInstance = pModuleInstance;
38
38
        
39
39
        //\____________ On recupere les infos de sa config.