aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-15 03:56:30 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-15 03:56:30 +0800
commit9b90e087b0c216cbc802663f4c8dc06068f235bb (patch)
treeb69b0a70c0ec273bcddf1a08854f1cbbb1c4cab5 /shell/e-shell-window.c
parent46cf8be3f3bb9f2287f60f847873288d91b7abeb (diff)
downloadgsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.gz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.bz2
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.lz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.xz
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.tar.zst
gsoc2013-evolution-9b90e087b0c216cbc802663f4c8dc06068f235bb.zip
add a close-window action that doesn't become insensitive on the last window.
Use this in meego / full-screen mode
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index c135a76e8d..62c39fee37 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -409,23 +409,6 @@ shell_window_construct_toolbar (EShellWindow *shell_window)
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar), FALSE);
gtk_box_pack_start (GTK_BOX (box), toolbar, FALSE, FALSE, 0);
- if (e_shell_get_meego_mode (shell_window->priv->shell) &&
- e_shell_get_small_screen_mode (shell_window->priv->shell)) {
- GtkWidget *close_button, *image;
-
- close_button = gtk_button_new ();
- gtk_widget_set_name (close_button, "MeeGoCloseButton");
- image = gtk_image_new_from_icon_name ("window-close-hover",
- GTK_ICON_SIZE_DIALOG);
- gtk_container_add (GTK_CONTAINER (close_button), image);
- gtk_activatable_set_related_action
- (GTK_ACTIVATABLE (close_button),
- gtk_action_group_get_action (ACTION_GROUP (SHELL),
- "close"));
- gtk_widget_show_all (close_button);
- gtk_box_pack_end (GTK_BOX (box), close_button, FALSE, FALSE, 0);
- }
-
return box;
}