aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2010-04-12 21:52:03 +0800
committerMichael Meeks <michael.meeks@novell.com>2010-04-12 21:52:03 +0800
commit41cf6f96d385935c2cd2abb98bdca50223dd0eff (patch)
treebb6897f3f04f6526dd39a63714c62b78ddd92c9a /modules
parent3a5c89132b5f235e19f14a05f852af4d374c3f11 (diff)
downloadgsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar.gz
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar.bz2
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar.lz
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar.xz
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.tar.zst
gsoc2013-evolution-41cf6f96d385935c2cd2abb98bdca50223dd0eff.zip
remove special case for calendar
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);