diff options
author | Federico Mena Quintero <federico@helixcode.com> | 2001-01-03 02:16:45 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-01-03 02:16:45 +0800 |
commit | 59b1e25cfdb4253a94df4392d1e2fb69a6901515 (patch) | |
tree | 4bf75e92066b0762ac1653320bc98ca61af1657f /calendar/gui/event-editor.c | |
parent | 59c0cc7f80c6e5ff909a296fd1dbdaa8af66cda6 (diff) | |
download | gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.gz gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.bz2 gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.lz gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.xz gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.zst gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.zip |
Do not compose strings so that they can be localized correctly. Also,
2001-01-02 Federico Mena Quintero <federico@helixcode.com>
* gui/dialogs/delete-comp.c (delete_component_dialog): Do not
compose strings so that they can be localized correctly. Also,
convert from UTF8 into the font's encoding. Fixes bug #1030.
* gui/e-calendar-table.c (delete_component): Pass the widget
argument to delete_component_dialog().
* gui/e-day-view.c (e_day_view_on_delete_appointment): Likewise.
* gui/e-week-view.c (e_week_view_on_delete_appointment): Likewise.
* gui/event-editor.c (file_delete_cb): Likewise.
* gui/calendar-commands.c: Use BONOBO_UI_VERB() instead of
BONOBO_UI_UNSAFE_VERB(). Guess what, all of our handler
signatures were wrong.
* gui/event-editor.c: Likewise.
* gui/dialogs/task-editor.c: Likewise.
* gui/goto-dialog.glade: Added some spacing between the month/year
widgets and the calendar widget.
svn path=/trunk/; revision=7211
Diffstat (limited to 'calendar/gui/event-editor.c')
-rw-r--r-- | calendar/gui/event-editor.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c index 6ddfd859ed..ea2f78ae10 100644 --- a/calendar/gui/event-editor.c +++ b/calendar/gui/event-editor.c @@ -2377,7 +2377,7 @@ close_dialog (EventEditor *ee) static void -debug_xml_cb (GtkWidget *widget, gpointer data) +debug_xml_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee = EVENT_EDITOR (data); EventEditorPrivate *priv = ee->priv; @@ -2387,7 +2387,7 @@ debug_xml_cb (GtkWidget *widget, gpointer data) /* File/Save callback */ static void -file_save_cb (GtkWidget *widget, gpointer data) +file_save_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee; @@ -2397,7 +2397,7 @@ file_save_cb (GtkWidget *widget, gpointer data) /* File/Save and Close callback */ static void -file_save_and_close_cb (GtkWidget *widget, gpointer data) +file_save_and_close_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee; @@ -2408,7 +2408,7 @@ file_save_and_close_cb (GtkWidget *widget, gpointer data) /* File/Delete callback */ static void -file_delete_cb (GtkWidget *widget, gpointer data) +file_delete_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee; EventEditorPrivate *priv; @@ -2421,7 +2421,7 @@ file_delete_cb (GtkWidget *widget, gpointer data) g_return_if_fail (priv->comp); - if (delete_component_dialog (priv->comp)) { + if (delete_component_dialog (priv->comp, priv->app)) { const char *uid; cal_component_get_uid (priv->comp, &uid); @@ -2437,7 +2437,7 @@ file_delete_cb (GtkWidget *widget, gpointer data) /* File/Close callback */ static void -file_close_cb (GtkWidget *widget, gpointer data) +file_close_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee; @@ -2450,7 +2450,7 @@ file_close_cb (GtkWidget *widget, gpointer data) } static void -schedule_meeting_cb (GtkWidget *widget, gpointer data) +schedule_meeting_cb (BonoboUIComponent *uic, gpointer data, const char *path) { EventEditor *ee; EventEditorPrivate *priv; @@ -2473,14 +2473,14 @@ schedule_meeting_cb (GtkWidget *widget, gpointer data) * this and the task-editor. */ static BonoboUIVerb verbs [] = { - BONOBO_UI_UNSAFE_VERB ("FileSave", file_save_cb), - BONOBO_UI_UNSAFE_VERB ("FileDelete", file_delete_cb), - BONOBO_UI_UNSAFE_VERB ("FileClose", file_close_cb), - BONOBO_UI_UNSAFE_VERB ("FileSaveAndClose", file_save_and_close_cb), - - BONOBO_UI_UNSAFE_VERB ("ActionScheduleMeeting", schedule_meeting_cb), - - BONOBO_UI_UNSAFE_VERB ("DebugDumpXml", debug_xml_cb), + BONOBO_UI_VERB ("FileSave", file_save_cb), + BONOBO_UI_VERB ("FileDelete", file_delete_cb), + BONOBO_UI_VERB ("FileClose", file_close_cb), + BONOBO_UI_VERB ("FileSaveAndClose", file_save_and_close_cb), + + BONOBO_UI_VERB ("ActionScheduleMeeting", schedule_meeting_cb), + + BONOBO_UI_VERB ("DebugDumpXml", debug_xml_cb), BONOBO_UI_VERB_END }; |