aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/print.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-01-25 06:02:49 +0800
committerHans Petter <hansp@src.gnome.org>2003-01-25 06:02:49 +0800
commit0d838a10a2e8eb6a5c99637a037b34b31a00cdf8 (patch)
tree64eaa789ebd8968f9d76cf3f3067f2297f4521c3 /calendar/gui/print.c
parent1591861a2c3e856551b388c3de1a4da1d7f0fcd8 (diff)
downloadgsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.gz
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.bz2
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.lz
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.xz
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.zst
gsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.zip
Don't insist appointment is updated if both old and new summary are blank.
2003-01-24 Hans Petter Jansson <hpj@ximian.com> * gui/e-day-view.c (e_day_view_on_editing_stopped): Don't insist appointment is updated if both old and new summary are blank. * gui/e-week-view.c (e_week_view_on_editing_stopped): Ditto. * gui/e-timezone-entry.c (on_button_clicked): Timezone dialog is now a GtkDialog. Treat it as such. * gui/goto.c (ecal_event): Goto dialog is now a GtkDialog. Treat it as such. (goto_dialog): Ditto. * gui/goto-dialog.glade: Set the return IDs from the dialog buttons. * gui/dialogs/meeting-page.c (popup_delegate_cb): Enable the delegate dialog. It's now a GtkDialog, so treat it like one. (right_click_cb): Use GTK stock item, not GNOME (that doesn't work anymore). * gui/e-delegate-dialog.glade: Set the return IDs from dialog buttons. * gui/print.c (print_calendar): Correct the print dialog init. Code is still not enabled, though. * gui/tasks-control.c (print_tasks): Add a warning about printing being disabled. svn path=/trunk/; revision=19624
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r--calendar/gui/print.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c
index 4d46b83c9c..e21e77c6bf 100644
--- a/calendar/gui/print.c
+++ b/calendar/gui/print.c
@@ -2407,6 +2407,7 @@ void
print_calendar (GnomeCalendar *gcal, gboolean preview, time_t date,
PrintView default_view)
{
+#warning "Re-implement printing."
#if 0
GnomePrintConfig *config;
GnomePrintJob *gpm;
@@ -2426,7 +2427,9 @@ print_calendar (GnomeCalendar *gcal, gboolean preview, time_t date,
GtkWidget *range;
int view;
- gpd = gnome_print_dialog_new_default ();
+ gpd = gnome_print_dialog_new (NULL, _("Print"), 0);
+
+ /* FIXME: THe rest of this func needs to be converted */
view = (int) default_view;
range = range_selector_new (gpd, date, &view);