Bug 210823

Summary: digikam does not respect kde default toolbar style
Product: [Applications] digikam Reporter: Jens Mueller <tschenser>
Component: Usability-ToolbarsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.0

Description Jens Mueller 2009-10-16 22:12:28 UTC
Version:           1.0.0-beta5 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

Default toolbar style (icononly, textundericon, txtbesideicon) can be set via systemsettings. Digikam and Showfoto do not respect this settings, they show always textbesideicon. Shure one can set this with one right click, but for consistence digikam should read kde defaults.
Comment 1 Andi Clemens 2009-11-02 17:06:13 UTC
SVN commit 1043890 by aclemens:

To adept the global KDE toolbar style, the toolbar needs to be named "mainToolBar".
digiKam used to name the toolbars "ToolBar", which makes it not behave like other KDE applications do.
A simple rename in the *ui.rc files does not prevent users from the "faulty" behavior if they have a custom
*ui.rc file in their home directories.  In this case, we need to parse the ui files and alter the name on
startup.

Note, other windows / plugins need to be ported, too.

BUG: 210823

 M  +10 -9     CMakeLists.txt  
 M  +11 -0     digikam/digikamapp.cpp  
 M  +2 -2      digikam/digikamui.rc  
 A             digikam/uifilevalidator.cpp   [License: GPL (v2+)]
 A             digikam/uifilevalidator.h   [License: GPL (v2+)]


WebSVN link: http://websvn.kde.org/?view=rev&revision=1043890