[Xfce4-commits] <parole:master> Do not manipulate playlist if not visible (bug 9762)

Sean Davis noreply at xfce.org
Wed Jan 16 00:24:02 CET 2013


Updating branch refs/heads/master
         to c42d9d0f3075fcc5467aae1d7122fe73716a6700 (commit)
       from edbbd07b6335d55faa1a6349658557fd4e7de26e (commit)

commit c42d9d0f3075fcc5467aae1d7122fe73716a6700
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Tue Jan 15 15:35:22 2013 -0500

    Do not manipulate playlist if not visible (bug 9762)

 src/parole-player.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index ea108ab..e52d5be 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2480,8 +2480,8 @@ parole_player_handle_key_press (GdkEventKey *ev, ParolePlayer *player)
 	 */
 	case GDK_Up:
 	case GDK_Down:
-	    parole_player_media_list_show_playlist_cb (player->priv->list, TRUE, player);
-	    parole_media_list_grab_focus (player->priv->list);
+	    if (!player->priv->full_screen && gtk_widget_get_visible(player->priv->playlist_nt))
+	        parole_media_list_grab_focus (player->priv->list);
 	    break;
 	default:
 	    break;


More information about the Xfce4-commits mailing list