Re: More information about the selected objects - Mailing list pgadmin-hackers

From Vinicius Santos
Subject Re: More information about the selected objects
Date
Msg-id CAOTD_5H51h+7hyTOUxNgsQ_xXzmhNC88y5TPKv8S9ABonRz4_w@mail.gmail.com
Whole thread Raw
In response to Re: More information about the selected objects  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: More information about the selected objects
List pgadmin-hackers

Got some time to work on this. SetLabel is useful for widgets, not for
windows. Change your call to the SetLabel() method with a call to
SetTitle(). Works great for me on Linux. Don't know on Windows, maybe
you could check?

OK. I changed it.
 

About your patch, it seems good so far. My only issue is that, when I
click on the root node, or on a servers group node, it still displays
the old connection string. It shouldn't. It should get back to "pgAdmin
III".

Here, I would like the opinion of you.

When the user clicks on the "Database" node, the pgAdmin is connected to the database "postgres".
So, would not it be interesting to show this information?

 

Another thing that bugs me. To show the full name of an object, you use
this code:

GetSchema()->GetName() + wxT(".") + GetName()

instead of the simpler:

GetFullIdentifier()

GetFullIdentifier() doesn't show the same information.

We can't change it, because it is used in several other places.

pgadmin-hackers by date:

Previous
From: Jon Garate
Date:
Subject: Re: pldebugger blank code issue
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Update catalan translation