Re: Embedding FileDiff in another application



Hi Steven,

Could you possibly set_no_show_all(True) on the third textview? That
way it would not be shown on show_all() calls to the parent?

http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--set-no-show-all

Cheers,

Ali

On 19/05/07, Stephen Kennedy <stevek gnome org> wrote:
> Thanks for the hint. Based on your solution, I came up with a shorter
> version of my script. Now the two files appear in the window, but
> there are still 3 TextViews instead of 2.

> window.show_all()

Here's the bug : for two way diffs, the third pane needs to remain hidden.
Changing to window.show() works for me.

What app are you embedding meld into btw?

Stephen.




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