[gnote] Do not use 22x22 icon in panel



commit 21f50deccb7c7025d6d55acfcfcb20ebb7529c07
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun Jan 16 21:46:06 2011 +0200

    Do not use 22x22 icon in panel
    
    Icons of such size are not used in panel.

 src/tray.cpp |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/tray.cpp b/src/tray.cpp
index 1821924..eede132 100644
--- a/src/tray.cpp
+++ b/src/tray.cpp
@@ -533,10 +533,7 @@ namespace gnote {
 
   bool TrayIcon::on_size_changed(int size)
   {
-    if(size < 24) {
-      size = 22;
-    }
-    else if(size < 32) {
+    if(size < 32) {
       size = 24;
     }
     else if(size < 48) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]