diff --git a/source/ubl-settings-diskquota.cc b/source/ubl-settings-diskquota.cc index 934db65..7c93043 100755 --- a/source/ubl-settings-diskquota.cc +++ b/source/ubl-settings-diskquota.cc @@ -235,20 +235,6 @@ void MainWindow::lacalization() { quoteFilesHardLimitLabel->set_text(str_hard_limit); quotegroupFilesSoftLimitLabel->set_text(str_soft_limit); quotegroupFilesCurrentlyLabel->set_text(str_currently_using); - quoteuserDiskQuotasLabel->set_text(str_disk_quotas_device); - quoteuserDeviceLabel->set_text(str_device); - quoteuserGroupQuotasLabel->set_text(str_user_quotas_device); - quoteuserSizeFrameLabel->set_text(str_size); - quoteuserSizeCurrentlyLabel->set_text(str_currently_using); - quoteuserSizeSoftLimitLabel->set_text(str_soft_limit); - quoteuserSizeHardLimitLabel1->set_text(str_hard_limit); - quoteuserFileSystemLabel->set_text(str_file_system); - quoteuserFilesFrameLabel->set_text(str_files); - quoteuserFilesCurrentlyLabel->set_text(str_currently_using_space); - quoteuserFilesSoftLimitLabel->set_text(str_soft_limit); - quoteFilesHardLimitLabel1->set_text(str_hard_limit); - quoteuserFilesHarLimitLabel->set_text(str_files); - quoteuserFilesSoftLimitlabel->set_text(str_files); quotegroupFileSystemLabel->set_text(str_file_system); btnLoadGlob->set_label(load_global); btnLoadLocal->set_label(load_local); @@ -426,24 +412,8 @@ void MainWindow::get_builder() { builder->get_widget("quotegroupFilesSoftLimitLabel", quotegroupFilesSoftLimitLabel); builder->get_widget("quoteFilesHardLimitLabel", quoteFilesHardLimitLabel); builder->get_widget("quotegroupFilesHarLimitLabel", quotegroupFilesHarLimitLabel); - builder->get_widget("quoteuserDeviceLabel", quoteuserDeviceLabel); - builder->get_widget("quoteuserFileSystemLabel", quoteuserFileSystemLabel); - builder->get_widget("quoteuserDiskQuotasLabel", quoteuserDiskQuotasLabel); - builder->get_widget("quoteuserGroupQuotasLabel", quoteuserGroupQuotasLabel); - builder->get_widget("quoteuserSizeFrameLabel", quoteuserSizeFrameLabel); - builder->get_widget("quoteuserSizeCurrentlyLabel", quoteuserSizeCurrentlyLabel); - builder->get_widget("quoteuserSizeSoftLimitLabel", quoteuserSizeSoftLimitLabel); - builder->get_widget("quoteuserSizeHardLimitLabel1", quoteuserSizeHardLimitLabel1); - builder->get_widget("quoteuserFilesFrameLabel", quoteuserFilesFrameLabel); - builder->get_widget("quoteuserFilesCurrentlyLabel", quoteuserFilesCurrentlyLabel); - builder->get_widget("quoteuserFilesSoftLimitLabel", quoteuserFilesSoftLimitLabel); - builder->get_widget("quoteFilesHardLimitLabel1", quoteFilesHardLimitLabel1); - builder->get_widget("quoteuserFilesHarLimitLabel", quoteuserFilesHarLimitLabel); - builder->get_widget("quoteuserFilesSoftLimitlabel", quoteuserFilesSoftLimitlabel); builder->get_widget("QuotasEditWindow", QuotasEditWindow); - builder->get_widget("QuotasUserEditWindow", QuotasUserEditWindow); builder->get_widget("headerAboutTopic", headerAboutTopic); - builder->get_widget("lblHeadQuotasUserEditWindow", lblHeadQuotasUserEditWindow); builder->get_widget("lblHeadQuotasEditWindow", lblHeadQuotasEditWindow); builder->get_widget("lblHeadFiltersWindow", lblHeadFiltersWindow); builder->get_widget("usersDeviceCombo", usersDeviceCombo); diff --git a/source/ubl-settings-diskquota.h b/source/ubl-settings-diskquota.h index 29bff7b..cc5ac49 100644 --- a/source/ubl-settings-diskquota.h +++ b/source/ubl-settings-diskquota.h @@ -277,25 +277,9 @@ class MainWindow : public Gtk::ApplicationWindow { Gtk::Label *quotegroupFilesSoftLimitLabel; Gtk::Label *quoteFilesHardLimitLabel; Gtk::Label *quotegroupFilesHarLimitLabel; - Gtk::Label *quoteuserDeviceLabel; - Gtk::Label *quoteuserDiskQuotasLabel; - Gtk::Label *quoteuserFileSystemLabel; - Gtk::Label *quoteuserGroupQuotasLabel; - Gtk::Label *quoteuserSizeFrameLabel; - Gtk::Label *quoteuserSizeCurrentlyLabel; - Gtk::Label *quoteuserSizeSoftLimitLabel; - Gtk::Label *quoteuserSizeHardLimitLabel1; - Gtk::Label *quoteuserFilesCurrentlyLabel; - Gtk::Label *quoteuserFilesSoftLimitLabel; - Gtk::Label *quoteFilesHardLimitLabel1; - Gtk::Label *quoteuserFilesHarLimitLabel; - Gtk::Label *quoteuserFilesFrameLabel; Gtk::Label *quotegroupSizeSoftLimitLabel; - Gtk::Label *quoteuserFilesSoftLimitlabel; - Gtk::Window *QuotasUserEditWindow; Gtk::Window *QuotasEditWindow; Gtk::Label *headerAboutTopic; - Gtk::Label *lblHeadQuotasUserEditWindow; Gtk::Label *lblHeadQuotasEditWindow; Gtk::Label *lblHeadFiltersWindow; Gtk::ComboBoxText *usersDeviceCombo; diff --git a/ubl-settings-diskquota.glade b/ubl-settings-diskquota.glade index c1e0c5e..0b369d1 100644 --- a/ubl-settings-diskquota.glade +++ b/ubl-settings-diskquota.glade @@ -3682,581 +3682,6 @@ 1 10 - - False - start - False - - - True - False - 5 - 5 - 5 - 5 - 5 - 5 - vertical - - - True - False - vertical - 5 - - - True - False - 5 - - - True - False - Device: - - - False - True - 0 - - - - - True - False - DeviceStore - - - True - True - 1 - - - - - True - False - start - File system: - 0 - - - False - True - 2 - - - - - False - True - 0 - - - - - True - False - Disk quotas for this device: - 0 - - - False - True - 1 - - - - - True - False - User quotas for this device: - 0 - - - False - True - 2 - - - - - False - True - 0 - - - - - True - False - True - - - True - False - 5 - 5 - 5 - 5 - 5 - 0.019999999552965164 - in - - - True - False - 5 - 5 - 5 - 5 - - - True - False - vertical - - - True - False - Currently using: - - - False - True - 0 - - - - - True - False - Soft limit - 0 - - - False - True - 1 - - - - - True - False - 5 - - - True - True - False - right - True - - - False - True - 0 - - - - - True - True - quoteuserSizeSoftLimitAdjustment - - - True - True - 1 - - - - - True - False - - Kb - Mb - Gb - Tb - - - - False - True - 2 - - - - - True - True - 2 - - - - - True - False - Hard limit - 0 - - - False - True - 3 - - - - - True - False - False - 5 - - - True - True - False - right - True - - - False - True - 0 - - - - - True - True - quoteuserSizeHardLimitAdjustment - - - True - True - 1 - - - - - True - False - - Kb - Mb - Gb - Tb - - - - False - True - 2 - - - - - True - True - 4 - - - - - - - - - True - False - Size - - - - - True - True - 0 - - - - - True - False - 5 - 5 - 5 - 5 - 5 - 0.019999999552965164 - in - - - True - False - 5 - 5 - 5 - 5 - - - True - False - vertical - - - True - False - Currently using: - - - False - True - 0 - - - - - True - False - Soft limit - 0 - - - False - True - 1 - - - - - True - False - 5 - - - True - True - False - right - True - - - False - True - 0 - - - - - True - True - quoteuserFilesSoftLimitAdjustment - - - True - True - 1 - - - - - True - False - files - - - False - True - 2 - - - - - True - True - 2 - - - - - True - False - Hard limit - 0 - - - False - True - 3 - - - - - True - False - 5 - - - True - True - False - right - True - - - False - True - 0 - - - - - True - True - quoteuserFilesHardLimitAdjustment - - - True - True - 1 - - - - - True - False - files - - - False - True - 2 - - - - - True - True - 4 - - - - - - - - - True - False - Files - - - - - True - True - 1 - - - - - False - True - 1 - - - - - True - False - 5 - vertical - True - - - True - False - end - 5 - True - - - gtk-cancel - True - True - True - 5 - 5 - True - - - False - True - 0 - - - - - gtk-save - True - True - True - 5 - 5 - True - - - False - True - 1 - - - - - False - True - 0 - - - - - False - True - 2 - - - - - - - True - False - - - True - False - UBConfig - Quotas - - - - - - - - True - False - 32 - com.ublinux.ubl-settings-diskquota - 5 - - - - - False start