[gnome-commander] GnomeCmdMainWin: added GnomeCmdMainWin::FileSelectorID fs()



commit fe946c7fe126df5dba4fd387629e43680eaac8c2
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 9415820..514241e 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -902,6 +902,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 16beb3c..92e97ca 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -56,6 +56,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]