~ubuntu-branches/ubuntu/oneiric/cairo-dock/oneiric-201106091216

« back to all changes in this revision

Viewing changes to src/cairo-dock-separator-factory.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe), Matthieu Baerts (matttbe), Didier Roche
  • Date: 2010-03-01 21:24:00 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100301212400-3a3csog6eonse3in
Tags: 2.1.3-6-0ubuntu1
[ Matthieu Baerts (matttbe) ]
* New Upstream Version. (LP: #521534)
* Updated debian/watch and debian/copyright with LP account.
* Removed debian/patches/02-merge-changelog.patch'
 - data/ChangeLog.txt has to respect a syntax and is used by CD.
* debian/cairo-dock.1:
 - Updated with the latest release.
 - The domain name 'cairo-dock.org' has changed to 'glx-dock.org'
* debian/control:
 - Changed the homepage and other links (glx-dock.org)
 - Updated cairo-dock-dev architecture to 'all' (it no longer contains compiled files)
* debian/cairo-dock-dev.install
 - libcairo-dock.a and libcairo-dock.so no longer exist
* debian/rules
 - removed uneeded changelog file
* Updated debian/patches/01-desktop-file-category.patch

[ Didier Roche ]
* Fix debian/watch
* Fix some issue in versionning
* debian/control: clean the packaging and add right -plugins depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        else
54
54
        {
55
55
                gchar *cImagePath = cairo_dock_generate_file_path (myIcons.cSeparatorImage);
56
 
                double fRotationAngle;
 
56
                double fRotationAngle;  // on est oblig� de faire la rotation maintenant plutot que pendant le dessin, a cause du reflet a charger en cairo.
57
57
                if (! myIcons.bRevolveSeparator)
58
58
                        fRotationAngle = 0;
59
59
                else if (bIsHorizontal)
93
93
Icon *cairo_dock_create_separator_icon (cairo_t *pSourceContext, int iSeparatorType, CairoDock *pDock)
94
94
{
95
95
        //g_print ("%s ()\n", __func__);
96
 
        if ((iSeparatorType & 1) && ! myIcons.bUseSeparator)
 
96
        if ((iSeparatorType & 1) && ! myIcons.iSeparateIcons)
97
97
                return NULL;
98
 
 
 
98
        
 
99
        //\____________ On cree l'icone.
99
100
        Icon *icon = g_new0 (Icon, 1);
100
101
        icon->iType = iSeparatorType;
101
 
        cairo_dock_fill_one_icon_buffer (icon, pSourceContext, 1 + myIcons.fAmplitude, pDock->container.bIsHorizontal, pDock->container.bDirectionUp);
102
 
 
103
 
        icon->fWidth *= pDock->container.fRatio;
104
 
        icon->fHeight *= pDock->container.fRatio;
105
 
        //g_print ("1 separateur : %.2fx%.2f\n", icon->fWidth, icon->fHeight);
 
102
        
 
103
        //\____________ On remplit ses buffers.
 
104
        cairo_dock_fill_icon_buffers_for_dock (icon, pSourceContext, pDock);
 
105
        ///cairo_dock_fill_one_icon_buffer (icon, pSourceContext, 1 + myIcons.fAmplitude, pDock->container.bIsHorizontal, pDock->container.bDirectionUp);
106
106
 
107
107
        return icon;
108
108
}