aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-02 08:20:35 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-03 04:36:11 +0800
commit7959b11113a399f649c28b86fb57daf8c6c542b9 (patch)
treec0485f8ba9e9555cb4a22e22edf3625a79bfbd75 /shell
parentf5f7d23c543fc3d110c9713e9335c1cd41a16aff (diff)
downloadgsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar.gz
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar.bz2
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar.lz
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar.xz
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.tar.zst
gsoc2013-evolution-7959b11113a399f649c28b86fb57daf8c6c542b9.zip
Convert "startup-wizard" to an EExtension.
Convert the "startup-wizard" EPlugin to an EExtension, and fix up the importing UI a bit (but it still needs a lot more love). Importing progress is now shown directly in the GtkAssistant window. Define a new EConfigItem type (E_CONFIG_PAGE_PROGRESS) for creating progress pages in a GtkAssistant. Also, change EMAccountEditor semantics slightly: you now have to call e_config_create_window() manually after creating a new EMAccountEditor instance. This allows extra EConfigItems (specifications for the window content) to be added manually before the window is created.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 60bbe30526..2345d70654 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1948,13 +1948,17 @@ e_shell_adapt_window_size (EShell *shell,
void
e_shell_set_startup_view (EShell *shell,
- const gchar *view)
+ const gchar *view)
{
- shell->priv->startup_view = g_strdup(view);
+ g_return_if_fail (E_IS_SHELL (shell));
+
+ shell->priv->startup_view = g_strdup (view);
}
const gchar *
e_shell_get_startup_view (EShell *shell)
{
+ g_return_val_if_fail (E_IS_SHELL (shell), NULL);
+
return shell->priv->startup_view;
}