Re: ]GTK 3

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: ]GTK 3
Дата
Msg-id CAECtzeXhbbCG7XPgeRpMKrnpRxJO6HsnE9v=vgxEb+ndFps7AQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ]GTK 3  (Björn Harrtell <bjorn.harrtell@gmail.com>)
Ответы Re: ]GTK 3  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
2016-01-05 23:54 GMT+01:00 Björn Harrtell <bjorn.harrtell@gmail.com>:
Found the theme color issue.

Server node color is customizable and new server nodes are created with background from window and saved in .pgadmin3. 

I don't see the usefulness of this feature so I've attached patch that removes it.


-1

I didn't see either when it was commited, but I know many users who are really fond of the feature. It helps them track which kind of servers they're connected to (production, testing, dev, etc).
 
I see there is alot of work to be done to modernize the usage of wxWidgets to take advantage of new widgets for trees, lists and toolbar and perhaps even the grid. Any interest in contributions towards this?


I would say yes, but be aware that the next major release of pgAdmin (as in pgAdmin IV) won't use wxwidgets.
 
/Björn

PS. Dug alot into the code base to finally discover the above and noticed there is *alot* of work to do to properly go to wxWidgets 3.0+.


Sure as well.
 
2015-12-18 14:35 GMT+01:00 Björn Harrtell <bjorn.harrtell@gmail.com>:
Thanks,

I'm on Debian testing and have just managed to compile wxWindows 3.0.2 against GTK 3.18, then pgadmin3 against that.

I'm surprised to report that it compiles and runs fine! I'm impressed by the API compatibility of wxWindows.

However, my initial reason for exploring this was that the standard pgadmin3 compiled against GTK 2 wasn't themed to my GNOME 3 desktop which I thought would be resolved by using GTK 3 but it does not. Some elements works as expected, like for instance the GTK 3 file browser is opened, but other issues remain. The most glaring example is that the browser tree items have a white background regardless of theme (applies to both GTK 2 and 3), and will be unreadable if using dark themes (that have light colored text).

/Björn

2015-12-18 14:04 GMT+01:00 Timon <timosha@gmail.com>:
I've tried to build under fedora 23

./configure CXXFLAGS="-W./configure --with-wx-version=3.0 CXXFLAGS="-Wno-deprecated-declarations -Wl,-z,lazy -fPIC -pie" CFLAGS="-fPIC -pie"
make -j 10

but it failed on linking stage with errors like

pgAdmin3.o: In function `wxCreateApp()':
pgAdmin3.cpp:(.text+0x16): undefined reference to `wxAppConsole::CheckBuildOptions(char const*, char const*)'
pgAdmin3.o: In function `frmDlgTest::frmDlgTest()':
pgAdmin3.cpp:(.text+0x381): undefined reference to `wxDir::~wxDir()'
pgAdmin3.cpp:(.text+0x423): undefined reference to `wxDir::~wxDir()'
pgAdmin3.o: In function `pgAdmin3::OnInit()':
.....

2015-12-18 14:35 GMT+03:00 Björn Harrtell <bjorn.harrtell@gmail.com>:
Hi devs,

Have anyone investigated compiling pgadmin using wxWidgets > 2.9.4 and GTK+ 3 which can be enabled with configure option --with-gtk=3?

I'm putting an effort into it now and will share results here, but will appreciate information from anyone with existing experience.

/Björn



--
All bugs reserved




--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




--

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

Предыдущее
От: Harshal Dhumal
Дата:
Сообщение: backform select2 control
Следующее
От: Dave Page
Дата:
Сообщение: Re: ]GTK 3