aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-timezone-entry.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/e-timezone-entry.c
parent1591861a2c3e856551b388c3de1a4da1d7f0fcd8 (diff)
downloadgsoc2013-evolution-0d838a10a2e8eb6a5c99637a037b34b31a00cdf8.tar.gz
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/e-timezone-entry.c')
-rw-r--r--calendar/gui/e-timezone-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-timezone-entry.c b/calendar/gui/e-timezone-entry.c
index 8f85cbff2e..7f5c36600b 100644
--- a/calendar/gui/e-timezone-entry.c
+++ b/calendar/gui/e-timezone-entry.c
@@ -216,7 +216,7 @@ on_button_clicked (GtkWidget *widget,
dialog = e_timezone_dialog_get_toplevel (timezone_dialog);
- if (gnome_dialog_run_and_close (GNOME_DIALOG (dialog)) == 0) {
+ if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) {
tzid = e_timezone_dialog_get_timezone (E_TIMEZONE_DIALOG (timezone_dialog), &display_name);
old_display_name = gtk_entry_get_text (GTK_ENTRY (priv->entry));
/* See if the timezone has been changed. It can only have been