[Glade-devel] bug with cut/paste



On 8/30/06, Tristan Van Berkom <tvb at gnome.org> wrote:
Maxime wrote:
Hi,

When I cut a widget and past it, its name changed : oldname => oldname1
It's very irritating to rename all widgets... (try to cut a window which
contains a lot of widgets for example...)

I'm sorry if this issue had been already reported.

Ouch, thats my bad (I introduced that in 3.0.1).

Since you can now paste a cut or copied widget infinitely, a pasted
widget is _always_ copied from the clipboard.

I suppose the initial paste of a cut widget will have to use the
name directly - subsequent pastes should modify the name.

May I suggest that the initial paste operation after a cut not be
special cased, but simply whenever pasteing widgets, do a check of the
name of widget attempting to be pasted vs all widgets and rename when
there is a collision.


     Andy


Thanks for pointing this out :)

Cheers,
                   -Tristan




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