~ubuntu-branches/ubuntu/natty/gnome-panel/natty

« back to all changes in this revision

Viewing changes to bonobo/libpanel-applet/panel-applet-gconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-09 15:06:29 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101109150629-whuwed41qbhpxk9j
Tags: 1:2.32.0.2-0ubuntu1
* New upstream version
* debian/control.in:
  - recommends python-gconf and python rather than depends on it,
    gnome-panel-add is the only code to use those
  - clean the python-gnome2 depends
  - list the new binaries for libpanel-applet3 and gir
  - set a new gnome-panel-bonobo binary with the bonobo loader
  - recommends gnome-settings-daemon which has the timezone polkit service
  - updated glib requirement and the build depends for the gir build
  - use dh-autoreconf
* Updated the .install files for the new version
* debian/patches/01_layout.patch:
  - new version update
* debian/patches/04_default_panel_config.patch:
  - updated the layout
* debian/patches/90_git_wnck_show_realize.patch,
  debian/patches/91_git_wnck_pager_update.patch:
 - the fixes are in the next version
* debian/patches/99_ltmain_as-needed.patch:
  - dropped, it's not required with --as-needed by default in natty
* debian/rules:
  - call dh_girepository
  - comment the ldflag options to workaround build issues 
  - updated shlibs version
  - use dh-autoreconf rather than the cdbs way

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * panel-applet-gconf.h: panel applet preferences handling.
 
3
 *
 
4
 * Copyright (C) 2001-2003 Sun Microsystems, Inc.
 
5
 *
 
6
 * This library is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Library General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2 of the License, or (at your option) any later version.
 
10
 *
 
11
 * This library is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * Library General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU Library General Public
 
17
 * License along with this library; if not, write to the
 
18
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
19
 * Boston, MA 02111-1307, USA.
 
20
 *
 
21
 * Authors:
 
22
 *     Mark McLoughlin <mark@skynet.ie>
 
23
 */
 
24
 
 
25
#ifndef __PANEL_APPLET_GCONF_H__
 
26
#define __PANEL_APPLET_GCONF_H__
 
27
 
 
28
#include <glib.h>
 
29
#include <gconf/gconf-value.h>
 
30
 
 
31
#include <panel-applet.h>
 
32
 
 
33
G_BEGIN_DECLS
 
34
 
 
35
gchar       *panel_applet_gconf_get_full_key (PanelApplet     *applet,
 
36
                                              const gchar     *key);
 
37
 
 
38
void         panel_applet_gconf_set_bool     (PanelApplet     *applet,
 
39
                                              const gchar     *key,
 
40
                                              gboolean         the_bool,
 
41
                                              GError         **opt_error);
 
42
void         panel_applet_gconf_set_int      (PanelApplet     *applet,
 
43
                                              const gchar     *key,
 
44
                                              gint             the_int,
 
45
                                              GError         **opt_error);
 
46
void         panel_applet_gconf_set_string   (PanelApplet     *applet,
 
47
                                              const gchar     *key,
 
48
                                              const gchar     *the_string,
 
49
                                              GError         **opt_error);
 
50
void         panel_applet_gconf_set_float    (PanelApplet     *applet,
 
51
                                              const gchar     *key,
 
52
                                              gdouble          the_float,
 
53
                                              GError         **opt_error);
 
54
void         panel_applet_gconf_set_list     (PanelApplet     *applet,
 
55
                                              const gchar     *key,
 
56
                                              GConfValueType   list_type,
 
57
                                              GSList          *list,
 
58
                                              GError         **opt_error);
 
59
void         panel_applet_gconf_set_value    (PanelApplet     *applet,
 
60
                                              const gchar     *key,
 
61
                                              GConfValue      *value,
 
62
                                              GError         **opt_error);
 
63
 
 
64
gboolean     panel_applet_gconf_get_bool     (PanelApplet     *applet,
 
65
                                              const gchar     *key,
 
66
                                              GError         **opt_error);
 
67
gint         panel_applet_gconf_get_int      (PanelApplet     *applet,
 
68
                                              const gchar     *key,
 
69
                                              GError         **opt_error);
 
70
gchar       *panel_applet_gconf_get_string   (PanelApplet     *applet,
 
71
                                              const gchar     *key,
 
72
                                              GError         **opt_error);
 
73
gdouble      panel_applet_gconf_get_float    (PanelApplet     *applet,
 
74
                                              const gchar     *key,
 
75
                                              GError         **opt_error);
 
76
GSList      *panel_applet_gconf_get_list     (PanelApplet     *applet,
 
77
                                              const gchar     *key,
 
78
                                              GConfValueType   list_type,
 
79
                                              GError         **opt_error);
 
80
GConfValue  *panel_applet_gconf_get_value    (PanelApplet     *applet,
 
81
                                              const gchar     *key,
 
82
                                              GError         **opt_error);
 
83
 
 
84
G_END_DECLS
 
85
 
 
86
#endif /* __PANEL_APPLET_GCONF_H__ */