changeset 1359:c60990f0bf2a trunk

[svn] - add a menu item that toggles filepopup to the playlist popup menu.
author yaz
date Thu, 29 Jun 2006 03:42:13 -0700
parents 0c41255487ee
children 7e312e0c33e8
files ChangeLog audacious/ui_playlist.c
diffstat 2 files changed, 22 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jun 29 02:57:27 2006 -0700
+++ b/ChangeLog	Thu Jun 29 03:42:13 2006 -0700
@@ -1,3 +1,16 @@
+2006-06-29 09:57:27 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [1628]
+  - add toggle option for filepopup window
+  
+
+  Changes:        Modified:
+  +77 -0          trunk/audacious/glade/prefswin.glade  
+  +2 -0           trunk/audacious/main.c  
+  +1 -0           trunk/audacious/main.h  
+  +14 -0          trunk/audacious/prefswin.c  
+  +3 -1           trunk/audacious/ui_fileinfo.c  
+
+
 2006-06-29 07:38:22 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [1626]
   - m3u file should be written in locale encoding.
--- a/audacious/ui_playlist.c	Thu Jun 29 02:57:27 2006 -0700
+++ b/audacious/ui_playlist.c	Thu Jun 29 03:42:13 2006 -0700
@@ -73,7 +73,7 @@
     SEL_LOOKUP, CLOSE_PL_WINDOW, MOVE_UP, PLIST_SAVE,
     MISC_QUEUE, PLIST_CQUEUE, PLIST_JTF, PLIST_JTT,
     PLAYLISTWIN_REMOVE_DEAD_FILES,
-    PLAYLISTWIN_REFRESH, PLIST_DEFAULTSAVE
+    PLAYLISTWIN_REFRESH, PLIST_DEFAULTSAVE, MISC_FILEPOPUP
 };
 
 enum {
@@ -127,6 +127,10 @@
      playlistwin_popup_menu_callback,
      MISC_FILEINFO, "<ImageItem>", my_pixbuf},
 
+    {N_("/Popup Info Toggle"), NULL,
+     playlistwin_popup_menu_callback,
+     MISC_FILEPOPUP, NULL, NULL},
+
     ITEM_SEPARATOR,
 
     {N_("/Remove Selected"), "Delete",
@@ -1986,5 +1990,9 @@
     case PLIST_JTF:
         mainwin_jump_to_file();
         break;
+    case MISC_FILEPOPUP:
+        cfg.show_filepopup_for_tuple ^= 1;
+        break;
+
     }
 }