~ubuntu-branches/ubuntu/precise/libgnomekbd/precise

« back to all changes in this revision

Viewing changes to libgnomekbd/gkbd-indicator-config.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2011-03-21 13:22:31 UTC
  • mfrom: (1.3.6 upstream) (3.2.13 experimental)
  • Revision ID: james.westby@ubuntu.com-20110321132231-zoay06noilk1thky
Tags: 2.91.91-2
* debian/libgnomekbd-common.install:
  - Install /usr/share/GConf/gsettings and /usr/share/libgnomekbd/icons
  - Add libatk1.0-dev (>= 1.32.0-2~) build-dep to be sure we have .gir file

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
/*
28
28
 * Indicator configuration
29
29
 */
30
 
typedef struct _GkbdIndicatorConfig {
 
30
typedef struct _GkbdIndicatorConfig GkbdIndicatorConfig;
 
31
struct _GkbdIndicatorConfig {
31
32
        int secondary_groups_mask;
32
33
        gboolean show_flags;
33
34
 
36
37
        gchar *foreground_color;
37
38
        gchar *background_color;
38
39
 
39
 
        GSList *enabled_plugins;
 
40
        gchar **enabled_plugins;
40
41
 
41
42
        /* private, transient */
42
 
        GConfClient *conf_client;
 
43
        GSettings *settings;
43
44
        GSList *image_filenames;
44
45
        GtkIconTheme *icon_theme;
45
46
        int config_listener_id;
46
47
        XklEngine *engine;
47
 
} GkbdIndicatorConfig;
 
48
};
48
49
 
49
50
/**
50
51
 * GkbdIndicatorConfig functions - 
52
53
 * for loading approptiate images
53
54
 */
54
55
extern void gkbd_indicator_config_init (GkbdIndicatorConfig *
55
 
                                        applet_config,
56
 
                                        GConfClient * conf_client,
57
 
                                        XklEngine * engine);
 
56
                                        applet_config, XklEngine * engine);
58
57
extern void gkbd_indicator_config_term (GkbdIndicatorConfig *
59
58
                                        applet_config);
60
59
 
61
 
extern void gkbd_indicator_config_load_from_gconf (GkbdIndicatorConfig
62
 
                                                   * applet_config);
63
 
extern void gkbd_indicator_config_save_to_gconf (GkbdIndicatorConfig *
64
 
                                                 applet_config);
 
60
extern void gkbd_indicator_config_load (GkbdIndicatorConfig
 
61
                                        * applet_config);
 
62
extern void gkbd_indicator_config_save (GkbdIndicatorConfig *
 
63
                                        applet_config);
65
64
 
66
65
extern void gkbd_indicator_config_refresh_style (GkbdIndicatorConfig *
67
66
                                                 applet_config);
85
84
 
86
85
extern void gkbd_indicator_config_start_listen (GkbdIndicatorConfig *
87
86
                                                applet_config,
88
 
                                                GConfClientNotifyFunc
89
 
                                                func, gpointer user_data);
 
87
                                                GCallback func,
 
88
                                                gpointer user_data);
90
89
 
91
90
extern void gkbd_indicator_config_stop_listen (GkbdIndicatorConfig *
92
91
                                               applet_config);