diff options
author | Michael Meeks <michael.meeks@novell.com> | 2010-04-12 21:50:44 +0800 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2010-04-12 21:50:44 +0800 |
commit | 2593383aec61d0b1f2f8950e5301f30176d2cbce (patch) | |
tree | 6e2d3e7f3a095ab349cb5a3cd9f8b957841f8b1f /shell/main.c | |
parent | dae9d2e575e0a239c53d3079b8e20bd17f6c37b4 (diff) | |
download | gsoc2013-evolution-2593383aec61d0b1f2f8950e5301f30176d2cbce.tar.gz gsoc2013-evolution-2593383aec61d0b1f2f8950e5301f30176d2cbce.tar.zst gsoc2013-evolution-2593383aec61d0b1f2f8950e5301f30176d2cbce.zip |
Detect MeeGo, and propagate settings variously.
Adapt widget naming on MeeGo for theming etc.
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c index e3d69412a6..5a9855b402 100644 --- a/shell/main.c +++ b/shell/main.c @@ -49,6 +49,7 @@ #include "e-shell.h" #include "e-shell-migrate.h" +#include "e-shell-meego.h" #include "e-config-upgrade.h" #include "es-event.h" @@ -371,6 +372,7 @@ create_default_shell (void) gboolean online = TRUE; const gchar *key; GError *error = NULL; + gboolean is_meego = FALSE, small_screen = FALSE; client = gconf_client_get_default (); @@ -405,6 +407,9 @@ create_default_shell (void) if (!express_mode) express_mode = gconf_client_get_bool (client, key, &error); + if (express_mode) + e_shell_detect_meego (&is_meego, &small_screen); + if (error != NULL) { g_warning ("%s", error->message); g_clear_error (&error); @@ -415,7 +420,9 @@ create_default_shell (void) "name", "org.gnome.Evolution", "geometry", geometry, "module-directory", EVOLUTION_MODULEDIR, + "meego-mode", is_meego, "express-mode", express_mode, + "small-screen-mode", small_screen, "online", online, NULL); |