aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-05-04 01:11:40 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-05-04 01:11:40 +0800
commitf4f32309cbbfc0a4b69343d91d4085240198769e (patch)
treeef4e07e2dd0f395993f305bd12951f7bcaf386bf
parentf87571bbef89532601865774802070d7b6af1812 (diff)
downloadgsoc2013-evolution-f4f32309cbbfc0a4b69343d91d4085240198769e.tar.gz
gsoc2013-evolution-f4f32309cbbfc0a4b69343d91d4085240198769e.tar.zst
gsoc2013-evolution-f4f32309cbbfc0a4b69343d91d4085240198769e.zip
Fixes #57897
2004-05-03 JP Rosevear <jpr@ximian.com> Fixes #57897 * gui/e-tasks.c (setup_widgets): no need to listen for the deleted signal, the cursor will change in that case svn path=/trunk/; revision=25759
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-tasks.c33
2 files changed, 7 insertions, 33 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index aff32e047d..80933fdf53 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,12 @@
2004-05-03 JP Rosevear <jpr@ximian.com>
+ Fixes #57897
+
+ * gui/e-tasks.c (setup_widgets): no need to listen for the deleted
+ signal, the cursor will change in that case
+
+2004-05-03 JP Rosevear <jpr@ximian.com>
+
* gui/e-cal-model-tasks.c (set_completed): remove useless debug
statement
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 729e5456c7..872b6fe3ed 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -300,37 +300,6 @@ model_row_changed_cb (ETableModel *etm, int row, gpointer data)
}
static void
-model_rows_deleted_cb (ETableModel *etm, int row, int count, gpointer data)
-{
- ETasks *tasks;
- ETasksPrivate *priv;
- ECalModelComponent *comp_data;
-
- tasks = E_TASKS (data);
- priv = tasks->priv;
-
- if (priv->current_uid) {
- const char *uid;
- int i;
-
- for (i = row; i < row + count; i++) {
- comp_data = e_cal_model_get_component_at (E_CAL_MODEL (etm), i);
- if (comp_data) {
- uid = icalcomponent_get_uid (comp_data->icalcomp);
- if (!strcmp (uid ? uid : "", priv->current_uid)) {
- ETable *etable;
-
- etable = e_table_scrolled_get_table (
- E_TABLE_SCROLLED (E_CALENDAR_TABLE (priv->tasks_view)->etable));
- table_cursor_change_cb (etable, 0, tasks);
- break;
- }
- }
- }
- }
-}
-
-static void
setup_config (ETasks *tasks)
{
ETasksPrivate *priv;
@@ -422,8 +391,6 @@ setup_widgets (ETasks *tasks)
model = e_calendar_table_get_model (E_CALENDAR_TABLE (priv->tasks_view));
g_signal_connect (G_OBJECT (model), "model_row_changed",
G_CALLBACK (model_row_changed_cb), tasks);
- g_signal_connect (G_OBJECT (model), "model_rows_deleted",
- G_CALLBACK (model_rows_deleted_cb), tasks);
}
/* Class initialization function for the gnome calendar */
e='2016-09-12 21:38:18 +0800'>2016-09-122-4/+4 * - Update to 1.4.4Kris Moore2016-06-222-3/+4 * - Update to 1.4.1Kris Moore2016-05-122-5/+5 * Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.Mathieu Arnold2016-04-011-12/+12 * - Update dependencies to match upstream's requirementLi-Wen Hsu2015-08-061-9/+10 * - Add new RUN_DEPEND on py-babel, fixes issue compiling llvm36 and possiblyKris Moore2015-07-151-1/+3 * - Update textproc/py-sphinx to 1.3.1Kris Moore2015-07-142-6/+11 * - Update to 1.2.3Li-Wen Hsu2014-09-032-7/+5 * - Remove easy_install dependencyMarcus von Appen2014-06-151-5/+5 * - Update LICENSESunpoet Po-Chuan Hsieh2014-03-061-1/+1 * - Update to 1.2.2Li-Wen Hsu2014-03-042-3/+3 * - Update to 1.2.1Li-Wen Hsu2014-01-282-7/+7 * - Update to 1.2Li-Wen Hsu2013-12-154-628/+17 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-5/+2 * - Bump PORTREVISION (changed pkg-plist)Nicola Vitale2012-07-172-0/+8 * - Update to 1.1.3Li-Wen Hsu2012-06-262-3/+3 * - Update to 1.1.2Li-Wen Hsu2011-11-093-13/+140 * - Update to 1.0.7Li-Wen Hsu2011-02-182-3/+3 * - Update to 1.0.5Li-Wen Hsu2010-11-282-4/+5 * - Update to 1.0.4Li-Wen Hsu2010-09-192-4/+4 * - Update to 1.0.3Li-Wen Hsu2010-08-25