Updating branch refs/heads/master
         to b6638876121bfb98125bd73b4b5390f24797d7dc (commit)
       from bbb78934f055b7ae466a1ea0fc8638a63a5c3e8a (commit)

commit b6638876121bfb98125bd73b4b5390f24797d7dc
Author: Mike Massonnet <mmasson...@xfce.org>
Date:   Sun Oct 23 17:04:11 2011 +0200

    playlist: Mimic behavior of Escape key in filter entry
    
    When clicking the Clear button in the filter entry, automatically
    reselect the current song.

 src/playlist.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/playlist.vala b/src/playlist.vala
index a66d652..924431b 100644
--- a/src/playlist.vala
+++ b/src/playlist.vala
@@ -362,6 +362,7 @@ namespace Xfmpc {
                        if (icon_pos != Gtk.EntryIconPosition.SECONDARY)
                                return;
                        filter_entry.set_text ("");
+                       select_row (current);
                }
 
                /*
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to