~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to src/browser.h

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <glib.h>
25
25
 
 
26
/** Browser preference definition structure */
 
27
struct browser {
 
28
        gchar *id;                      /**< Unique ID used in storing the prefs */
 
29
        gchar *display;                 /**< Name to display in the prefs */
 
30
        gchar *defaultplace;            /**< Default command.... Use %s to specify URL. This command is called in the background. */
 
31
        gchar *existingwin;             /**< Optional command variant for opening in existing window */
 
32
        gchar *existingwinremote;       /**< Optional command variant for opening in existing window with remote protocol */
 
33
        gchar *newwin;                  /**< Optional command variant for opening in new window */
 
34
        gchar *newwinremote;            /**< Optional command variant for opening in new window with remote protocol */
 
35
        gchar *newtab;                  /**< Optional command variant for opening in new tab */
 
36
        gchar *newtabremote;            /**< Optional command variant for opening in new tab with remote protocol */
 
37
};
 
38
 
 
39
/**
 
40
 * Return the list of all supported browser definitions.
 
41
 *
 
42
 * @returns NULL terminated array of browser definitions
 
43
 */
 
44
struct browser * browser_get_all (void);
 
45
 
26
46
/**
27
47
 * Function to execute the commands needed to open up a URL with the
28
48
 * browser specified in the preferences.