Thread: Ticket 144: allow the selection of a different user in dlgSelectConnection

Ticket 144: allow the selection of a different user in dlgSelectConnection

From
Guillaume Lelarge
Date:
Hi,

Josh asked some time ago to be able to change the user when adding a new
connection in the query tool. The dlgSelectConnection window already
allows this, but hides the txtUsername widget. I don't really understand
why it did this.

The patch attached changed the text widget with a combobox, and shows
this widget every time, so that a user can add a connection to a server
with a new user.

Comments?


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Re: Ticket 144: allow the selection of a different user in dlgSelectConnection

From
Guillaume Lelarge
Date:
Le 11/04/2010 12:05, Guillaume Lelarge a écrit :
> [...]
> Josh asked some time ago to be able to change the user when adding a new
> connection in the query tool. The dlgSelectConnection window already
> allows this, but hides the txtUsername widget. I don't really understand
> why it did this.
>
> The patch attached changed the text widget with a combobox, and shows
> this widget every time, so that a user can add a connection to a server
> with a new user.
>
> Comments?
>

Sorry, real patch attached.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com

Attachment

Re: Ticket 144: allow the selection of a different user in dlgSelectConnection

From
Guillaume Lelarge
Date:
Le 11/04/2010 12:07, Guillaume Lelarge a écrit :
> Le 11/04/2010 12:05, Guillaume Lelarge a écrit :
>> [...]
>> Josh asked some time ago to be able to change the user when adding a new
>> connection in the query tool. The dlgSelectConnection window already
>> allows this, but hides the txtUsername widget. I don't really understand
>> why it did this.
>>
>> The patch attached changed the text widget with a combobox, and shows
>> this widget every time, so that a user can add a connection to a server
>> with a new user.
>>
>> Comments?
>>
>
> Sorry, real patch attached.
>

Commited.


--
Guillaume.
 http://www.postgresqlfr.org
 http://dalibo.com