SOURCES: amarok-titleorder.patch (NEW) - show amarok name in app t...

glen glen at pld-linux.org
Tue Dec 26 20:54:17 CET 2006


Author: glen                         Date: Tue Dec 26 19:54:17 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- show amarok name in app title last. well i recognize amarok by icon and i want to see what is now playing from statusbar/applist

---- Files affected:
SOURCES:
   amarok-titleorder.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/amarok-titleorder.patch
diff -u /dev/null SOURCES/amarok-titleorder.patch:1.1
--- /dev/null	Tue Dec 26 20:54:17 2006
+++ SOURCES/amarok-titleorder.patch	Tue Dec 26 20:54:12 2006
@@ -0,0 +1,20 @@
+--- amarok-1.4.4/amarok/src/app.cpp~	2006-10-26 23:40:20.000000000 +0300
++++ amarok-1.4.4/amarok/src/app.cpp	2006-12-26 21:52:35.829202536 +0200
+@@ -994,7 +990,7 @@
+         if ( oldState == Engine::Paused )
+             Amarok::OSD::instance()->OSDWidget::show( i18n( "state, as in playing", "Play" ) );
+         if ( !bundle.prettyTitle().isEmpty() )
+-            m_pPlaylistWindow->setCaption( i18n("Amarok - %1").arg( bundle.veryNiceTitle() ) );
++            m_pPlaylistWindow->setCaption( i18n("%1 - Amarok").arg( bundle.veryNiceTitle() ) );
+         break;
+ 
+     case Engine::Paused:
+@@ -1016,7 +1012,7 @@
+ {
+     Amarok::OSD::instance()->show( bundle );
+     if ( !bundle.prettyTitle().isEmpty() )
+-        m_pPlaylistWindow->setCaption( i18n("Amarok - %1").arg( bundle.veryNiceTitle() ) );
++        m_pPlaylistWindow->setCaption( i18n("%1 - Amarok").arg( bundle.veryNiceTitle() ) );
+ 
+     TrackToolTip::instance()->setTrack( bundle );
+ }
================================================================


More information about the pld-cvs-commit mailing list