Re: [Planner Dev] Task dialog undo






oops sent the email too soon !!!!

What I meant to say was that the task-dialog-task-complete-changed-cb
NEVER gets raised because the mrp-task.c doesn't have a
g_object_notify ().

Its NOT easy though - I tried to add,

 Index: libplanner/mrp-task.c
 ===================================================================
 RCS file: /cvs/gnome/planner/libplanner/mrp-task.c,v
 retrieving revision 1.4
 diff -u -b -B -p -r1.4 mrp-task.c
 --- a/libplanner/mrp-task.c    25 Apr 2004 22:11:35 -0000    1.4
 +++ b/libplanner/mrp-task.c    5 Jun 2004 00:13:56 -0000
 @@ -549,6 +549,8 @@ task_set_property (GObject      *object,

          if (priv->percent_complete != i_val) {
              priv->percent_complete = i_val;
 +
 +            g_object_notify (G_OBJECT (task), "percent_complete");
              changed = TRUE;
          }


BUT it didn't seem to work. Real odd. Its like the data->task
in planner-task-dialog.c isn't actually the object that the
signal is being raised against.

Rgds,
Lincoln.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]