[gnome-commander] Added GnomeCmdData::Tab triple for storing tab settings



commit 5b86da38adb9cb4a49bae5fe1fa46ddc71798cac
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Mon Aug 2 20:40:22 2010 +0200

    Added GnomeCmdData::Tab triple for storing tab settings

 src/gnome-cmd-data.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index d808963..f2b6579 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -32,6 +32,7 @@
 #include "filter.h"
 #include "history.h"
 #include "dict.h"
+#include "tuple.h"
 
 struct GnomeCmdConFtp;
 
@@ -153,6 +154,8 @@ struct GnomeCmdData
         gchar *other_value;
     };
 
+    typedef triple<std::string,GnomeCmdFileList::ColumnID,GtkSortType> Tab;
+
     struct Private;
 
     Private *priv;
@@ -241,6 +244,8 @@ struct GnomeCmdData
     gint                         main_win_height;
     GdkWindowState               main_win_state;
 
+    std::map<guint,std::vector<Tab> > tabs;
+
     GnomeCmdData();
 
     void free();                // FIXME: free() -> ~GnomeCmdData()



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