diff options
author | JP Rosevear <jpr@ximian.com> | 2001-10-24 03:43:34 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-10-24 03:43:34 +0800 |
commit | 83c1664ef72b6c4a905db6f27f21c841d4328def (patch) | |
tree | 3497471ef82d008feadc71efc4fcdba69360268f /calendar/gui/e-meeting-time-sel.c | |
parent | efc147493306713b53d681ef8a3d970db493fae9 (diff) | |
download | gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar.gz gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar.bz2 gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar.lz gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar.xz gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.tar.zst gsoc2013-evolution-83c1664ef72b6c4a905db6f27f21c841d4328def.zip |
no longer set the scrollbar policy here
2001-10-23 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-model.c (build_etable): no longer set the
scrollbar policy here
* gui/e-meeting-time-sel.c
(e_meeting_time_selector_update_main_canvas_scroll_region): add an
extra row to the height so the click to add row can be properly
seen
(e_meeting_time_selector_construct): set the scrollbar policy for
the etable scrolled
svn path=/trunk/; revision=13948
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c index 74cb9bcf12..e4252ea4ba 100644 --- a/calendar/gui/e-meeting-time-sel.c +++ b/calendar/gui/e-meeting-time-sel.c @@ -332,6 +332,8 @@ e_meeting_time_selector_construct (EMeetingTimeSelector * mts, EMeetingModel *em mts->etable = GTK_WIDGET (e_meeting_model_etable_from_model (mts->model, EVOLUTION_ETSPECDIR "/e-meeting-time-sel.etspec", filename)); + e_scroll_frame_set_policy (E_SCROLL_FRAME (mts->etable), GTK_POLICY_NEVER, GTK_POLICY_NEVER); + e_scroll_frame_set_scrollbar_spacing (E_SCROLL_FRAME (mts->etable), 0); real_table = e_table_scrolled_get_table (E_TABLE_SCROLLED (mts->etable)); gtk_signal_connect (GTK_OBJECT (real_table->sort_info), "sort_info_changed", @@ -2110,7 +2112,7 @@ e_meeting_time_selector_update_main_canvas_scroll_region (EMeetingTimeSelector * { gint height, canvas_height; - height = mts->row_height * (e_meeting_model_count_attendees (mts->model) + 1); + height = mts->row_height * (e_meeting_model_count_attendees (mts->model) + 2); canvas_height = GTK_WIDGET (mts->display_main)->allocation.height; height = MAX (height, canvas_height); |