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

List:       kde-commits
Subject:    KDE/kdebase/apps/plasma/applets/folderview
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2008-07-31 21:33:31
Message-ID: 1217540011.117271.13481.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 840335 by aseigo:

RTL fix that occured to me while in the shower


 M  +1 -1      CMakeLists.txt  
 M  +5 -1      folderview.cpp  


--- trunk/KDE/kdebase/apps/plasma/applets/folderview/CMakeLists.txt #840334:840335
@@ -6,7 +6,7 @@
 
 kde4_add_ui_files(folderview_SRCS folderviewConfig.ui)
 kde4_add_plugin(plasma_applet_folderview ${folderview_SRCS})
-target_link_libraries(plasma_applet_folderview ${PLASMA_LIBS} konq ${KDE4_KIO_LIBS} \
${X11_LIBRARIES}) +target_link_libraries(plasma_applet_folderview ${PLASMA_LIBS} konq \
${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS} ${X11_LIBRARIES})  
 install(TARGETS plasma_applet_folderview DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-applet-folderview.desktop DESTINATION ${SERVICES_INSTALL_DIR})
--- trunk/KDE/kdebase/apps/plasma/applets/folderview/folderview.cpp #840334:840335
@@ -996,7 +996,11 @@
             m_titleText = m_titleText.right(m_titleText.length() - \
places.url(index).pathOrUrl().length() - 1);  
             if (!m_titleText.isEmpty()) {
-                m_titleText.prepend(" > "); 
+                if (layoutDirection() == Qt::RightToLeft) {
+                    m_titleText.prepend(" < ");
+                } else {
+                    m_titleText.prepend(" > ");
+                }
             }
 
             m_titleText.prepend(places.text(index));


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

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