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

List:       kde-commits
Subject:    playground/base/plasma/applets/notify
From:       Dmitry Suzdalev <dimsuz () gmail ! com>
Date:       2008-05-26 11:27:28
Message-ID: 1211801248.061032.3958.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 812776 by dimsuz:

Make default sizes more sane and use non-null icon for applet


 M  +1 -1      notificationwidget.cpp  
 M  +1 -1      notifyapplet.cpp  
 M  +1 -0      plasma-applet-notify.desktop  


--- trunk/playground/base/plasma/applets/notify/notificationwidget.cpp #812775:812776
@@ -72,7 +72,7 @@
     QFont smallFont = KGlobalSettings::smallestReadableFont();
     QFontMetrics fm(smallFont);
 
-    return MARGIN*2 + ICON_SIZE + fm.height();
+    return MARGIN*2 + ICON_SIZE + fm.height()*2;
 }
 
 void NotificationWidget::addNotification( const Plasma::DataEngine::Data& data )
--- trunk/playground/base/plasma/applets/notify/notifyapplet.cpp #812775:812776
@@ -34,7 +34,7 @@
     m_engine(0), m_icon(0), m_mainWid(0),
     m_popupView(0), m_isOnDesktop(false)
 {
-    resize( 300, 50 );
+    resize( 370, 50 );
 }
 
 NotifyApplet::~NotifyApplet()
--- trunk/playground/base/plasma/applets/notify/plasma-applet-notify.desktop #812775:812776
@@ -3,6 +3,7 @@
 Name[et]=Märguanne
 Name[sv]=Underrättelse
 Type=Service
+Icon=preferences-desktop-notification
 X-KDE-ServiceTypes=Plasma/Applet
 
 X-KDE-Library=plasma_applet_notify
[prev in list] [next in list] [prev in thread] [next in thread] 

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