changeset 2832:a6f541819bbc trunk

[svn] fixed bug #972
author magma
date Mon, 11 Jun 2007 23:32:00 -0700
parents 251fe210b6fd
children 1e97a0a228b7
files ChangeLog src/audacious/build_stamp.c src/audacious/main.c
diffstat 3 files changed, 30 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 11 12:53:55 2007 -0700
+++ b/ChangeLog	Mon Jun 11 23:32:00 2007 -0700
@@ -1,3 +1,10 @@
+2007-06-11 19:53:55 +0000  Tomasz Mon <desowin@atheme.org>
+  revision [4688]
+  - free images
+  trunk/src/audacious/widgets/audacious_pbutton.c |    3 +++
+  1 file changed, 3 insertions(+)
+
+
 2007-06-08 14:32:10 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [4686]
   - load transport plugins from Transport subdirectory.
--- a/src/audacious/build_stamp.c	Mon Jun 11 12:53:55 2007 -0700
+++ b/src/audacious/build_stamp.c	Mon Jun 11 23:32:00 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070608-4686";
+const gchar *svn_stamp = "20070611-4688";
--- a/src/audacious/main.c	Mon Jun 11 12:53:55 2007 -0700
+++ b/src/audacious/main.c	Mon Jun 11 23:32:00 2007 -0700
@@ -969,35 +969,37 @@
         g_strfreev(filenames);
     } /* filename */
 
-    if (options->rew)
-        audacious_remote_playlist_prev(session);
+    if (remote) {
+        if (options->rew)
+            audacious_remote_playlist_prev(session);
 
-    if (options->play)
-        audacious_remote_play(session);
+        if (options->play)
+            audacious_remote_play(session);
 
-    if (options->pause)
-        audacious_remote_pause(session);
+        if (options->pause)
+            audacious_remote_pause(session);
 
-    if (options->stop)
-        audacious_remote_stop(session);
+        if (options->stop)
+            audacious_remote_stop(session);
 
-    if (options->fwd)
-        audacious_remote_playlist_next(session);
+        if (options->fwd)
+            audacious_remote_playlist_next(session);
 
-    if (options->play_pause)
-        audacious_remote_play_pause(session);
+        if (options->play_pause)
+            audacious_remote_play_pause(session);
 
-    if (options->show_jump_box)
-        audacious_remote_show_jtf_box(session);
+        if (options->show_jump_box)
+            audacious_remote_show_jtf_box(session);
 
-    if (options->mainwin)
-        audacious_remote_main_win_toggle(session, TRUE);
+        if (options->mainwin)
+            audacious_remote_main_win_toggle(session, TRUE);
 
-    if (options->activate)
-        audacious_remote_activate(session);
+        if (options->activate)
+            audacious_remote_activate(session);
 
-    if (options->playcd)
-        play_medium();
+        if (options->playcd)
+            play_medium();
+    }
 
     printf("remote = %d\n", remote);
     if(remote) {