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

« back to all changes in this revision

Viewing changes to src/cairo-dock-desktop-file-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:
36
36
#include "cairo-dock-dialogs.h"
37
37
#include "cairo-dock-log.h"
38
38
#include "cairo-dock-dock-manager.h"
39
 
#include "cairo-dock-internal-system.h"
40
39
#include "cairo-dock-desktop-file-factory.h"
41
40
 
42
41
extern gchar *g_cCurrentThemePath;
116
115
                return NULL;
117
116
        }
118
117
 
119
 
        //\___________________ On supprime a la main les '%20' qui foutent le boxon (rare).
120
 
        cairo_dock_remove_html_spaces (cFilePath);
121
 
 
122
118
        //\___________________ On ouvre le patron.
123
119
        GKeyFile *pKeyFile = cairo_dock_open_key_file (cFilePath);
124
120
        if (pKeyFile == NULL)
214
210
        gboolean bIsDirectory;
215
211
        int iVolumeID;
216
212
        double fUnusedOrder;
217
 
        if (! cairo_dock_fm_get_file_info (cURI, &cName, &cRealURI, &cIconName, &bIsDirectory, &iVolumeID, &fUnusedOrder, mySystem.iFileSortType) || cIconName == NULL)
 
213
        if (! cairo_dock_fm_get_file_info (cURI, &cName, &cRealURI, &cIconName, &bIsDirectory, &iVolumeID, &fUnusedOrder, 0) || cIconName == NULL)
218
214
                return NULL;
219
215
        cd_message (" -> cIconName : %s; bIsDirectory : %d; iVolumeID : %d\n", cIconName, bIsDirectory, iVolumeID);
220
216
 
348
344
        if (cairo_dock_conf_file_needs_update (pKeyFile, CAIRO_DOCK_VERSION))
349
345
        {
350
346
                const gchar *cTemplateFile = _cairo_dock_get_launcher_template_conf_file (iLauncherType);
351
 
                g_print ("%s (%s)\n", __func__, cTemplateFile);
 
347
                cd_debug ("%s (%s)", __func__, cTemplateFile);
352
348
                cairo_dock_flush_conf_file_full (pKeyFile,
353
349
                        cDesktopFilePath,
354
350
                        CAIRO_DOCK_SHARE_DATA_DIR,