aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
Diffstat (limited to 'capplet')
-rw-r--r--capplet/anjal-settings-main.c35
-rw-r--r--capplet/settings/.mail-account-view.c.swpbin73728 -> 0 bytes
-rw-r--r--capplet/settings/mail-capplet-shell.c8
3 files changed, 5 insertions, 38 deletions
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index 2fb5b448dd..081424e3dd 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -99,44 +99,11 @@ categories_icon_theme_hack (void)
static EShell *
create_default_shell (void)
{
- EShell *shell;
- const gchar *key;
- gboolean is_meego = FALSE, small_screen = FALSE;
- gboolean express_mode = TRUE;
- GSettings *settings;
- GError *error = NULL;
- GApplicationFlags flags;
-
- settings = g_settings_new ("org.gnome.evolution.shell");
-
main_window = mail_capplet_shell_new (socket_id, FALSE, TRUE);
if (!socket_id)
gtk_widget_show (main_window);
- if (!express_mode)
- express_mode = g_settings_get_boolean (settings, "express-mode");
-
- if (express_mode)
- e_shell_detect_meego (&is_meego, &small_screen);
-
- flags = G_APPLICATION_HANDLES_OPEN |
- G_APPLICATION_HANDLES_COMMAND_LINE;
-
- shell = g_initable_new (
- E_TYPE_SHELL, NULL, &error,
- "application-id", "org.gnome.EvolutionSettings",
- "flags", flags,
- "geometry", "",
- "module-directory", EVOLUTION_MODULEDIR,
- "meego-mode", is_meego,
- "express-mode", express_mode,
- "small-screen-mode", small_screen,
- "online", TRUE,
- NULL);
-
- g_object_unref (settings);
-
- return shell;
+ return e_shell_get_default();
}
gint
diff --git a/capplet/settings/.mail-account-view.c.swp b/capplet/settings/.mail-account-view.c.swp
deleted file mode 100644
index 04395e1fc5..0000000000
--- a/capplet/settings/.mail-account-view.c.swp
+++ /dev/null
Binary files differ
diff --git a/capplet/settings/mail-capplet-shell.c b/capplet/settings/mail-capplet-shell.c
index 4053372a9d..c80c36e038 100644
--- a/capplet/settings/mail-capplet-shell.c
+++ b/capplet/settings/mail-capplet-shell.c
@@ -253,10 +253,10 @@ mail_capplet_shell_construct (MailCappletShell *shell,
"flags", G_APPLICATION_HANDLES_OPEN | G_APPLICATION_HANDLES_COMMAND_LINE,
"geometry", NULL,
"module-directory", EVOLUTION_MODULEDIR,
- "meego-mode", FALSE,
- "express-mode", FALSE,
- "small-screen-mode", FALSE,
- "online", FALSE,
+ "meego-mode", TRUE,
+ "express-mode", TRUE,
+ "small-screen-mode", TRUE,
+ "online", TRUE,
NULL);
if (error != NULL)