Index: apps/gui/gwps-common.c
===================================================================
RCS file: /cvsroot/rockbox/apps/gui/gwps-common.c,v
retrieving revision 1.53
diff -u -3 -r1.53 gwps-common.c
--- apps/gui/gwps-common.c	21 May 2006 11:00:02 -0000	1.53
+++ apps/gui/gwps-common.c	5 Jun 2006 16:09:37 -0000
@@ -52,6 +52,7 @@
 #include "backdrop.h"
 #endif
 #include "dsp.h"
+#include "button.h"
 
 #ifdef HAVE_LCD_CHARCELLS
 static bool draw_player_progress(struct gui_wps *gwps);
@@ -703,13 +704,27 @@
 
                 case 'v': /* volume */
                     *flags |= WPS_REFRESH_DYNAMIC;
-                    snprintf(buf, buf_size, "%d", global_settings.volume);
-                    *intval = 10 * (global_settings.volume 
-                                    - sound_min(SOUND_VOLUME))
-                                 / (sound_max(SOUND_VOLUME)
-                                    - sound_min(SOUND_VOLUME)) + 1;
-                    return buf;
+                    switch (tag[2])
+                    {
+                        case 'c':
+                            *tag_len = 3;
+                            int but;
+                            but = button_status();
+                            if (but & WPS_INCVOL || but & WPS_DECVOL)
+                                return "p";
+                            else
+                                return NULL;
+                                
+                        default:
 
+                            snprintf(buf, buf_size, "%d", global_settings.volume);
+                            *intval = 10 * (global_settings.volume 
+                                            - sound_min(SOUND_VOLUME))
+                                         / (sound_max(SOUND_VOLUME)
+                                            - sound_min(SOUND_VOLUME)) + 1;
+                            return buf;
+                    }
+                    break;
             }
             break;
 
