~ubuntu-branches/ubuntu/oneiric/almanah/oneiric

« back to all changes in this revision

Viewing changes to src/main.h

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-04-18 16:21:36 UTC
  • mfrom: (1.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110418162136-l0ik4snrl420srer
Tags: 0.8.0-1
* New upstream release
* Temporarily remove evolution support in unstable
* Disable AM_GCONF_SOURCE_2 macro to fix ftbfs in unstable
  - debian/patches/disable_am_gconf_source_2
  - Build-Depends on dh-autoreconf
  - Use --with autoreconf in rules
* debian/control:
  - Build-Depends on libgtk-3-dev
* debian/rules:
  - Remove unnecessary override_dh_auto_install
* debian/copyright:
  - Update copyright years
  - Update license stanza
* Bump Standards-Version to 3.9.1 (no changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include <config.h>
21
21
#include <gtk/gtk.h>
22
22
#include <glib.h>
23
 
#include <gconf/gconf-client.h>
 
23
#include <gio/gio.h>
24
24
 
25
25
#include "storage-manager.h"
26
26
#include "event-manager.h"
28
28
#ifndef ALMANAH_MAIN_H
29
29
#define ALMANAH_MAIN_H
30
30
 
31
 
#ifdef ENABLE_ENCRYPTION
32
 
#define ENCRYPTION_KEY_GCONF_PATH "/apps/almanah/encryption_key"
33
 
#endif /* ENABLE_ENCRYPTION */
34
 
 
35
31
G_BEGIN_DECLS
36
32
 
37
33
typedef struct {
38
34
        AlmanahStorageManager *storage_manager;
39
35
        AlmanahEventManager *event_manager;
40
 
        GConfClient *gconf_client;
 
36
        GSettings *settings;
41
37
        GtkPrintSettings *print_settings;
42
38
        GtkPageSetup *page_setup;
43
39
 
46
42
        GtkWidget *search_dialog;
47
43
        GtkWidget *date_entry_dialog;
48
44
        GtkWidget *definition_manager_window;
49
 
        GtkWidget *import_dialog;
50
45
#ifdef ENABLE_ENCRYPTION
51
46
        GtkWidget *preferences_dialog;
52
47
#endif /* ENABLE_ENCRYPTION */
53
48
 
54
49
        gboolean debug;
55
 
        gboolean import_mode;
56
50
} Almanah;
57
51
 
58
52
extern Almanah *almanah;
59
53
 
 
54
gboolean almanah_run_on_screen (GdkScreen *screen, const gchar *commandline, GError **error);
60
55
void almanah_quit (void);
61
56
 
62
57
G_END_DECLS