aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-03-31 21:09:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-01 00:10:54 +0800
commit50b164637fb0cca89a20793341102b0ddbfc5b50 (patch)
treef8ae2ccf76d14b58c571d547f3f0d22ebf344996 /shell/e-shell-window.c
parentff76ff2a2aecc2628e609700e28bcc47f329a2e8 (diff)
downloadgsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar.gz
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar.bz2
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar.lz
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar.xz
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.tar.zst
gsoc2013-evolution-50b164637fb0cca89a20793341102b0ddbfc5b50.zip
EShell: Remove "small-screen-mode" property.
The property is always FALSE. Remove both the property itself and any logic predicated on it.
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index e3f383ed11..f2cfdc7fc9 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -399,10 +399,6 @@ shell_window_constructed (GObject *object)
e_extensible_load_extensions (E_EXTENSIBLE (object));
- if (e_shell_get_meego_mode (shell_window->priv->shell) &&
- e_shell_get_small_screen_mode (shell_window->priv->shell))
- gtk_window_set_decorated (GTK_WINDOW (object), FALSE);
-
/* Chain up to parent's constructed() method. */
G_OBJECT_CLASS (e_shell_window_parent_class)->constructed (object);
}
@@ -416,27 +412,6 @@ shell_window_construct_menubar (EShellWindow *shell_window)
shell_window, "/main-menu");
gtk_widget_show (main_menu);
- if (e_shell_get_small_screen_mode (shell_window->priv->shell)) {
- GtkWidget *parent, *child;
-
- parent = gtk_widget_get_parent (main_menu);
- g_object_ref (parent);
- gtk_container_remove ((GtkContainer *) parent, main_menu);
- child = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
- gtk_box_pack_start ((GtkBox *) child, main_menu, TRUE, TRUE, 0);
- gtk_widget_show (child);
- gtk_container_add ((GtkContainer *) parent, child);
- shell_window->priv->menubar_box = child;
-
- g_object_bind_property (
- main_menu, "visible",
- child, "visible",
- G_BINDING_BIDIRECTIONAL |
- G_BINDING_SYNC_CREATE);
-
- main_menu = child;
- }
-
g_signal_connect (
shell_window, "notify::active-view",
G_CALLBACK (shell_window_menubar_update_new_menu), NULL);