File: 04_gtk_interface.dpatch

package info (click to toggle)
alsaplayer 0.99.76-9%2Betch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 4,752 kB
  • ctags: 2,970
  • sloc: ansic: 16,775; sh: 10,709; cpp: 9,442; makefile: 694
file content (33 lines) | stat: -rw-r--r-- 1,259 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/sh /usr/share/dpatch/dpatch-run
## 04_gtk-interface.dpatch by Paul Brossier <piem@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: gtk interface cleanups (add spaces to time display, display filename
## DP: even when no `/' is present)

@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./interface/gtk/gtk_interface.cpp /tmp/user/1000/dpep-work.nn5ZE9/alsaplayer-0.99.76/interface/gtk/gtk_interface.cpp
--- ./interface/gtk/gtk_interface.cpp	2005-07-06 20:14:11.050983465 -0400
+++ /tmp/user/1000/dpep-work.nn5ZE9/alsaplayer-0.99.76/interface/gtk/gtk_interface.cpp	2005-07-06 20:16:15.363487195 -0400
@@ -756,10 +757,10 @@
 		}	
 	} else {
 #ifdef SUBSECOND_DISPLAY
-		sprintf(str, "%02ld:%02ld.%02d/%02d:%02d", c_min, c_sec, c_hsec, t_min, t_sec);
+		sprintf(str, "%02ld:%02ld.%02d / %02d:%02d", c_min, c_sec, c_hsec, t_min, t_sec);
 #else
 		if (nr_frames >= 0) 
-			sprintf(str, "%02ld:%02ld/%02ld:%02ld", c_min, c_sec, t_min, t_sec);
+			sprintf(str, "%02ld:%02ld / %02ld:%02ld", c_min, c_sec, t_min, t_sec);
 #endif
 	}
 	if (val_ind && strcmp(old_str, str) != 0) {
@@ -804,7 +805,7 @@
 			p++;
 			draw_title(p);
 		} else {
-			draw_title("");
+			draw_title(info.path);
 		}	
 	}
 	update_rect.x = 0;