aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/calendar/e-cal-shell-view.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c
index dc717c3951..2ce3ac3f0d 100644
--- a/modules/calendar/e-cal-shell-view.c
+++ b/modules/calendar/e-cal-shell-view.c
@@ -305,9 +305,6 @@ cal_shell_view_update_actions (EShellView *shell_view)
if(e_shell_get_express_mode(e_shell_get_default())) {
GtkWidget *widget, *item;
- GdkScreen *scr;
- gint monitor;
- GdkRectangle rect;
/* Hack: Get rid of New and Send/Receive in toolbar
* while in express mode */
@@ -324,14 +321,6 @@ cal_shell_view_update_actions (EShellView *shell_view)
item = e_shell_window_get_managed_widget (
shell_window, "/main-toolbar/send-receive");
gtk_widget_hide(item);
-
- scr = gdk_screen_get_default ();
- monitor = gdk_screen_get_monitor_at_window (scr, GTK_WIDGET (shell_window)->window);
- gdk_screen_get_monitor_geometry (scr, monitor, &rect);
-
- gtk_window_set_default_size ((GtkWindow *)shell_window, rect.width, rect.height);
- gtk_window_set_decorated ((GtkWindow *)shell_window, FALSE);
-
}
cal_shell_content = priv->cal_shell_content;
calendar = e_cal_shell_content_get_calendar (cal_shell_content);