[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Oxygen-Gtk] 7e033a7: use MainToolBar icon size for drag and drop.
From:       Hugo Pereira Da Costa <hugo () oxygen-icons ! org>
Date:       2010-12-24 12:46:03
Message-ID: 20101224124603.9C942A6090 () git ! kde ! org
[Download RAW message or body]

commit 7e033a7e3fa9fd9d80bbd9a12b57da1463fc2bce
branch master
Author: Hugo Pereira Da Costa <hugo@oxygen-icons.org>
Date:   Fri Dec 24 13:43:59 2010 +0100

    use MainToolBar icon size for drag and drop.
    The drag and drop icon size is not defined in KDE specs, so the choice is arbitrary.
    Since the choice above fixes some bug in handbrake, lets pick this one.

diff --git a/src/oxygenqtsettings.cpp b/src/oxygenqtsettings.cpp
index 70281db..6d558fb 100644
--- a/src/oxygenqtsettings.cpp
+++ b/src/oxygenqtsettings.cpp
@@ -87,7 +87,7 @@ namespace Oxygen
 
         if( g_getenv( "KDE_FULL_SESSION" ) )
             _KDESession = true;
-        
+
         // clear RC
         _rc.clear();
 
@@ -132,7 +132,7 @@ namespace Oxygen
             // reload fonts
             loadKdeFonts();
         }
-        
+
         // kde globals options
         loadKdeGlobalsOptions();
 
@@ -338,7 +338,7 @@ namespace Oxygen
         icons.setIconSize( "panel", panelIconSize );
         icons.setIconSize( "gtk-small-toolbar", toolbarIconSize );
         icons.setIconSize( "gtk-large-toolbar", mainToolbarIconSize );
-        icons.setIconSize( "gtk-dnd", desktopIconSize );
+        icons.setIconSize( "gtk-dnd", mainToolbarIconSize );
         icons.setIconSize( "gtk-button", smallIconSize );
         icons.setIconSize( "gtk-menu", smallIconSize );
         icons.setIconSize( "gtk-dialog", dialogIconSize );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic