[gnome-commander] Added size() to GnomeCmdUserActions class



commit b1f8405b96525fdc0d39f5d10aa2c159b1ed26c5
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri Sep 4 17:41:57 2009 +0200

    Added size() to GnomeCmdUserActions class

 src/gnome-cmd-user-actions.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.h b/src/gnome-cmd-user-actions.h
index 93bb3fb..8691b0f 100644
--- a/src/gnome-cmd-user-actions.h
+++ b/src/gnome-cmd-user-actions.h
@@ -186,6 +186,7 @@ class GnomeCmdUserActions
 
     const_iterator begin()                                                  {  return action.begin();                                 }
     const_iterator end()                                                    {  return action.end();                                   }
+    unsigned size()                                                         {  return action.size();                                  }
 
     const gchar *name(const_iterator &i)                                    {  return action_func[i->second.func].c_str();            }
     const gchar *name(const std::string description)                        {  return action_func[action_name[description]].c_str();  }



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