Hi *,
On Sun, Jan 2, 2011 at 9:51 PM, Robert Nagy <robert@openbsd.org> wrote:
---
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
index f7a1cf2..fe7791d 100644
--- a/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
@@ -3592,7 +3592,7 @@ void GtkSalGraphics::updateSettings( AllSettings& rSettings )
aStyleSet.SetPreferredSymbolsStyleName( OUString::createFromAscii( pIconThemeName ) );
g_free( pIconThemeName );
- aStyleSet.SetToolbarIconSize( STYLE_TOOLBAR_ICONSIZE_LARGE );
+ aStyleSet.SetToolbarIconSize( nDispDPIY > 160 ? STYLE_TOOLBAR_ICONSIZE_LARGE :
STYLE_TOOLBAR_ICONSIZE_SMALL );
const cairo_font_options_t* pNewOptions = NULL;
if( GdkScreen* pScreen = gdk_display_get_screen( gdk_display_get_default(), m_nScreen ) )
--
1.7.3.2
How much effort would it be to read the property from gconf if
available (or is this already done when DESKTOP=gnome)?
I prefer small icons, no matter what. Icons are there to preserve
space, provide access to functionality, not to waste my screen-estate
with "pretty pictures". I don't need to guess what people do by
looking at what they depict. (if I'm unsure, I read the
tooltip/extended tip). Of those I use frequently, I don't even look at
the picture, I know where it sits in the toolbar...
$ gconftool-2 --get /desktop/gnome/interface/toolbar_icons_size
small-toolbar
(as opposed to large-toolbar)
ciao
Christian
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.