diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1999-05-26 03:28:28 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-05-26 03:28:28 +0800 |
commit | ede0790b5c953edf0a14dae1f75fa449d5c3286a (patch) | |
tree | c5ef3edf8a66a07a441bd7888fc4e955a8464c67 /calendar/main.c | |
parent | c150a409d44428073347bf5da033d0290cda4d4d (diff) | |
download | gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.gz gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.tar.zst gsoc2013-evolution-ede0790b5c953edf0a14dae1f75fa449d5c3286a.zip |
Set the canvas scroll region here, not in size_allocate(). Also, use the
1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
* year-view.c (idle_handler): Set the canvas scroll region here,
not in size_allocate(). Also, use the correct width and height
based on the allocation and the precomputed minimum width/height
values.
* gnome-cal.c (setup_widgets): Set the scrollbar policy of the
scrolled window.
* main.c (setup_appbar): Use the correct type for the appbar.
* gncal-day-view.c: Removed unused function switch_to_day().
* gncal-day-panel.c (calendar_day_selected): Removed unused variable.
1999-05-25 Federico Mena Quintero <federico@nuclecu.unam.mx>
* configure.in: Added the gncal/doc/* Makefiles to AC_OUTPUT.
svn path=/trunk/; revision=939
Diffstat (limited to 'calendar/main.c')
-rw-r--r-- | calendar/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/main.c b/calendar/main.c index db0000365c..0961c87b4b 100644 --- a/calendar/main.c +++ b/calendar/main.c @@ -537,10 +537,10 @@ setup_menu (GtkWidget *gcal) static void setup_appbar (GtkWidget *gcal) { - GnomeAppBar *appbar; - + GtkWidget *appbar; + appbar = gnome_appbar_new (FALSE, TRUE, GNOME_PREFERENCES_USER); - gnome_app_set_statusbar (GNOME_APP (gcal), GTK_WIDGET(appbar)); + gnome_app_set_statusbar (GNOME_APP (gcal), GTK_WIDGET (appbar)); } static gint |