aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
authorNat Friedman <nat@nat.org>1999-05-26 01:09:56 +0800
committerNat Friedman <nat@src.gnome.org>1999-05-26 01:09:56 +0800
commitc150a409d44428073347bf5da033d0290cda4d4d (patch)
tree0338f6c67a2f113f9e25affb675b7aa201874be1 /calendar/gui/main.c
parent3be2b5f40a41f1a375d07ed7eba5d388ca699e7d (diff)
downloadgsoc2013-evolution-c150a409d44428073347bf5da033d0290cda4d4d.tar.gz
gsoc2013-evolution-c150a409d44428073347bf5da033d0290cda4d4d.tar.zst
gsoc2013-evolution-c150a409d44428073347bf5da033d0290cda4d4d.zip
This is the fix Miguel and I hacked in the car at Expo to make the
year view work in low-resolution displays. This isn't the proper fix, but it's better than the way things were. 1999-05-25 Nat Friedman <nat@nat.org> * doc/C/gnomecal.sgml: Fixed a typo. * gnome-cal.c (setup_widgets): Added a scrolled window widget into which the year view is placed. * year-view.c (CALENDAR_HEIGHT): The height of the total year view inside the scrolled window. (idle_handler): Set the height of the year view to CALENDAR_HEIGHT. (year_view_size_allocate): Set the scroll region of the year view canvas to allocation->width, CALENDAR_HEIGHT. svn path=/trunk/; revision=938
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 9462a3a531..db0000365c 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -566,9 +566,15 @@ new_calendar (char *full_name, char *calendar_file, char *geometry, char *page,
if (gnome_parse_geometry (geometry, &xpos, &ypos, &width, &height)){
if (xpos != -1)
gtk_widget_set_uposition (toplevel, xpos, ypos);
- if (width != -1)
- gtk_widget_set_usize (toplevel, width, height);
+#if 0
+ if (width != -1)
+ gtk_widget_set_usize (toplevel, width, 600);
+#endif
}
+#if 0
+ gtk_widget_set_usize (toplevel, width, 600);
+#endif
+
setup_appbar (toplevel);
setup_menu (toplevel);