From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | Vladimir Kokovic <vladimir(dot)kokovic(at)gmail(dot)com> |
Cc: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: dlgType.cpp - set connection missing |
Date: | 2011-09-27 07:14:35 |
Message-ID: | 1317107676.2107.8.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
Hi,
On Tue, 2011-09-27 at 04:12 +0200, Vladimir Kokovic wrote:
> [...]
> # This patch file was generated by NetBeans IDE
> # It uses platform neutral UTF-8 encoding and \n newlines.
> --- Index
> +++ Modified In Working Tree
> @@ -99,6 +99,13 @@
>
> seclabelPage = new ctlSeclabelPanel(nbNotebook);
>
> + connection = schema->GetConnection();
> + if (connection->BackendMinimumVersion(9, 1))
> + {
> + seclabelPage->SetConnection(connection);
> + seclabelPage->SetObject(type);
> + }
> +
> lstMembers->CreateColumns(0, _("Member"), _("Data type"), _("Collation"), -1);
> lstLabels->InsertColumn(0, _("Label"), wxLIST_FORMAT_LEFT,
> GetClientSize().GetWidth());
>
Good catch. I didn't apply your patch because I think there's no need to
call CheckChange before calling Go (which already set the connection
variable).
Anyway, thank you for your patch, and report.
By the way, it would be great if you adds a few words in your mail to
explain what you are trying to do. Only sending a patch is not great.
It's good because it helps us. It's not great because I have to guess
what it does, and why it does it this way (and, no, the subject isn't
enough).
Anyway, thanks again.
--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Bartosz Dmytrak | 2011-09-27 18:47:35 | Re: ENUM type script in pgAdmin 1.14.0 |
Previous Message | Vladimir Kokovic | 2011-09-27 02:12:43 | dlgType.cpp - set connection missing |