~cairo-dock-team/ubuntu/precise/cairo-dock/988102

« back to all changes in this revision

Viewing changes to src/help/applet-tips-dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Matthieu Baerts (matttbe)
  • Date: 2011-10-11 10:53:26 UTC
  • mfrom: (1.1.20 upstream)
  • Revision ID: james.westby@ubuntu.com-20111011105326-8s3yzoeu3wr15k9p
Tags: 2.4.0~2-0ubuntu1
[ Matthieu Baerts (matttbe) ]
* New upstream bug fix release. (LP: #859982)
* Upstream (short) ChangeLog (2.4.0~0beta2 -> 2.4.0~1):
 - Improved support of the new Gnome 3 session
    (to avoid conflicts with the new Gnome-Panel).
 - Code cleaned and re-organised a few functions
    (e.g. with cairo-dock-overlay, cairo-dock.c, etc.)
 - Updating translations
 - Improved the support of XFCE and LXDE environments
 - Removed invalid launcher desktop files
 - Used a default icon if the path set by the user is wrong
 - Fixed the possibility to sticky a desklet (bug due to a Xorg update)
 - GUI: fixed the list-entry widget
 - Fixed support of the Widget Layer in Compiz >= 0.9
 - Compiz type filter: replaced type=utility by type=Utility
 - Fixed a small refresh bug in cairo mode
    (with icons that are always visible)
 - Improved the placement of icons when avoiding the mouse
    (when something is being dropped onto the dock)
 - Updated the default theme in order to use new applications
 - Gauge implementation: Rewritten to use CairoDockImageBuffer
    and fixed the problem with png images
 - Graphs: Improved the drawing and added more precisions
 - Improved the 'lock' option description
 - GUI simple: fixed a bad update of the parameters
    when switching back to the previous value
 - Fixed the path of the preview for the default view
 - Help: Fixed the problem with tips
 - Default-theme: .conf files: fixed lintian warnings
 - Fixed a few warnings at the compilation
 - Removed a few useless output messages
 - Fixed these LP bugs:
  + Cairo-dock corrupts Kdenlive monitor display LP: #729970
  + Can't play videos in kaffeine LP: #475375
 - And fixed a lot of tiny bugs, please have a look to bzr logs.
* Upstream (short) ChangeLog (2.4.0~1 -> 2.4.0~2):
 - Fixed a bug with the detection of compiz plugins
 - doc: used the right version
 - Fixed a possible crash with an empty dock LP: #861725
 - FlyingContainer: draw the icon correctly
* debian/patches:
 - Removed 01-musicPlayer_with_banshee: now in upstream
* debian/copyright:
 - Updated and fixed lintian warnings: old-fsf-address-in-copyright-file
* debian/rules and debian/cairo-dock-data.install:
 - Added support of the new Gnome 3 session.
* debian/control:
 - Fixed lintian warning: description-synopsis-starts-with-article
 - Fixed lintian error: version-substvar-for-external-package
* debian/cairo-dock-data.lintian-overrides:
 - Removed old warnings (fixed)
 - Added binary-without-manpage (custom scripts used)
* debian/cairo-dock-core.install and debian/cairo-dock-dev.install:
 - Fixed a lintian warning: non-dev-pkg-with-shlib-symlink
* debian/patches/01-improved-cairo-dock-session.patch:
 - Improved the launch of our Cairo-Dock session (by removing Unity
    Compiz plugin and by launching the dock with a short delay)
 - Fixed lintian error: shell-script-fails-syntax-check
    (it seems I made wrong manipulation with vim...)
* debian/patches/02-manpage-not-compressed-with-max-compression.patch:
 - Fixed this lintian error: manpage-not-compressed-with-max-compression

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        gchar **pGroupList;
31
31
        gint iNbGroups;
32
32
        gchar **pKeyList;  // keys of the current group
33
 
        gint iNbKeys;
 
33
        gsize iNbKeys;
34
34
        gint iNumTipGroup;  // current group being displayed.
35
35
        gint iNumTipKey;  // current key being displayed.
36
36
        GtkWidget *pCategoryCombo;
44
44
        do
45
45
        {
46
46
                pTips->iNumTipKey ++;
47
 
                if (pTips->iNumTipKey >= pTips->iNbKeys)  // no more key, go to next group.
 
47
                if (pTips->iNumTipKey >= (gint) pTips->iNbKeys)  // no more key, go to next group.
48
48
                {
49
49
                        pTips->iNumTipGroup ++;
50
50
                        if (pTips->iNumTipGroup >= pTips->iNbGroups)  // no more group, restart from first group.
151
151
        gchar *cText = g_strdup_printf ("<b>%s</b>\n\n<i>%s</i>\n\n%s",
152
152
                _("Tips and Tricks"),
153
153
                (pAuthorizedValuesList1 ? gettext (pAuthorizedValuesList1[0]) : ""),
154
 
                cText2);
 
154
                gettext (cText2));
155
155
        
156
156
        g_strfreev (pAuthorizedValuesList1);
157
157
        g_strfreev (pAuthorizedValuesList2);
201
201
                        G_TYPE_INVALID);
202
202
                g_free (cConfFilePath);
203
203
        }
204
 
        g_print ("tips : %d/%d\n", pTips->iNumTipGroup, pTips->iNumTipKey);
 
204
        cd_debug ("tips : %d/%d", pTips->iNumTipGroup, pTips->iNumTipKey);
205
205
}
206
206
static void _on_free_tips_dialog (CDTipsData *pTips)
207
207
{