Bug 164373 - use a different toolbar name instead of "mainToolBar"
Summary: use a different toolbar name instead of "mainToolBar"
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 11:54 UTC by James Richard Tyrer
Modified: 2008-08-06 00:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Richard Tyrer 2008-06-18 11:54:47 UTC
Version:           0.6.80 (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.2.4 
OS:                Linux

If you add an additional toolbar by editing the "part.rc" file, it works fine in the app, but if you use the part in Konqueror, it opens with the defaults for the toolbar rather than the Text Position and Icon Size that you set.
Comment 1 Pino Toscano 2008-06-18 12:02:43 UTC
Of course, given that Konqueror merges the main toolbar of the active kpart into its own main toolbar, and the buttons have a unique global setting for those.
Comment 2 James Richard Tyrer 2008-06-18 12:50:40 UTC
No, add an additional toolbar by adding this:

 <ToolBar noMerge="1" name="okularToolBar" >
  <text>Okular Toolbar</text>
 </ToolBar>

to the "part.rc" file.

Comment 3 Pino Toscano 2008-08-05 19:51:55 UTC
Then give a better title to this bug (that is a wish really).
Comment 4 James Richard Tyrer 2008-08-06 00:15:09 UTC
Since this works in KDE 3.5 BRNCH, it is a bug not a wish-list item.

However, since I received the copy of the change in the bug, I was reminded to work on this and find that the: "part.rc" file was corrupted and that was the proximate cause although I do not know how the file became screwed up.

IAC, I am now closing this as IWFM.  PT, please take note that anyone can add additional toolbars to an app that uses an "*.rc" file to configure them.