changeset 1222:09a96847fa53 trunk

[svn] - There's an ellipsis character in text.png. Let's use it like we should.
author nhjm449
date Wed, 14 Jun 2006 02:07:52 -0700
parents f72025664bed
children f1e57db353a3
files ChangeLog audacious/textbox.c audacious/ui_playlist.c
diffstat 3 files changed, 18 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Jun 14 01:54:30 2006 -0700
+++ b/ChangeLog	Wed Jun 14 02:07:52 2006 -0700
@@ -1,3 +1,13 @@
+2006-06-14 08:54:30 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1356]
+  - song_change II (`Do Something') begins. 
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/Plugins/General/song_change/Makefile.in  
+  +26 -34         trunk/Plugins/General/song_change/song_change.c  
+
+
 2006-06-14 08:35:40 +0000  George Averill <nhjm449@gmail.com>
   revision [1354]
   - Minor skin edits
--- a/audacious/textbox.c	Wed Jun 14 01:54:30 2006 -0700
+++ b/audacious/textbox.c	Wed Jun 14 02:07:52 2006 -0700
@@ -244,6 +244,10 @@
         *x = 130;
         *y = 0;
         break;
+    case '\r':
+        *x = 50;
+        *y = 6;
+        break;
     case ':':
         *x = 60;
         *y = 6;
--- a/audacious/ui_playlist.c	Wed Jun 14 01:54:30 2006 -0700
+++ b/audacious/ui_playlist.c	Wed Jun 14 02:07:52 2006 -0700
@@ -391,8 +391,10 @@
     convert_title_text(title);
 
     if (strlen(title) > max_len) {
-        max_len -= 3;
-        dots = "...";
+        max_len -= 1;
+        dots = "\r";
+        /* textbox.c interprets \r as the ellipsis character, as there 
+           is none in ASCII. */
     }
     else
         dots = "";