diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-31 21:09:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-01 00:10:54 +0800 |
commit | 50b164637fb0cca89a20793341102b0ddbfc5b50 (patch) | |
tree | f8ae2ccf76d14b58c571d547f3f0d22ebf344996 /shell/e-shell-view.c | |
parent | ff76ff2a2aecc2628e609700e28bcc47f329a2e8 (diff) | |
download | gsoc2013-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-view.c')
-rw-r--r-- | shell/e-shell-view.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 9b3aa4a0f1..77597d0595 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -679,28 +679,6 @@ shell_view_construct_searchbar (EShellView *shell_view) gtk_toolbar_insert (GTK_TOOLBAR (main_toolbar), item, -1); - if (e_shell_get_small_screen_mode (shell)) { - GtkWidget *image; - GtkWidget *container; - GtkAction *action; - GtkToolItem *item; - - action = e_shell_window_get_action ( - shell_window, "close-window"); - image = gtk_image_new_from_icon_name ( - "window-close-hover", GTK_ICON_SIZE_DIALOG); - item = gtk_tool_button_new ( - image, gtk_action_get_label (action)); - gtk_widget_set_name (GTK_WIDGET (item), "MeeGoCloseButton"); - gtk_activatable_set_related_action ( - GTK_ACTIVATABLE (item), action); - container = e_shell_window_get_menu_bar_box (shell_window); - gtk_box_pack_start ( - GTK_BOX (container), - GTK_WIDGET (item), FALSE, FALSE, 0); - gtk_widget_show_all (GTK_WIDGET (item)); - } - return widget; } |