diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 02:37:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-28 08:03:45 +0800 |
commit | 15da8fa99012875735ffa3a1eb54670b6d42bea4 (patch) | |
tree | ad1cf7e47d26594199ed456207d631c2286d331a /e-util/e-util.h | |
parent | beb8b31cd4936483ab140b52cdeb6f5d9ee6a4be (diff) | |
download | gsoc2013-evolution-15da8fa99012875735ffa3a1eb54670b6d42bea4.tar.gz gsoc2013-evolution-15da8fa99012875735ffa3a1eb54670b6d42bea4.tar.zst gsoc2013-evolution-15da8fa99012875735ffa3a1eb54670b6d42bea4.zip |
Add e_restore_window().
Replaces gconf_bridge_bind_window().
Requires a GSettings path to a "org.gnome.evolution.window" schema.
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index de2a817171..c95ef0c4f8 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -46,11 +46,19 @@ typedef enum { E_FOCUS_END } EFocus; +typedef enum { + E_RESTORE_WINDOW_SIZE = 1 << 0, + E_RESTORE_WINDOW_POSITION = 1 << 1 +} ERestoreWindowFlags; + const gchar * e_get_accels_filename (void); void e_show_uri (GtkWindow *parent, const gchar *uri); void e_display_help (GtkWindow *parent, const gchar *link_id); +void e_restore_window (GtkWindow *window, + const gchar *settings_path, + ERestoreWindowFlags flags); GtkAction * e_lookup_action (GtkUIManager *ui_manager, const gchar *action_name); GtkActionGroup *e_lookup_action_group (GtkUIManager *ui_manager, |