From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Info on non supported Features |
Date: | 2011-01-10 07:25:52 |
Message-ID: | 4D2AB480.20504@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
Le 10/01/2011 02:22, Jasmin Dizdarevic a écrit :
> [...]
> as I started working on email notification Dave told me, that I've to
> disable all email notification relevant GUI elements, if the required
> pgAgent version is not installed.
> I did that of course, but I thought why we should not tell the user, why a
> control is disabled.
>
> My idea is not to disable the control, but hide it and place an explaining
> text on it's position. In code we know which version is required because of
> the call pgConn::BackendMinimumVersion(major, minor).
> I've extended this method to pgConn::BackendMinimumVersion(major,wxControl*
> control) and every time this is called, the desired control will be hidden
> and a wxStaticText control will be added.
>
> The text is for example: Supported in PostgreSQL %i.%i, major, minor
> => Supported in PostgreSQL 9.1. See also the attached screenshots.
>
> I know this is not applicable in all situations, but it's a useful
> information.
>
> What you think about it? Shall I finalize this feature?
>
The idea is interesting. I wonder if it works well with resizable
dialogs. Did you try?
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Dhiraj Chawla | 2011-01-10 07:52:43 | Re: pgAdmin Crashes When Opening a *.sql File From Windows Explorer |
Previous Message | Jasmin Dizdarevic | 2011-01-10 01:22:51 | Info on non supported Features |