diff --git a/source/view/ubl-settings-diskquota.cc b/source/view/ubl-settings-diskquota.cc index 183a964..9706c3f 100755 --- a/source/view/ubl-settings-diskquota.cc +++ b/source/view/ubl-settings-diskquota.cc @@ -140,10 +140,10 @@ void MainWindow::init_spin_all() { } void MainWindow::init_tree_view() { - this->view_add_columns(*usersQuotasTree); - this->view_add_columns(*groupsQuotasTree); - this->view_add_columns(*ProjectQuotasTree); - this->init_tree_view_general(); + //this->view_add_columns(*usersQuotasTree); + //this->view_add_columns(*groupsQuotasTree); + //this->view_add_columns(*ProjectQuotasTree); + //this->init_tree_view_general(); } void MainWindow::init_tree_view_general() { GeneralQuotasTree->append_column_editable(str_status, m_columnsGeneral.status); @@ -580,9 +580,9 @@ void MainWindow::info_status_app(string stule) { void MainWindow::init_work_tv_g_u_p() { // Todo: remove - groupsQuotasTree->remove_all_columns(); - ProjectQuotasTree->remove_all_columns(); - usersQuotasTree->remove_all_columns(); + //groupsQuotasTree->remove_all_columns(); + //ProjectQuotasTree->remove_all_columns(); + //usersQuotasTree->remove_all_columns(); list_store_groups = Gtk::ListStore::create(m_columns); list_store_project = Gtk::ListStore::create(m_columns); list_store_users = Gtk::ListStore::create(m_columns); @@ -598,9 +598,9 @@ void MainWindow::init_work_tv_g_u_p() { Glib::RefPtr usersQuotasTreeModel = usersQuotasTree->get_model(); usersQuotasTreeModel->signal_row_changed().connect(sigc::bind (sigc::mem_fun(*this, &MainWindow::remove_line_template),iter_users, flag_validate_del_users)); - this->view_add_columns(*groupsQuotasTree); - this->view_add_columns(*ProjectQuotasTree); - this->view_add_columns(*usersQuotasTree); + //this->view_add_columns(*groupsQuotasTree); + //this->view_add_columns(*ProjectQuotasTree); + //this->view_add_columns(*usersQuotasTree); } void MainWindow::remove_line_template(const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator& iter, Gtk::TreeModel::iterator& iter_del, bool& flag_del) { diff --git a/ubl-settings-diskquota.glade b/ubl-settings-diskquota.glade index 7ae92f2..39d8e4a 100644 --- a/ubl-settings-diskquota.glade +++ b/ubl-settings-diskquota.glade @@ -1,5 +1,5 @@ - + @@ -532,6 +532,125 @@ + + + Status + True + + + + + + + + Quota type + True + + + + + + + + Device +Project + True + + + + + + + + User + True + + + + + + + + Group + True + + + + + + + + Projects + True + + + + + + + + Soft +Restriction +(size) + True + + + + + + + + Severe +limitation +(size) + True + + + + + + + + Soft +Restriction +(files) + True + + + + + + + + Severe +limitation +(files) + True + + + + + + + + Deferring +(size) + True + + + + + + + + Deferring +(files) + True + + + + + @@ -1129,6 +1248,105 @@ + + + Name + True + + + + + + + + Quota + True + + + + + + + + Size + True + + + + + + + + Soft +Restriction +(size) + True + + + + + + + + Severe +limitation +(size) + True + + + + + + + + Soft +Restriction +(files) + True + + + + + + + + Files + + + + + + + + Severe +limitation +(files) + True + + + + + + + + Deferring +(size) + True + + + + + + + + Deferring +(files) + True + + + + + @@ -1898,6 +2116,105 @@ + + + Name + True + + + + + + + + Quota + True + + + + + + + + Size + True + + + + + + + + Soft +Restriction +(size) + True + + + + + + + + Severe +limitation +(size) + True + + + + + + + + Soft +Restriction +(files) + True + + + + + + + + Files + + + + + + + + Severe +limitation +(files) + True + + + + + + + + Deferring +(size) + True + + + + + + + + Deferring +(files) + True + + + + + @@ -2667,6 +2984,114 @@ + + + ID + True + + + + + + + + Project Name + True + + + + + + + + Quota + True + + + + + + + + Size + True + + + + + + + + Soft +Restriction +(size) + True + + + + + + + + Severe +limitation +(size) + True + + + + + + + + Soft +Restriction +(files) + True + + + + + + + + Files + + + + + + + + Severe +limitation +(files) + True + + + + + + + + Deferring +(size) + True + + + + + + + + Deferring +(files) + True + + + + +