Re: tabbed interface





On 5/20/07, Lars Clausen <lars raeder dk> wrote:
On Sun, 2007-05-20 at 11:37 -0500, Patrick Hallinan wrote:
>
>
> On 5/20/07, Lars Clausen <lars raeder dk> wrote:
>         On Wed, 2007-05-16 at 06:56 -0500, Patrick Hallinan wrote:
>         > On 5/5/07, Lars Clausen <lars raeder dk> wrote:
>         >         On Sat, 2007-04-28 at 01:48 -0500, Patrick Hallinan
>         wrote:
>         [snip]
>
>         I can't apply the patch at the moment -- it crashes for me
>         when applied
>         to the normal SVN under Ubuntu Dapper x86:
>
> I'll get Ubuntu Dapper installed so I can see what's happening.

Never mind, I found it -- you just forgot to comment out the
widget_show()s for the zoom status box.  BTW, if you don't know about
valgrind, it's a great tool for debugging strange memory errors and
crashes.

I'll commit your patch now.

>         For code cleanup, I think a great amount of improvement can be
>         had by
>         abstracting out where the various widgets live in the two UI
>         states, so
>         you can use the same code to access them.
>
> The first thing  I was going to do was to fix the toolbar to use the
> UI Manager instead of my cobbled in code.

Ok.

> I think the first thing that would need to change architecturally is
> to make a separation between the Dia Editor and the display shell.  I
> have been thinking about that but I don't know how to do it.  I'm
> still very much assimilating how things are organized and I am
> relatively new to gtk.

There is already the separation between the app (UI stuff) and lib
(model stuff).

>  Also, I've wondered if there is a Dia-View where you can see the
> diagrams but not edit them?  I haven't looked at dia-embedded stuff
> but I wondered if that was what that was about.

There is no such thing.  The embedded stuff was for bonobo.

Any chance the layers dialog can be embedded under the toolbox?  Or
would that make the window too tall?

What would you think of adding it  to the toolbar?  Or putting the tool button inside a notebook so you could flip between tool buttons and layers?

Pat.



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