changeset 2551:cea3528b2996 trunk

[svn] Fix --play-pause commandline option, by Alex "Monkey" Maclean in #gentoo-x86
author chainsaw
date Mon, 19 Feb 2007 06:11:23 -0800
parents 864c12eafb49
children 0a5e8f84a932
files ChangeLog src/audacious/build_stamp.c src/audacious/main.c
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 19 00:16:28 2007 -0800
+++ b/ChangeLog	Mon Feb 19 06:11:23 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-19 08:16:28 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4110]
+  - mtime should be initialized to -1, otherwise 0 will be recorded for not yet scanned entries. it means static and will suppress on-demand scanning.
+  
+  trunk/src/audacious/titlestring.c |    1 +
+  1 file changed, 1 insertion(+)
+
+
 2007-02-19 06:33:03 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [4108]
   - update playlist->tail when an entry has been removed.
--- a/src/audacious/build_stamp.c	Mon Feb 19 00:16:28 2007 -0800
+++ b/src/audacious/build_stamp.c	Mon Feb 19 06:11:23 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070219-4108";
+const gchar *svn_stamp = "20070219-4110";
--- a/src/audacious/main.c	Mon Feb 19 00:16:28 2007 -0800
+++ b/src/audacious/main.c	Mon Feb 19 06:11:23 2007 -0800
@@ -852,7 +852,7 @@
     {"play", 'p', 0, G_OPTION_ARG_NONE, &options.play, N_("Start playing current playlist"), NULL},
     {"pause", 'u', 0, G_OPTION_ARG_NONE, &options.pause, N_("Pause current song"), NULL},
     {"stop", 's', 0, G_OPTION_ARG_NONE, &options.stop, N_("Stop current song"), NULL},
-    {"play-pause", 't', 0, G_OPTION_ARG_NONE, &options.pause, N_("Pause if playing, play otherwise"), NULL},
+    {"play-pause", 't', 0, G_OPTION_ARG_NONE, &options.play_pause, N_("Pause if playing, play otherwise"), NULL},
     {"fwd", 'f', 0, G_OPTION_ARG_NONE, &options.fwd, N_("Skip forward in playlist"), NULL},
     {"show-jump-box", 'j', 0, G_OPTION_ARG_NONE, &options.show_jump_box, N_("Display Jump to File dialog"), NULL},
     {"enqueue", 'e', 0, G_OPTION_ARG_NONE, &options.enqueue, N_("Don't clear the playlist"), NULL},