Re: [pgAdmin III] #247: Defined Custom Colors not retained

Поиск
Список
Период
Сортировка
От pgAdmin Trac
Тема Re: [pgAdmin III] #247: Defined Custom Colors not retained
Дата
Msg-id 066.a1084a53887a6656163538bc3ce147e3@code.pgadmin.org
обсуждение исходный текст
Ответ на [pgAdmin III] #247: Defined Custom Colors not retained  ("pgAdmin Trac" <trac@code.pgadmin.org>)
Список pgadmin-hackers
#247: Defined Custom Colors not retained
------------------------------+---------------------------------------------
 Reporter:  Melvin Davidson   |       Owner:  dpage
     Type:  feature           |      Status:  new  
 Priority:  minor             |   Milestone:       
Component:  pgadmin           |     Version:  1.12 
 Keywords:  ctlColourPicker   |    Platform:  all  
------------------------------+---------------------------------------------

Old description:

> Using PgAdmin III v 1.12.0 (Win32)
>
> When defining a Custom Color for a server connection, the definirtion
> is not retained.
>
> Steps to reproduce.
>
> 1. Right click on a connection, Properties...
> 2. Click on Colour
> 3. Click Define Custom Colors >> <--Also note inconsistency between
> Colours and Color
> 4. Set Red=255
>         Green=170
>            Blue=85
> 5. Click on "Add To Custom Colors" button
> 6. Click OK
> 7. Click OK
> 8. Click OK to messages about server settings
> 9. Close & then re-open PgAdmin
> 10, Repeat steps 1, 2 & 3.
> 11. Note the previous defined custom color has not been saved.

New description:

 Using PgAdmin III v 1.12.0 (Win32)

 When defining a Custom Color for a server connection, the definirtion
 is not retained.

 Steps to reproduce.

 1. Right click on a connection, Properties...
 2. Click on Colour
 3. Click Define Custom Colors >> <--Also note inconsistency between
 Colours and Color
 4. Set Red=255
         Green=170
            Blue=85
 5. Click on "Add To Custom Colors" button
 6. Click OK
 7. Click OK
 8. Click OK to messages about server settings
 9. Close & then re-open PgAdmin
 10, Repeat steps 1, 2 & 3.
 11. Note the previous defined custom color has not been saved.

--

Comment(by gleu):

 See the documentation on wxColourData (and more precisely
 GetCustomColour() and SetCustomColour() methods).

--
Ticket URL: <http://code.pgadmin.org/trac/ticket/247#comment:1>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #247: Defined Custom Colors not retained
Следующее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #248: The editgrid doesn't save the columns custom width