KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

11
Score 76.7%
Description:

This is a quick-and-dirty LD_PRELOAD hack that allows *some* Gtk applications to use KDE's file dialogs when run under KDE.

The Gtk file chooser functions have been overridden to communicate with this KDE module/application.

After compiling and installing this, you can run Gtk applications in 2 ways:

A. call /usr/local/bin/kgtk-wrapper gimp

B. i. Create a symbolic link from the wrapper script to your application, e.g.
ln -s /usr/local/bin/kgtk-wrapper /usr/local/bin/gimp
ii. Make sure /usr/local/bin is before /usr/bin (or wherever gimp is installed) in your $PATH
iii. Now simply run 'gimp' - this should find the wrapper script first.

If this works OK, then edit the .desktop file (e.g. /usr/share/applications/gimp.desktop) to have "Exec=/usr/local/bin/[appname]" instead of "Exec=[appname]", e.g. for gimp.desktop this would be:

Exec=/usr/local/bin/gimp-remote-2.2 %U

or:

Exec=/usr/local/bin/kgtk-wrapper gimp-remote-2.2 %U


So far I have tested this with the following applications:

1. Kino. Works perfectly - in fact Kino was my main reason for doing this.
2. Firefox. Works with Firefox 1.5, but *not* Firefox 1.0.x
3. GIMP. Again, seems to work just fine. However, there is no progress bar on file loading - as GIMP uses a progress bar embedded in the file chooser.
4. Inkscape. Works OK - at least 0.43
5. Streamtuner - the folder browser button works.
6. AbiWord - does *not* work. Don't even try...
7. Glade2. Seems to work OK, however I have had it crash when loading Kino's .glade file, but not always. So I'm not sure if this is Glade's fault, or mine.
8. Eclipse. Will work only if dlsym can be overriden

As the only Gtk apps I use are Kino, GIMP, and a little of Firefox, this library works great for me. Your millage may vary, and please note that this is only a quick hack to get things working now for me. I'm not sure how stable it will be under heavy usage, so don't be surprised if it breaks. However, if it does break - the only thing that should happen is that the Gtk apps will fall back to using the standard Gtk dialogs.


p.s. Before anyone asks, as they always do:
Widget style: QtCurve, works for KDE and Gtk (also does KDE->Gtk icon mapping). This is set on the "Clear" variation.
Window decoration: Crystal with Knifty buttons
Font: Verdana. However, I have recompiled FreeType with the TrueType byte encoder enabled - this give great looking non anti-aliased fonts (otherwise they look *horrible*)
Last changelog:

8 years ago

0.11.0
------
1. Gtk3 support.
2. Better, and safer, lookup of file filters.
3. Correctly determine size of string needed for pidfile!
4. Add thunderbird, and LibreOffice apps, to list of gtk2 apps.
5. Cleanup usless stuff; remove kdialogd3, qt3, qt4, kgtk2-wrapper, kqt3-wrapper, kqt4-wrapper.
6. Merge kgtkXX-wrapper scripts into kgtk-wrapper
7. Install kdialogd4 into KDE4 libexec dir.
8. Fix crash where client is terminated whilst file dialog is open.
9. Configurable debug. Pass cmake -DKGTK_DEBUG=true
When starting app, set KGTK_DEBUG env var, e.g.

KGTK_DEBUG=0x10 kgtk-wrapper lowriter

0x01 Connection debug
0x02 General debug
0x04 Filter get and set debug
0x08 Filter creation debug
0x10 Custom widget debug
0x20 dlsym debug
Values may be combined

10. If LibreOffice is detected (app is libreoffice, lowriter, etc.) then also set the OOO_FORCE_DESKTOP env var to gnome, so that we get nicer
themeing.
11. When passing filters to KFileDialog, replace / with \/
12. Make filter combo non-editable.
13. When returning selected filter to Gtk app, also return the filter name and not just the file pattern. This way if two filters have the same file pattern the corrent one can be selected.
14. Support for checkbox custom widgets.
15. Save location history per app.

Tolaris

11 years ago

I've packaged KGTK for Ubuntu Hardy, KDE3, kdialog, GTK2. See my post here for details:

http://www.tolaris.com/2008/10/12/kgtk-packaged-for-ubuntu-hardy/

Report

duanmaotu

11 years ago

I never made KGTK work on my Gentoo, currently with KDE-4.1.68.
I got this error:
Quote:
/usr/local/bin/kdialogd-wrapper: line 23: kdialogd4: command not found
ERROR: Could not talk to KDialogD!!!

