[gthumb] make the current file visible after changing the filter



commit e1651d595212f5a228414b4ff5ba67228b7b1eda
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun May 6 00:25:32 2012 +0200

    make the current file visible after changing the filter

 gthumb/gth-browser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 04a63c9..0c08001 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2866,6 +2866,8 @@ filterbar_changed_cb (GthFilterbar *filterbar,
 
 	if (_gth_browser_reload_required (browser))
 		gth_browser_reload (browser);
+	else if (browser->priv->current_file != NULL)
+		gth_file_list_make_file_visible (GTH_FILE_LIST (browser->priv->file_list), browser->priv->current_file->file);
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]