On 27/10/2008 12:32, Stefan Schimanski wrote:
Am 27.10.2008 um 11:24 schrieb Jean-Marc Lasgouttes:
Stefan Schimanski <[EMAIL PROTECTED]> writes:
After thinking about it, I am not sure anymore whether it is really so
trivial. Don't I overwrite the default icon size of the desktop
environment with this?
The problem as I see it is that the icon size (which is set in yet
another config file which of course is in its own directory, grr) is not
set until some explicit setting is done.
What I would propose instead of you patch is: in restoreLayout(), set
icon size to normal instead of returning false when the icon_size key is
not found.
Of course, another problem is to know why we should not follow
system-wide icon size options... Large icons would be perfect on mac if
we followed the rules: nice big icons, and few icons on toolbar. But I
think we cannot afford that.
First we cannot afford that much space for a toolbar. But second the
big icons just look bad. A lot of apps nowadays have much smaller
icons (Mail.app, Safari, Finder, just a name a few). And just because
Qt chooses 32 does not make it the right choice.
The problem with your approach above is that restoreLayout is only
called if the session management is actived, right?
That's right but this is something that we should change. It's one thing
to disable geometry session management but it's another to disable all
session management altogether.
So, if it is disabled then LyX will still get those big icons.
As I said, we should not disable icon size saving IMO.
Abdel.