[gnome-commander] Fix for broken dir updates caused by not reconnected callbacks



commit b34e3ddf4f5136659d411b26251a086b0705d44a
Author: phan <phanyx o2 pl>
Date:   Wed Jul 14 20:28:54 2010 +0200

    Fix for broken dir updates caused by not reconnected callbacks
    
    This patch fixes the directory refresh operation and all related to
    it funtions, like showing hidden files or vfs monitor callbacks.
    It was caused by disconnecting callback functions from directiories
    and not reconnecting these callbacks back, when DIR_STATE_LISTED directiories
    were back visible.

 src/gnome-cmd-file-list.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 6a23751..6e2cefc 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -2567,7 +2567,7 @@ void GnomeCmdFileList::set_directory(GnomeCmdDir *dir)
             break;
 
         case DIR_STATE_LISTED:
-            g_signal_emit (this, signals[DIR_CHANGED], 0, dir);
+            on_dir_list_ok (dir, NULL, this);
             break;
     }
 



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