Updating branch refs/heads/master
         to 5602d609d65b1aaf9ae18a4f2f4b34ac35664136 (commit)
       from f0139f37b5e29a8d56b4daf74d1afd3c44758825 (commit)

commit 5602d609d65b1aaf9ae18a4f2f4b34ac35664136
Author: Sean Davis <smd.seanda...@gmail.com>
Date:   Tue Jan 15 19:07:20 2013 -0500

    Dont resize window if playlist is already visible.

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

diff --git a/src/parole-player.c b/src/parole-player.c
index 59088f1..8448da2 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -431,6 +431,9 @@ void ratio_20_9_toggled_cb (GtkWidget *widget, ParolePlayer 
*player)
 void parole_player_set_playlist_visible (ParolePlayer *player, gboolean 
visibility)
 {
     gint window_w, window_h, playlist_w;
+    
+    if (gtk_widget_get_visible (player->priv->playlist_nt) == visibility)
+        return;
 
     gtk_window_get_size (GTK_WINDOW (player->priv->window), &window_w, 
&window_h);
     
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to