~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to capplets/default-applications/gnome-da-item.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  Authors: Luca Cavalli <loopback@slackit.org>
3
 
 *
4
 
 *  Copyright 2005-2006 Luca Cavalli
5
 
 *
6
 
 *  This program is free software; you can redistribute it and/or modify
7
 
 *  it under the terms of version 2 of the GNU General Public License
8
 
 *  as published by the Free Software Foundation
9
 
 *
10
 
 *  This program is distributed in the hope that it will be useful,
11
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
 *  GNU General Public License for more details.
14
 
 *
15
 
 *  You should have received a copy of the GNU General Public License
16
 
 *  along with this program; if not, write to the Free Software
17
 
 *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
18
 
 *
19
 
 */
20
 
 
21
 
#ifndef _GNOME_DA_ITEM_H_
22
 
#define _GNOME_DA_ITEM_H_
23
 
 
24
 
#include <glib.h>
25
 
 
26
 
typedef struct _GnomeDAItem GnomeDAItem;
27
 
 
28
 
typedef struct _GnomeDAWebItem GnomeDAWebItem;
29
 
typedef struct _GnomeDATermItem GnomeDATermItem;
30
 
typedef struct _GnomeDASimpleItem GnomeDASimpleItem;
31
 
typedef struct _GnomeDAVisualItem GnomeDAVisualItem;
32
 
typedef struct _GnomeDAMobilityItem GnomeDAMobilityItem;
33
 
 
34
 
struct _GnomeDAItem {
35
 
    gchar *name;
36
 
    gchar *executable;
37
 
    gchar *command;
38
 
    gchar *icon_name;
39
 
    gchar *icon_path;
40
 
};
41
 
 
42
 
struct _GnomeDAWebItem {
43
 
    GnomeDAItem generic;
44
 
    gboolean run_in_terminal;
45
 
    gboolean netscape_remote;
46
 
    gchar *tab_command;
47
 
    gchar *win_command;
48
 
};
49
 
 
50
 
struct _GnomeDASimpleItem {
51
 
    GnomeDAItem generic;
52
 
    gboolean run_in_terminal;
53
 
};
54
 
 
55
 
struct _GnomeDATermItem {
56
 
    GnomeDAItem generic;
57
 
    gchar *exec_flag;
58
 
};
59
 
 
60
 
struct _GnomeDAVisualItem {
61
 
    GnomeDAItem generic;
62
 
    gboolean run_at_startup;
63
 
};
64
 
 
65
 
struct _GnomeDAMobilityItem {
66
 
    GnomeDAItem generic;
67
 
    gboolean run_at_startup;
68
 
};
69
 
 
70
 
GnomeDAWebItem* gnome_da_web_item_new (void);
71
 
GnomeDATermItem* gnome_da_term_item_new (void);
72
 
GnomeDASimpleItem* gnome_da_simple_item_new (void);
73
 
GnomeDAVisualItem* gnome_da_visual_item_new (void);
74
 
GnomeDAMobilityItem* gnome_da_mobility_item_new (void);
75
 
void gnome_da_web_item_free (GnomeDAWebItem *item);
76
 
void gnome_da_term_item_free (GnomeDATermItem *item);
77
 
void gnome_da_simple_item_free (GnomeDASimpleItem *item);
78
 
void gnome_da_visual_item_free (GnomeDAVisualItem *item);
79
 
void gnome_da_mobility_item_free (GnomeDAMobilityItem *item);
80
 
 
81
 
#endif