I try to make it clear:
cmake output:
Quote: $cmake .. -DKGTK_KDE4=true -DKGTK_QT4=true
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for getpeereid
-- Looking for getpeereid - not found
** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/kde/4.2/include
-- Found KDE 4.2 library dir: /usr/kde/4.2/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/kde/4.2/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
** INFORMATION: KDialogD for KDE4 will be built.
-- Found xgettext: /usr/bin/xgettext
-- checking for module 'gtk+-2.0>=2.6'
-- found gtk+-2.0, version 2.12.11
** INFORMATION: Gtk2 LD_PRELOAD library will be built.
-- Found Qt-Version 4.4.2
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
** INFORMATION: Qt4 LD_PRELOAD library will be built.
** INFORMATION: Using installation prefix: /usr/local
-- Configuring done
CMake Warning (dev) at qt4/CMakeLists.txt:14 (add_library):
Policy CMP0003 should be set before this line. Add code such as

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "kqt4" links to some libraries for which the linker must
search:

-lc, -ldl

and other libraries with known full path:

/usr/lib/qt4/libQtGui.so


CMake is adding directories in the second list to the linker search path in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/public/sources/KGtk-0.10.0/build

Then make:
Quote:$make
Generating kdialogd.moc
Scanning dependencies of target kdialogd4_bin
[ 7%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd4_bin_automoc.o
[ 15%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
/home/public/sources/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
Linking CXX executable kdialogd4
[ 15%] Built target kdialogd4_bin
Scanning dependencies of target pofiles
[ 15%] Generating pt_BR.gmo
[ 15%] Generating ru.gmo
[ 15%] Generating fr.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/fr.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating zh_CN.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/zh_CN.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating es.gmo
/home/public/sources/KGtk-0.10.0/kdialogd4/po/es.po: warning: Charset "CHARSET" is not a portable encoding name.
Message conversion to user's charset might not work.
[ 15%] Generating cs.gmo
[ 15%] Generating en_GB.gmo
[ 15%] Generating de.gmo
[ 76%] Built target pofiles
Scanning dependencies of target kgtk2
[ 84%] Building C object gtk2/CMakeFiles/kgtk2.dir/kgtk2.o
In file included from /home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:67:
/home/public/sources/KGtk-0.10.0/common/connect.h:98:5: warning: #warning "Using sloppy security checks"
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘kdialogdMain’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:194: warning: initialization from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘sendMessage’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:254: warning: passing argument 1 of ‘gdk_x11_drawable_get_xid’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_init_check’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:672: warning: assignment makes integer from pointer without a cast
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_combo_box_get_active’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1209: warning: passing argument 1 of ‘isOnFileChooser’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘gtk_dialog_run’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1412: warning: return makes integer from pointer without a cast
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘handleGtkFileChooserButtonClicked’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1771: warning: passing argument 1 of ‘gtk_dialog_run’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: In function ‘handleGtkFileChooserComboChanged’:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1793: warning: passing argument 1 of ‘gtk_dialog_run’ from incompatible pointer type
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c: At top level:
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1916: warning: ‘struct PR_LoadLibrary’ declared inside parameter list
/home/public/sources/KGtk-0.10.0/gtk2/kgtk2.c:1916: warning: its scope is only this definition or declaration, which is probably not what you want
Linking C shared library libkgtk2.so
[ 84%] Built target kgtk2
[ 92%] Generating mangled.h
Scanning dependencies of target kqt4
[100%] Building CXX object qt4/CMakeFiles/kqt4.dir/kqt4.o
In file included from /home/public/sources/KGtk-0.10.0/qt4/kqt4.cpp:54:
/home/public/sources/KGtk-0.10.0/common/connect.h:98:5: warning: #warning "Using sloppy security checks"
Linking CXX shared library libkqt4.so
[100%] Built target kqt4


Seem nothing seriously broken. However, no kdialogd4 is installed:
Quote:
s-ele-pc81 build # make install
[ 15%] Built target kdialogd4_bin
[ 76%] Built target pofiles
[ 84%] Built target kgtk2
[100%] Built target kqt4
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/bin/kdialogd-wrapper
-- Up-to-date: /usr/local/bin/kgtk-wrapper
-- Installing: /usr/local/share/locale/pt_BR/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/ru/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/fr/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/zh_CN/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/es/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/cs/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/en_GB/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/share/locale/de/LC_MESSAGES/kdialogd4.mo
-- Installing: /usr/local/lib/kgtk/libkgtk2.so
-- Installing: /usr/local/bin/kgtk2-wrapper
-- Installing: /usr/local/lib/kgtk/libkqt4.so
-- Removed runtime path from "/usr/local/lib/kgtk/libkqt4.so"
-- Installing: /usr/local/bin/kqt4-wrapper

Report

toshiharu

11 years ago

I succeeded to install KGtk-0.10.0 with KDE-4.1.71.
I passed the following options to cmake.
kdialogd4 was installed.

Quote:
$ cmake . -DKGTK_KDE4=true -DKGTK_QT4=true -DCMAKE_BUILD_TYPE:STRING=debugfull

Report

toshiharu

11 years ago

I succeeded without -DCMAKE_BUILD_TYPE:STRING=debugfull in KDE-4.1.73.

Quote:cmake . -DKGTK_KDE4=true -DKGTK_QT4=true

Report

lopan

11 years ago

Hi!

Look for your kdialog on version 4. On Gentoo you try: equery f kde-base/kdialog

So, when you found it, change your /usr/local/bin/kdialogd-wrapper at line 23 to correct kdialog path.

Report

bory2201

11 years ago

I get followings while trying to compile kgtk for kde4:

[ 7%] Building CXX object kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp: In member function 'void KDialogDClient::finished()':
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp:394: error: cast from 'KDialog*' to 'int' loses precision
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp: At global scope:
/home/erik/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter 'modal'
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Error 2
make: *** [all] Error 2

Any idea what it is?

Report

bory2201

11 years ago

went to line 394 in kdialogd.cpp and changed (int)itsDlg to itsDlg. It works now. I have 64-bit system, maybe that's the reason. I have had -DLIB_SUFFIX=64 applied.

Report

val-gaav

11 years ago

I had the same error changed the line mentioned here and now I get :

/home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
In file included from /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:754:
In function ‘int open(const char*, int, ...)’,
inlined from ‘int grabLock(int)’ at /home/valgaav/KGtk-0.10.0/common/common.h:208,
inlined from ‘void KDialogD::timeout()’ at /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:269:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Błąd 2
make: *** [all] Error 2

any tips on how to solve it ? This is a 64 bit Intrepid kubuntu, and I'm building this for kde4 dialog.

Report

palirohar

11 years ago

I have same problem. Any tips?

Report

palirohar

11 years ago

I found error.
I fix it with:
change line 208 in file common/common.h
from:

lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL);

to:

lockFd=open(getLockName(), O_WRONLY | O_CREAT | O_EXCL, 0777);

and then it works for me on kubuntu 8.10 64 bit

Report

Murz

11 years ago

Many thanks! Compiled after thouse two paches succesfully on Kubuntu Intrepid AMD64 width KDE64.

Report

val-gaav

11 years ago

Could you perhaps post a checkinstall deb of it please ?

I have a fresh install of jaunty 64bit and somewhat don't want to install all those dev packages just to compile kgtk again ...

yeah well I should keep my old package but it's gone as I forgot about it.

Report

val-gaav

11 years ago

I had the same error changed the line mentioned here and now I get :

/home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:664: warning: unused parameter ‘modal’
In file included from /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:754:
In function ‘int open(const char*, int, ...)’,
inlined from ‘int grabLock(int)’ at /home/valgaav/KGtk-0.10.0/common/common.h:208,
inlined from ‘void KDialogD::timeout()’ at /home/valgaav/KGtk-0.10.0/kdialogd4/kdialogd.cpp:269:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/kdialogd.o] Error 1
make[1]: *** [kdialogd4/CMakeFiles/kdialogd4_bin.dir/all] Błąd 2
make: *** [all] Error 2

