Re: uwog - r21951 - abiword/trunk/src/wp/ap/xp

From: J.M. Maurer <uwog_at_uwog.net>
Date: Sun Sep 09 2007 - 14:46:13 CEST

On Sun, 2007-09-09 at 14:41 +0200, cvs@abisource.com wrote:
> Author: uwog
> Date: 2007-09-09 14:41:55 +0200 (Sun, 09 Sep 2007)
> New Revision: 21951
>
> Added:
> abiword/trunk/src/wp/ap/xp/ap_FrameListener.h
> Modified:
> abiword/trunk/src/wp/ap/xp/GNUmakefile.am
> abiword/trunk/src/wp/ap/xp/ap_Frame.cpp
> abiword/trunk/src/wp/ap/xp/ap_Frame.h
> Log:
> Allow listeners to bind to frame events;
>
> Rationale: if a document is loaded in a frame outside the control of the
> 'main controller (like the abiwidget)', the controller has no way at
> all to find out that the view he is listening to has been deleted;

To add, this can for example happen if the abicollab plugin decides to
resync documents, and loading the synched document in the Frame.

Marc
Received on Sun Sep 9 14:46:46 2007

This archive was generated by hypermail 2.1.8 : Sun Sep 09 2007 - 14:46:46 CEST