[gnome-commander/gcmd-1-3] GnomeCmdMainWin: added GnomeCmdMainWin::FileSelectorID fs()



commit 947bd143392f1e17f9e104316bc63a822d5ff80a
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Mar 6 09:56:09 2010 +0100

    GnomeCmdMainWin: added GnomeCmdMainWin::FileSelectorID fs()

 src/gnome-cmd-main-win.cc |    6 ++++++
 src/gnome-cmd-main-win.h  |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 9d6af75..8587082 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -1071,6 +1071,12 @@ GnomeCmdFileSelector *GnomeCmdMainWin::fs(FileSelectorID id)
 }
 
 
+FileSelectorID GnomeCmdMainWin::fs()
+{
+    return priv->current_fs;
+}
+
+
 void GnomeCmdMainWin::update_style()
 {
     g_return_if_fail (priv != NULL);
diff --git a/src/gnome-cmd-main-win.h b/src/gnome-cmd-main-win.h
index c3d3c40..87644c9 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -58,6 +58,7 @@ struct GnomeCmdMainWin
     GnomeCmdAdvrenameDialog *advrename_dlg;
 
     GnomeCmdFileSelector *fs(FileSelectorID id);
+    FileSelectorID fs();
 
     gboolean key_pressed (GdkEventKey *event);
 



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