~ubuntu-branches/ubuntu/oneiric/alarm-clock-applet/oneiric

« back to all changes in this revision

Viewing changes to src/alarm-gconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-03-17 09:02:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100317090244-ni0ye04mva2hxe10
Tags: 0.3.0-1
* New upstream release
* debian/control:
  + No change bump of Standards-Version to 3.8.4
  + Update build-deps:
    - Drop libglade, libpanel-applet, libgnomevfs2, libgnome{2,ui}
    - Add libxml2-dev and libunique-dev, intltool
* debian/patches/01_update-alarms-eta,patch:
  + Dropped, applied upstream
* debian/(alarm-clock-applet.1, alarm-clock-applet.manpages):
  + Add manpage for alarm-clock-applet, now that the binary is moved to
    /usr/bin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#define ALARM_GCONF_H_
26
26
 
27
27
#include <time.h>
28
 
#include <panel-applet-gconf.h>
 
28
//#include <panel-applet-gconf.h>
29
29
 
30
30
#include "alarm-applet.h"
31
31
 
32
32
G_BEGIN_DECLS
33
33
 
34
34
/* Global GConf keys */
35
 
#define KEY_SHOW_LABEL          "show_label"
36
 
#define KEY_LABEL_TYPE          "label_type"
 
35
#define KEY_SHOW_NOTIFY     "show_notification"
37
36
 
38
 
#define N_GCONF_PREFS           3       /* + global gconf listener */
 
37
#define N_GCONF_PREFS           2       /* + global gconf listener */
39
38
 
40
39
/* Failsafe defaults for use when the schema isn't found
41
40
 * or doesn't provide sensible defaults */
42
 
#define DEF_SHOW_LABEL          TRUE
43
 
#define DEF_LABEL_TYPE          LABEL_TYPE_TIME
44
 
 
45
 
/* We store enums as strings */
46
 
GConfEnumStringPair label_type_enum_map [];
 
41
#define DEF_SHOW_NOTIFY     TRUE
47
42
 
48
43
/*
49
44
 * Init