Re: [evolution-patches] patch to prevent attendees from dragging and resizing meetings.



The patch prevents drag and drop of ordinary appointments too.

@@ -5932,8 +5934,10 @@ e_day_view_change_event_time (EDayView *
        
        toplevel = GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET
(day_view)));
 
-       e_cal_component_commit_sequence (comp);
-       e_calendar_view_modify_and_send (comp, client, mod, toplevel,
TRUE);
+       if (itip_organizer_is_user (comp, client)) {    
+               e_cal_component_commit_sequence (comp);
+               e_calendar_view_modify_and_send (comp, client, mod,
toplevel, TRUE);
+       }

The static capability for "no-organizer" should be checked in
itip_organizer_is_user. The check for is_organizer along with
has_atendees should be made before the modified dates are set to the
component. This holds good checks in other places too.

thanks, chenthill.

On Tue, 2005-07-19 at 20:48 +0530, lviren wrote:
> 
> Hi,
> 
> 
> Patch to prevent mouse events for attendees.
> 
> 
> 
> 
> 
> Thanks,
> Viren
> _______________________________________________
> evolution-patches mailing list
> evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches



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