Re: [PATCH] historyentry work



On Tue, Mar 24, 2009 at 8:51 AM, Kai Willadsen <kai willadsen gmail com> wrote:
> 2009/3/24 Vincent Legoll <vincent legoll gmail com>:
>> OK, I just resent the behavioral changes I wanted, and left the API
>> consistency part of it, which is orthogonal, and which I have trouble
>> understanding anyways: the gtk_entry and gnome_entry magic
>> make me stare at strange backtraces for a moment before dropping
>> the subject into a "to investigate" TODO list entry.
>
> Right. These are gobject properties, and there isn't a lot of
> documentation on how exactly they work in python, and how they work
> has changed over time. The really confusing bit is that they're also
> methods... and that was a bad bit of naming on my part.

OK I was suspecting something like that but didn't want to go digging
documentation at that time, I'll remember to do that if I tackle the subject.

>> I don't undestand what change is needed to NewDocDialog.on_response()
>> it looks fine as-is. What did I miss ?
>
> In NewDocDialog, history is appended to an entry when the user selects
> "OK". However, the history will have already been appended by the
> activate callback. The uniqueness handling in HistoryEntry helps
> here... but it still seems a little odd.

OK, thanks for the clarification

-- 
Vincent Legoll


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