Re: PATCH: Save & restore last active panel in Options dialogue

From: Dave Page <dpage(at)pgadmin(dot)org>
To: "J(dot)F(dot) Oster" <jinfroster(at)mail(dot)ru>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Save & restore last active panel in Options dialogue
Date: 2013-12-06 17:21:19
Message-ID: CA+OCxoyerv=Dw1hMG_muOpR5nNGWRtGg-kZBuOgrZxb6i1JE4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - patch applied for 1.20.

On Thu, Dec 5, 2013 at 4:30 PM, J.F. Oster <jinfroster(at)mail(dot)ru> wrote:
> Hello All,
>
> This little improvement saves some time for a user actively playing
> with program's options. Last chosen treeview item label (translated!)
> is saved among other settings and used on next dialogue invocation to
> find and select treeview item with same label.
>
> Сontrol over panels visibility moved to a single function
> frmOptions::ShowPanel(menuItem), making future modifications a bit
> easier. By the way, a call
> pnlDatabaseDesigner->Show(false);
> was missing in frmOptions constructor.
>
> Also it seems that empty panel is of no use when selecting
> parent-level items like "Browser" or "Query tool". I'd suggest to
> show panels corresponding to their first children, like "Display" or
> "Query editor".
>
>
> --
> Best regards,
> Vadim
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dinesh Kumar 2013-12-09 08:58:42 Re: PATCH: Choose best width for Data Output columns of Query tool
Previous Message Dave Page 2013-12-06 17:21:08 pgAdmin III commit: Remember the last panel used on the Options dialogu