~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2013-11-25 01:38:36 UTC
  • mfrom: (1.1.35)
  • Revision ID: package-import@ubuntu.com-20131125013836-5gkgp7l7h5pabiq7
Tags: 3.3.2-0ubuntu0.1
* New upstream release. (bug-fix version)
* Detailed Upstream ChangeLog (3.3.1 -> 3.3.2)
  - Animated-icons: add the option to disable the 'opening animations'
    in Animated-icons' settings
  - DBus: third-party: init: register the applets after having set the
    text domain for gettext (to translate some titles)
  - Dock-rendering: panel view: fixed the input shape when there is a
    single group of icons (no separator) LP: #1089052
  - GMenu:
    - Apps: fixed tiny memory leak when stopping GMenu
    - Apps: New app: avoid multiple dialogues and select the first item
      in the list
    - Entry: with GTK 3.10: both the entry and the menu receive the signal
      that a key is pressed. This causes a bug: each character is doubled
    - Menus: added a workaround for libgnomemenu if XDG_CURRENT_DESKTOP
      is not defined (e.g. when using XFCE)
  - Icon Effect: config: move 'opening animation' option to 'when
    clicking on a launcher' section
  - MusicPlayer: fixed a bug when changing the player and fixed a few
    small memory leaks
  - System Monitor:
    - SWAP percent was computed twice
    - Fixed a possible crash if we want to display more than 4 values in
      a graph view
  - Shortcuts: bookmarks file:
    - If the file doesn't exist, first create the directory before
      creating an empty file LP: #1244997
    - Check for the existence of the old and new bookmark files to decide
      which one to use (useful for Mint 14 for instance)
  - Weather: on double-click on the main icon, show the hourly forecast
  - Translations: imported translations from Launchpad. LP: #1243608
* debian/control:
  - bumped Cairo-Dock (core) versions
  - bumped Standards-Version to 3.9.4 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
*/
19
19
 
20
 
 
21
20
#ifndef __APPLET_BOOKMARKS__
22
21
#define  __APPLET_BOOKMARKS__
23
22
 
24
23
#include <cairo-dock.h>
25
24
 
26
 
#if GTK_CHECK_VERSION (3, 6, 0)
27
 
#define GTK_BOOKMARKS_PATH ".config/gtk-3.0/bookmarks"
28
 
#else
29
 
#define GTK_BOOKMARKS_PATH ".gtk-bookmarks"
30
 
#endif
 
25
#define GTK_BOOKMARKS_PATH ".config/gtk-3.0/bookmarks"  // from 3.6
 
26
#define GTK_BOOKMARKS_PATH_OLD ".gtk-bookmarks"
31
27
 
32
28
void cd_shortcuts_on_bookmarks_event (CairoDockFMEventType iEventType, const gchar *cURI, GldiModuleInstance *myApplet);
33
29
 
34
30
 
35
 
void cd_shortcuts_remove_one_bookmark (const gchar *cURI);
36
 
 
37
 
void cd_shortcuts_rename_one_bookmark (const gchar *cURI, const gchar *cName);
38
 
 
39
 
void cd_shortcuts_add_one_bookmark (const gchar *cURI);
 
31
void cd_shortcuts_remove_one_bookmark (const gchar *cURI, GldiModuleInstance *myApplet);
 
32
 
 
33
void cd_shortcuts_rename_one_bookmark (const gchar *cURI, const gchar *cName, GldiModuleInstance *myApplet);
 
34
 
 
35
void cd_shortcuts_add_one_bookmark (const gchar *cURI, GldiModuleInstance *myApplet);
40
36
 
41
37
 
42
38
GList *cd_shortcuts_list_bookmarks (gchar *cBookmarkFilePath, GldiModuleInstance *myApplet);