Re: [Planner Dev] Task dialog undo



Hi!

Lincoln, exactly the same that I have tried. But take a look ath
priority in a task and you will see that it works perfectly and you
don't need to do the g_object_notify.

It is strange, sure!

Cheers

-- Alvaro


El sáb, 05-06-2004 a las 01:24, lincoln phipps openmutual net escribió:
> 
> 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.
> 
> _______________________________________________
> Planner-dev mailing list
> Planner-dev lists imendio com
> http://lists.imendio.com/mailman/listinfo/planner-dev

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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