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/e-calendar-table.c | |
parent | 59c0cc7f80c6e5ff909a296fd1dbdaa8af66cda6 (diff) | |
download | gsoc2013-evolution-59b1e25cfdb4253a94df4392d1e2fb69a6901515.tar.gz 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/e-calendar-table.c')
-rw-r--r-- | calendar/gui/e-calendar-table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c index 9211e8a646..df1c8a5225 100644 --- a/calendar/gui/e-calendar-table.c +++ b/calendar/gui/e-calendar-table.c @@ -400,13 +400,13 @@ e_calendar_table_on_mark_task_complete (GtkWidget *menuitem, /* Deletes a component from the table */ static void -delete_component (CalendarModel *model, int row) +delete_component (CalendarModel *model, int row, GtkWidget *widget) { CalComponent *comp; comp = calendar_model_get_component (model, row); - if (delete_component_dialog (comp)) { + if (delete_component_dialog (comp, widget)) { CalClient *client; const char *uid; @@ -426,7 +426,7 @@ e_calendar_table_on_delete_task (GtkWidget *menuitem, { ECalendarMenuData *menu_data = (ECalendarMenuData*) data; - delete_component (menu_data->cal_table->model, menu_data->row); + delete_component (menu_data->cal_table->model, menu_data->row, menuitem); } @@ -439,7 +439,7 @@ e_calendar_table_on_key_press (ETable *table, ECalendarTable *cal_table) { if (event->keyval == GDK_Delete) { - delete_component (cal_table->model, row); + delete_component (cal_table->model, row, GTK_WIDGET (table)); return TRUE; } |