any tips on how to solve it ? This is a 64 bit Intrepid kubuntu, and I'm building this for kde4 dialog.

Report

duanmaotu

11 years ago

'kgtk-wrapper firefox' in KDE4.1 does not work. The error message is:

/usr/bin/kdialogd-wrapper: line 23: kdialogd4: command not found
ERROR: Could not talk to KDialogD!!!


BUT, there's no kdialogd4 from the installation.

Report

Haiyadragon

11 years ago

In my case kdialogd4 is built, but it is not installed by 'make install' or 'checkintall'.

I copied it manually, in build directory: 'cp kdialogd4/kdialogd4 /usr/bin' and 'chown root.root /usr/bin/kdialogd4'.

Report

TotoKid

11 years ago

I had this problem too. Try with "kgtk2-wrapper firefox", otherwise build it again.

Report

duanmaotu

11 years ago

Thanks. kgtk2-wrapper does not work, and I have rebuilt it many times :(

Do you have kdialogd4 in your system? I'm using Gentoo's ebuild.

Report

mkyral

11 years ago

Do you have the "qt4" use flag enabled?


[I] kde-misc/kgtk
Available versions: (~)0.9.1[1] (~)0.9.1-r1 (~)0.9.4 (~)0.9.5 (~)0.9.5[2] (~)0.10.0 {arts debug elibc_FreeBSD qt4 xinerama}
Installed versions: 0.10.0(21:46:49 15.9.2008)(qt4 -debug -elibc_FreeBSD -xinerama)
Homepage: http://www.kde-apps.org/content/show.php?content=36077
Description: Allows *some* Gtk, Qt3, and Qt4 applications to use KDE's file dialogs when run under KDE

[1] "arcon" /usr/local/portage/layman/arcon
[2] "local-repo" /usr/local/portage

Report

duanmaotu

11 years ago

Yes. I have qt4 use.

Report

bory2201

11 years ago

I had to compile kgtk manually to enable kde4. Ebuild doesn't seem to work atm.

Report

ssokolow

11 years ago

To fix the ebuild, apply the two patches from Gentoo bug 257495. (The former is the build fixes, the latter is one I put together to actually enable and install kdialogd4.)

http://bugs.gentoo.org/show_bug.cgi?id=257495

Report

TotoKid

11 years ago

Yes, kdialogd was succesfully built on Kubuntu Hardy. I'm sorry, but I don't know how to fix it on Gentoo :'(.

Report

TotoKid

11 years ago

Before I begin, congratulations for the nice work and good explanations in the README file. I succeeded in building Kgtk and found the best way to start apps is to execute "kgtk2-wrapper appname". There is just one thing that left me a bit disappointed: when I start any app with Kgtk and a KDE dialog opens, that app always loses focus. Is there a way to fix this annoying bug?

Report

GuSArg

11 years ago

Under Kubuntu Hardy + kde4 i have:

gdnet@servidor:~/Descargas/KDE4/kdeDialogs/KGtk-0.10.0/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DKGTK_KDE4=true -DKGTK_QT4=true
** INFORMATION: Compiling Qt4/KDE4, Qt3/KDE3 disabled
CMake Error at /usr/lib/kde4/share/kde4/apps/cmake/modules/FindQt4.cmake:505 (MESSAGE):
Could NOT find QtGlobal header
Call Stack (most recent call first):
/usr/lib/kde4/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:260 (find_package)
/usr/share/cmake-2.6/Modules/FindKDE4.cmake:69 (FIND_PACKAGE)
kdialogd4/CMakeLists.txt:1 (find_package)


-- Configuring done

I have kdelibs5-dev and libqt4-dev installed... What i am missing?

Report

sjakub

11 years ago

It doesn't compile on x86_64 because of different size of int. Casting pointers to int works on 32bit, on 64 it doesn't.
Here is the patch to solve it:
http://aur.archlinux.org/packages/kgtk/kgtk/kdialog4.patch

Report

8 years ago

0.11.0
------
1. Gtk3 support.
2. Better, and safer, lookup of file filters.
3. Correctly determine size of string needed for pidfile!
4. Add thunderbird, and LibreOffice apps, to list of gtk2 apps.
5. Cleanup usless stuff; remove kdialogd3, qt3, qt4, kgtk2-wrapper, kqt3-wrapper, kqt4-wrapper.
6. Merge kgtkXX-wrapper scripts into kgtk-wrapper
7. Install kdialogd4 into KDE4 libexec dir.
8. Fix crash where client is terminated whilst file dialog is open.
9. Configurable debug. Pass cmake -DKGTK_DEBUG=true
When starting app, set KGTK_DEBUG env var, e.g.

KGTK_DEBUG=0x10 kgtk-wrapper lowriter

0x01 Connection debug
0x02 General debug
0x04 Filter get and set debug
0x08 Filter creation debug
0x10 Custom widget debug
0x20 dlsym debug
Values may be combined

10. If LibreOffice is detected (app is libreoffice, lowriter, etc.) then also set the OOO_FORCE_DESKTOP env var to gnome, so that we get nicer
themeing.
11. When passing filters to KFileDialog, replace / with \/
12. Make filter combo non-editable.
13. When returning selected filter to Gtk app, also return the filter name and not just the file pattern. This way if two filters have the same file pattern the corrent one can be selected.
14. Support for checkbox custom widgets.
15. Save location history per app.

12345678910
8
product-maker arcanis Jun 15 2014 9 excellent
product-maker YAFU Sep 26 2012 9 excellent
product-maker frag Sep 20 2012 9 excellent
product-maker dreamsoul Nov 04 2011 9 excellent
product-maker deabru Nov 04 2011 9 excellent
product-maker tcat Jun 20 2011 9 excellent
product-maker unikum111 Apr 25 2011 9 excellent
product-maker ZaWertun Nov 11 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
deabru
Nov 04 2011
tcat
Jun 20 2011
unikum111
Nov 12 2010
tigerfoot
Mar 07 2010
Raboch
Feb 24 2010
DaiVied
Dec 30 2009
Camberwell
Dec 01 2009
usrkl
Oct 07 2009
-luk-
Feb 23 2009
val-gaav
Feb 23 2009
alecs1
Feb 15 2009
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.11.0
updated Nov 03 2011
added Mar 06 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 16