~cairo-dock-team/ubuntu/oneiric/cairo-dock-plug-ins/2.3.0-2.1

« back to all changes in this revision

Viewing changes to shortcuts/src/applet-bookmarks.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe), Matthieu Baerts (matttbe), Didier Roche
  • Date: 2010-09-18 14:20:27 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100918142027-b0zsay70mqxv63l0
Tags: 2.2.0~2-0ubuntu1
[ Matthieu Baerts (matttbe) ]
* New Upstream Version (LP: #638529)
* Fixed a few bugs on LP:
 - Fixed a crash in rainbow view when the cone is completely opened
 - Fixed a crash in rainbow view if the subdock is empty
 - Installed in lib directory by default even in 64bits arch
 - Status-Notifier: fixed few bugs
 - Clock applet:
   - Notify of missed tasks (moved some functions to a new file)
   - Fixed a little memory leak
 - Removed some 'g_print' (LP: #500677: xsession-errors log)
* Updated translations
* debian/control
 - Updated the version of cairo-dock-dev and cairo-dock-core

[ Didier Roche ]
* debian/control: depends on latest libindicator-dev (LP: #637692)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        static int iTime = 0;
36
36
        iTime ++;
37
37
        CD_APPLET_ENTER;
38
 
        g_print ("%s (%d)\n", __func__, iEventType);
 
38
        //g_print ("%s (%d)\n", __func__, iEventType);
39
39
        GList *pIconsList = CD_APPLET_MY_ICONS_LIST;
40
40
        CairoContainer *pContainer = CD_APPLET_MY_ICONS_LIST_CONTAINER;
41
41
        CD_APPLET_LEAVE_IF_FAIL (pContainer != NULL);
101
101
                                {
102
102
                                        if (cairo_dock_strings_differ (pExistingIcon->cName, cUserName) || cURI == NULL)  // signet inexistant ou qui a change => on le cree.
103
103
                                        {
104
 
                                                g_print ("le signet '%s' a change, on le recree\n", pExistingIcon->cName);
 
104
                                                //g_print ("le signet '%s' a change, on le recree\n", pExistingIcon->cName);
105
105
                                                CD_APPLET_REMOVE_ICON_FROM_MY_ICONS_LIST (pExistingIcon);
106
106
                                                pExistingIcon = NULL;
107
107
                                        }
110
110
                                }
111
111
                                if (pExistingIcon == NULL)
112
112
                                {
113
 
                                        g_print ("new bookmark : '%s'\n", cOneBookmark);
 
113
                                        //g_print ("new bookmark : '%s'\n", cOneBookmark);
114
114
                                        
115
115
                                        cName = NULL;
116
116
                                        cRealURI = NULL;
172
172
                                        {
173
173
                                                if (icon->iLastCheckTime != iTime)
174
174
                                                {
175
 
                                                        g_print ("this bookmark is too old (%s)\n", icon->cName);
 
175
                                                        //g_print ("this bookmark is too old (%s)\n", icon->cName);
176
176
                                                        CD_APPLET_REMOVE_ICON_FROM_MY_ICONS_LIST (icon);
177
177
                                                        bRemove = TRUE;
178
178
                                                        break;