diff options
author | JP Rosevear <jpr@ximian.com> | 2002-03-06 04:47:48 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-03-06 04:47:48 +0800 |
commit | 41c0e5bb186d461a9da7763518b6bcd277391f09 (patch) | |
tree | f02790a805ff83c273fafbe6d15054f53f6dc171 /calendar/gui/dialogs | |
parent | 5c10817db46137b17aabcb01e4b7098635288b3c (diff) | |
download | gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar.gz gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar.bz2 gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar.lz gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar.xz gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.tar.zst gsoc2013-evolution-41c0e5bb186d461a9da7763518b6bcd277391f09.zip |
remove unneeded parameter from print_text_size everywhere
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/print.c: remove unneeded parameter from print_text_size
everywhere
(get_font_for_size): calculate a font size based on the available
height
(print_text): calculate the top of where the font should be drawn
(print_text_size): use get_font_for_size
(print_day_background): use get_font_for_size
2002-03-05 JP Rosevear <jpr@ximian.com>
* gui/e-meeting-time-sel-item.c
(e_meeting_time_selector_item_draw): pass the real table
to e_meeting_model_etable_view_to_model_row
(e_meeting_time_selector_item_paint_busy_periods): ditto
* gui/dialogs/meeting-page.c (right_click_cb): ditto
* gui/e-meeting-model.h: update protos
* gui/e-meeting-model.c
(e_meeting_model_etable_model_to_view_row): take in to account the
fact the table used the without model
(e_meeting_model_etable_view_to_model_row): ditto
svn path=/trunk/; revision=15926
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/meeting-page.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c index 51cfe045d9..7333380195 100644 --- a/calendar/gui/dialogs/meeting-page.c +++ b/calendar/gui/dialogs/meeting-page.c @@ -717,11 +717,12 @@ right_click_cb (ETable *etable, gint row, gint col, GdkEvent *event, gpointer da MeetingPage *mpage = MEETING_PAGE (data); MeetingPagePrivate *priv; GtkMenu *menu; - int enable_mask = 0, hide_mask = 0; + int enable_mask = 0, hide_mask = 0, view_row; priv = mpage->priv; - priv->row = e_meeting_model_etable_view_to_model_row (priv->model, row); + view_row = e_table_model_to_view_row (etable, row); + priv->row = e_meeting_model_etable_view_to_model_row (etable, priv->model, view_row); menu = e_popup_menu_create (context_menu, enable_mask, hide_mask, data); e_auto_kill_popup_menu_on_hide (menu); |