~ubuntu-branches/ubuntu/utopic/eiciel/utopic

« back to all changes in this revision

Viewing changes to src/acl_list.hpp

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2014-08-20 15:02:46 UTC
  • mfrom: (11.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20140820150246-ngv7lwsuk498knpk
Tags: 0.9.9-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    Eiciel - GNOME editor of ACL file permissions.
3
 
    Copyright (C) 2004-2010 Roger Ferrer Ib��ez
 
3
    Copyright (C) 2004-2014 Roger Ferrer Ib��ez
4
4
 
5
5
    This program is free software; you can redistribute it and/or modify
6
6
    it under the terms of the GNU General Public License as published by
24
24
 
25
25
class ACLListModel : public Gtk::TreeModel::ColumnRecord
26
26
{
27
 
        public:
 
27
    public:
28
28
 
29
 
                ACLListModel()
30
 
                { 
31
 
                        add(_icon);
32
 
                        add(_entry_name); 
33
 
                        add(_reading_permission);
34
 
                        add(_writing_permission);
35
 
                        add(_execution_permission);
36
 
                        add(_removable);
37
 
                        add(_entry_kind);
38
 
                        add(_reading_ineffective);
39
 
                        add(_writing_ineffective);
40
 
                        add(_execution_ineffective);
41
 
                        add(_current_recursion_policy);
 
29
        ACLListModel()
 
30
        { 
 
31
            add(_icon);
 
32
            add(_entry_name); 
 
33
            add(_reading_permission);
 
34
            add(_writing_permission);
 
35
            add(_execution_permission);
 
36
            add(_removable);
 
37
            add(_entry_kind);
 
38
            add(_reading_ineffective);
 
39
            add(_writing_ineffective);
 
40
            add(_execution_ineffective);
 
41
            add(_current_recursion_policy);
42
42
            // TODO - Implement recursion policies
43
43
#if 0
44
 
                        add(_recursion_policies);
 
44
            add(_recursion_policies);
45
45
#endif
46
 
                        add(_empty);
47
 
                }
 
46
            add(_empty);
 
47
        }
48
48
 
49
 
                Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > _icon;
50
 
                Gtk::TreeModelColumn<Glib::ustring> _entry_name;
51
 
                Gtk::TreeModelColumn<bool> _reading_permission;
52
 
                Gtk::TreeModelColumn<bool> _writing_permission;
53
 
                Gtk::TreeModelColumn<bool> _execution_permission;
54
 
                Gtk::TreeModelColumn<bool> _removable;
55
 
                Gtk::TreeModelColumn<ElementKind> _entry_kind;
56
 
                Gtk::TreeModelColumn<bool> _reading_ineffective;
57
 
                Gtk::TreeModelColumn<bool> _writing_ineffective;
58
 
                Gtk::TreeModelColumn<bool> _execution_ineffective;
 
49
        Gtk::TreeModelColumn<Glib::RefPtr<Gdk::Pixbuf> > _icon;
 
50
        Gtk::TreeModelColumn<Glib::ustring> _entry_name;
 
51
        Gtk::TreeModelColumn<bool> _reading_permission;
 
52
        Gtk::TreeModelColumn<bool> _writing_permission;
 
53
        Gtk::TreeModelColumn<bool> _execution_permission;
 
54
        Gtk::TreeModelColumn<bool> _removable;
 
55
        Gtk::TreeModelColumn<ElementKind> _entry_kind;
 
56
        Gtk::TreeModelColumn<bool> _reading_ineffective;
 
57
        Gtk::TreeModelColumn<bool> _writing_ineffective;
 
58
        Gtk::TreeModelColumn<bool> _execution_ineffective;
59
59
        Gtk::TreeModelColumn<Glib::ustring> _current_recursion_policy;
60
60
        // Gtk::TreeModelColumn<Glib::RefPtr<Gtk::TreeModel> > _recursion_policies;
61
 
                Gtk::TreeModelColumn<Glib::ustring> _empty;
 
61
        Gtk::TreeModelColumn<Glib::ustring> _empty;
62
62
};
63
63
 
64
64
class RecursionPolicyModel : public Gtk::TreeModel::ColumnRecord