diff --git a/Makefile b/Makefile index 20db54e..04c4243 100644 --- a/Makefile +++ b/Makefile @@ -120,6 +120,7 @@ install: check uninstall @install -Dm644 -t "${DESTDIR}${PREFIX}/share/${PKGNAME}/images/" "logo-background.png" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.checked.svg" @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.${PKGNAME}.warning.svg" + @install -Dm644 -t "${DESTDIR}${PREFIX}/share/icons/hicolor/scalable/status/" "com.ublinux.ubl-settings-diskquota.funnel.svg" @if [ -z ${DESTDIR} ]; then \ [ -d "${DESTDIR}${PREFIX}/share/icons/hicolor/" ] && gtk-update-icon-cache -fiq "${DESTDIR}${PREFIX}/share/icons/hicolor/" &>/dev/null || true; \ update-desktop-database --quiet &>/dev/null || true; \ diff --git a/com.ublinux.ubl-settings-diskquota.funnel.svg b/com.ublinux.ubl-settings-diskquota.funnel.svg new file mode 100644 index 0000000..4aec04a --- /dev/null +++ b/com.ublinux.ubl-settings-diskquota.funnel.svg @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/source/main.cc b/source/main.cc index ed6277b..7c2362a 100644 --- a/source/main.cc +++ b/source/main.cc @@ -8,7 +8,12 @@ int main(int argc, char** argv) { string str_cmd_argv = ""; for (int i=1; i 1){ str_argv = argv[1]; } diff --git a/source/var.h b/source/var.h index 570313e..f26c1ff 100644 --- a/source/var.h +++ b/source/var.h @@ -98,7 +98,6 @@ extern string version_application; #define str_hard_activation_size _("Hard limit activation time (size)") #define str_hard_limit_time _("Hard limit (file) activation time") #define str_group_quotas_device _("Group quotas for this device:") -#define str_general_settings _("General settings") #define str_tw_severe_limitation _("Severe\nlimitation\n(size)") #define str_tw_general_deferring_size _("Deferring\n(size)") @@ -156,7 +155,7 @@ extern string version_application; #define website _("https://wiki.ublinux.com") #define project_Home_page _("Project Home Page") - +#define open_dir_file_manager "/home/" #endif \ No newline at end of file diff --git a/source/view/ubl-settings-diskquota.cc b/source/view/ubl-settings-diskquota.cc index 4017585..bc5d23d 100644 --- a/source/view/ubl-settings-diskquota.cc +++ b/source/view/ubl-settings-diskquota.cc @@ -174,29 +174,12 @@ void MainWindow::view_add_columns(Gtk::TreeView &treeView) { } void MainWindow::lacalization() { - generalTabLabel->set_text(str_general_settings); GroupsTabLabel->set_text(str_groups); headerTopic->set_label(name_app); UsersTabLabel->set_text(str_users); generalGroupsFilesLabel->set_text(str_excess_files_delay); generalUsersSizeLabel->set_text(str_excess_size_delay); generalUsersFilesLabel->set_text(str_excess_files_delay); - generalGroupsSizeWeeksLabel->set_text(str_weeks); - generalGroupsFilesWeeksLabel->set_text(str_weeks); - generalUsersSizeWeeksLabel->set_text(str_weeks); - generalUsersFilesWeeksLabel->set_text(str_weeks); - generalGroupsSizeDaysLabel->set_text(str_days); - generalGroupsFilesDaysLabel->set_text(str_days); - generalUsersSizeDaysLabel->set_text(str_days); - generalUsersFilesDaysLabel->set_text(str_days); - generalGroupsSizeHoursLabel->set_text(str_hours); - generalGroupsFilesHoursLabel->set_text(str_hours); - generalUsersSizeHoursLabel->set_text(str_hours); - generalUsersFilesHoursLabel->set_text(str_hours); - generalGroupsSizeMinutesLabel->set_text(str_minutes); - generalGroupsFilesMinutesLabel->set_text(str_minutes); - generalUsersSizeMinutesLabel->set_text(str_minutes); - generalUsersFilesMinutesLabel->set_text(str_minutes); lblLoad->set_text(str_load_local); lblSave->set_text(str_save_local); groupsDeviceLabel->set_label(str_device); diff --git a/source/view/view_add_project.cc b/source/view/view_add_project.cc index d0cdb4b..80751d6 100644 --- a/source/view/view_add_project.cc +++ b/source/view/view_add_project.cc @@ -50,8 +50,20 @@ void View_add_project::event() { }); quotegroupCancelButtonAdd->signal_clicked().connect([&]() {this->close_wnd();}); quotegroupSaveButtonAdd->signal_clicked().connect([&]() {this->save();}); + btnReviewProject->signal_clicked().connect([&]() {show_file_manager();}); + btnFilemangerOk->signal_clicked().connect([&]() {save_file_manager();}); + btnFilemangerExit->signal_clicked().connect([&]() {wndChooseFileWallpaper->hide();}); } +void View_add_project::show_file_manager() { + wndChooseFileWallpaper->set_current_folder(open_dir_file_manager); + wndChooseFileWallpaper->show(); +} + +void View_add_project::save_file_manager() { + entryCatalogProject->set_text(wndChooseFileWallpaper->get_filename()); + wndChooseFileWallpaper->hide(); +} void View_add_project::close_wnd() { wndQuotasAddProject->hide(); } @@ -99,22 +111,14 @@ void View_add_project::get_builder() { builder->get_widget("quotegroupFilesHardLimitSpinProject", quotegroupFilesHardLimitSpinProject); builder->get_widget("quotegroupSizeSoftLimitComboProject", quotegroupSizeSoftLimitComboProject); builder->get_widget("quotegroupSizeHardLimitComboProject", quotegroupSizeHardLimitComboProject); + builder->get_widget("wndChooseFileWallpaper", wndChooseFileWallpaper); + builder->get_widget("btnFilemangerExit", btnFilemangerExit); + builder->get_widget("btnFilemangerOk", btnFilemangerOk); } void View_add_project::lacalization() { this->fill_in_pow_memory(quotegroupSizeSoftLimitComboProject); this->fill_in_pow_memory(quotegroupSizeHardLimitComboProject); - lblDeviceProject->set_text(str_device); - lblStatusQuotaProject->set_text(str_quota_status); - // lblSetUGP->set_text(""); - quotegroupSizeFrameLabelProject->set_text(str_size); - quotegroupFilesFrameLabelProject->set_text(str_files); - quotegroupSizeCurrentlyLabelProject->set_text(str_currently_using); - quotegroupFilesCurrentlyLabelProject->set_text(str_currently_using); - quotegroupSizeSoftLimitLabelProject->set_text(str_soft_limit); - quotegroupFilesSoftLimitLabelProject->set_text(str_soft_limit); - quoteSizeHardLimitLabelProject->set_text(str_hard_limit); - quoteFilesHardLimitLabelProject->set_text(str_hard_limit); } diff --git a/source/view/view_add_project.h b/source/view/view_add_project.h index 9d35eb6..8ab125f 100644 --- a/source/view/view_add_project.h +++ b/source/view/view_add_project.h @@ -40,6 +40,9 @@ private: Gtk::SpinButton* quotegroupFilesHardLimitSpinProject; Gtk::ComboBoxText* quotegroupSizeSoftLimitComboProject; Gtk::ComboBoxText* quotegroupSizeHardLimitComboProject; + Gtk::FileChooserDialog* wndChooseFileWallpaper; + Gtk::Button* btnFilemangerOk; + Gtk::Button* btnFilemangerExit; public: View_add_project(/* args */); @@ -54,6 +57,8 @@ public: void check_limit(Gtk::CheckButton *check_button, Gtk::SpinButton *spin, Gtk::ComboBoxText *combo_box); void check_limit(Gtk::CheckButton *check_button, Gtk::SpinButton *spin, Gtk::Label *combo_box); void fill_in_pow_memory(Gtk::ComboBoxText *cb_text); + void show_file_manager(); + void save_file_manager(); }; diff --git a/source/view/view_add_user_group.cc b/source/view/view_add_user_group.cc index 1ca34dc..c70f838 100644 --- a/source/view/view_add_user_group.cc +++ b/source/view/view_add_user_group.cc @@ -92,17 +92,6 @@ void View_add_user_group::show() { } void View_add_user_group::lacalization() { - lblSetDevice->set_text(str_device); - lblQuotasStatus->set_text(str_quota_status); - // lblSetUGP->set_text(""); - quotegroupSizeFrameLabel->set_text(str_size); - quotegroupFilesFrameLabel->set_text(str_files); - quotegroupSizeCurrentlyLabel->set_text(str_currently_using); - quotegroupSizeSoftLimitLabel->set_text(str_soft_limit); - quoteSizeHardLimitLabel->set_text(str_hard_limit); - quoteFilesHardLimitLabel->set_text(str_hard_limit); - quotegroupFilesSoftLimitLabel->set_text(str_soft_limit); - quotegroupFilesCurrentlyLabel->set_text(str_currently_using); this->fill_in_pow_memory(quotegroupSizeSoftLimitCombo); this->fill_in_pow_memory(quotegroupSizeHardLimitCombo); diff --git a/source/view/view_edit_project.cc b/source/view/view_edit_project.cc index 8e96f95..51ad84e 100644 --- a/source/view/view_edit_project.cc +++ b/source/view/view_edit_project.cc @@ -28,6 +28,7 @@ void View_edit_project::setting() { } void View_edit_project::event() { + quoteCancelButtonEdit->signal_clicked().connect([&]() {this->close_wnd();}); quoteSaveButtonEdit->signal_clicked().connect([&]() {this->save();}); quoteSizeSoftLimitCheckProjectEdit->signal_toggled().connect([&]() { @@ -97,21 +98,10 @@ void View_edit_project::get_builder() { builder->get_widget("quoteFilesProjectEdit", quoteFilesProjectEdit); builder->get_widget("quoteFiles1ProjectEdit", quoteFiles1ProjectEdit); builder->get_widget("wndQuotasEditProject", wndQuotasEditProject); - builder->get_widget("quoteFilesHardLimitLabelProject1", quoteFilesHardLimitLabelProject1); + builder->get_widget("quoteFilesHardLimitLabelProject1", quoteFilesHardLimitLabelProject1); } void View_edit_project::lacalization() { - lblDeviceProjectEdit->set_text(str_device); - lblStatusQuotaProjectEdit->set_text(str_quota_status); - // lblSetUGP->set_text(""); - quoteSizeFrameLabelProjectEdit->set_text(str_size); - quoteFilesFrameLabelProjectEdit->set_text(str_files); - quoteSizeCurrentlyLabelProjectEdit->set_text(str_currently_using); - quoteFilesCurrentlyLabelProjectEdit->set_text(str_currently_using); - quoteSizeSoftLimitLabelProjectEdit->set_text(str_soft_limit); - quoteFilesSoftLimitLabelProjectEdit->set_text(str_soft_limit); - quoteSizeHardLimitLabelProjectEdit->set_text(str_hard_limit); - quoteFilesHardLimitLabelProject1->set_text(str_hard_limit); this->fill_in_pow_memory(quoteSizeSoftLimitComboProjectEdit); this->fill_in_pow_memory(quoteSizeHardLimitComboProjectEdit); } diff --git a/source/view/view_edit_user_group.cc b/source/view/view_edit_user_group.cc index f1fe001..7253b20 100644 --- a/source/view/view_edit_user_group.cc +++ b/source/view/view_edit_user_group.cc @@ -86,16 +86,6 @@ void View_edit_user_group::get_builder() { } void View_edit_user_group::lacalization() { - lblSetDeviceUser->set_text(str_device); - lblQuotasStatusUser->set_text(str_quota_status); - quotegroupSizeFrameLabelUser->set_text(str_size); - quotegroupFilesFrameLabelUser->set_text(str_files); - quotegroupSizeCurrentlyLabelUser->set_text(str_currently_using); - quotegroupSizeSoftLimitLabelUser->set_text(str_soft_limit); - quoteSizeHardLimitLabel1->set_text(str_hard_limit); - quoteFilesHardLimitLabelUser->set_text(str_hard_limit); - quotegroupFilesSoftLimitLabelUser->set_text(str_soft_limit); - quotegroupFilesCurrentlyLabelUser->set_text(str_currently_using); this->fill_in_pow_memory(quotegroupSizeSoftLimitComboUser); this->fill_in_pow_memory(quotegroupSizeHardLimitComboUser); } diff --git a/source/view/view_filters.cc b/source/view/view_filters.cc index c26ecc2..ee8d918 100644 --- a/source/view/view_filters.cc +++ b/source/view/view_filters.cc @@ -49,6 +49,7 @@ void View_filters::show() { } void View_filters::lacalization() { + /* chbFilterName->set_label(str_name); chbFilterQuotas->set_label(str_quotas); chbFilterSize->set_label(str_size); @@ -59,6 +60,7 @@ void View_filters::lacalization() { chbFilterSoftLimitFile->set_label(str_soft_restriction_files); chbFilterHardLimitFile->set_label(str_severe_limitation_files); chbFilterHardLimitFileDelay->set_label(str_deferring_limit_files); + */ } void View_filters::event() { diff --git a/source/view/view_open_browser.cc b/source/view/view_open_browser.cc index 53b840c..45963aa 100644 --- a/source/view/view_open_browser.cc +++ b/source/view/view_open_browser.cc @@ -22,8 +22,8 @@ void View_open_browser::settings() { obj_open_browser = this; this->get_builder(); #ifdef WEBKIT_FOUND - one = WEBKIT_WEB_VIEW( webkit_web_view_new() ); - three = Glib::wrap(GTK_WIDGET(one)); + my_web_kit = WEBKIT_WEB_VIEW( webkit_web_view_new() ); + three = Glib::wrap(GTK_WIDGET(my_web_kit)); wndWeb->add(*three); #endif this->lacalization(); @@ -79,7 +79,17 @@ void View_open_browser::temp_help_show() { void View_open_browser::open_browser() { #ifdef WEBKIT_FOUND - webkit_web_view_load_uri(one, _(global_lick_doc.c_str())); + if (my_web_kit) { + gtk_widget_destroy(GTK_WIDGET(my_web_kit)); + } + my_web_kit = WEBKIT_WEB_VIEW(webkit_web_view_new()); + three = Glib::wrap(GTK_WIDGET(my_web_kit)); + wndWeb->add(*three); + webkit_web_view_load_uri(my_web_kit, _(global_lick_doc.c_str())); + wndWeb->show_all(); + webkit_web_view_load_uri(my_web_kit, _(global_lick_doc.c_str())); + wndWeb->show_all(); + webkit_web_view_load_uri(my_web_kit, _(global_lick_doc.c_str())); wndWeb->show_all(); #else this->template_open_browser(global_lick_doc); diff --git a/source/view/view_open_browser.h b/source/view/view_open_browser.h index 84e081a..5f02ca6 100644 --- a/source/view/view_open_browser.h +++ b/source/view/view_open_browser.h @@ -27,7 +27,7 @@ public: #ifdef WEBKIT_FOUND Gtk::Window *wndWeb; Gtk::Widget *three; - WebKitWebView *one; + WebKitWebView *my_web_kit = NULL; #endif public: View_open_browser(/* args */); diff --git a/ubl-settings-diskquota.css b/ubl-settings-diskquota.css index 34c1572..6c44488 100644 --- a/ubl-settings-diskquota.css +++ b/ubl-settings-diskquota.css @@ -142,5 +142,13 @@ border:none; background-color: transparent; opacity:0.99; } - - +.thin{ + margin:0px; + padding: 0px; +} +.nobg{ + background: none; +} +.addbg * { + background-color: @theme_bg_color; +} \ No newline at end of file diff --git a/ubl-settings-diskquota.desktop b/ubl-settings-diskquota.desktop index 5a8de7f..409842d 100644 --- a/ubl-settings-diskquota.desktop +++ b/ubl-settings-diskquota.desktop @@ -1,11 +1,11 @@ [Desktop Entry] Encoding=UTF-8 -Name=ubl-settings-diskquota -Name[ru]=Настройка дисковых квот -GenericName=ubl-settings-diskquota -GenericName[ru]=Настройка дисковых квот -Comment=Application for managing and configuring disk quotas -Comment[ru]=Приложение по управлению и настройке дисковых квот +Name=Setting user quotas +Name[ru]=Настройка квот пользователей +GenericName=Setting user quotas +GenericName[ru]=Настройка квот пользователей +Comment=Configuring disk quota settings for system groups and users +Comment[ru]=Настройка параметров дисковых квот для системных групп и пользователей системы Type=Application Exec=pkexec ubl-settings-diskquota Icon=com.ublinux.ubl-settings-diskquota diff --git a/ubl-settings-diskquota.glade b/ubl-settings-diskquota.glade index f284723..7ae92f2 100644 --- a/ubl-settings-diskquota.glade +++ b/ubl-settings-diskquota.glade @@ -106,8 +106,8 @@ 5 5 5 - 5 - 5 + 6 + 6 69 com.ublinux.ubl-settings-diskquota @@ -135,7 +135,9 @@ 255 True False + end Setting user quotas + 0 @@ -150,6 +152,29 @@ 0 + + + 255 + True + False + start + Configuring disk quota settings for system groups and users + True + 0 + + + + + + + + True + True + 1 + + False @@ -252,7 +277,16 @@ 1 10 - + + True + False + dialog-question-symbolic + + + True + False + ibus-panel + True False @@ -262,37 +296,40 @@ True False - 7 - 7 + 4 + 4 Direct control of the file system True - + + Help True False - Help - + 5 + 5 + image2 + False - + + About True False - About - True - + 5 + 5 + image3 + False + True False + False True @@ -319,6 +356,7 @@ True False + False True @@ -511,7 +549,7 @@ True False - General settings + General statistics False @@ -533,7 +571,7 @@ 5 5 - + True False 5 @@ -542,7 +580,7 @@ 5 5 5 - Device: + Device: False @@ -551,7 +589,7 @@ - + True False @@ -584,19 +622,18 @@ - + True False - False - 5 - + True False vertical + 5 True - + True False 5 @@ -606,7 +643,6 @@ 5 5 Excess size delay period - 0 False @@ -615,7 +651,7 @@ - + True False 5 @@ -625,11 +661,11 @@ 5 5 Excess files delay period - 0 False True + end 1 @@ -641,22 +677,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalGroupsSizeWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -665,7 +704,7 @@ - + True False 5 @@ -675,6 +714,7 @@ 5 5 weeks + 0 False @@ -690,16 +730,19 @@ - + True False - 5 - + True True - 0 - generalGroupsFilesWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -708,7 +751,7 @@ - + True False 5 @@ -718,6 +761,7 @@ 5 5 weeks + 0 False @@ -740,22 +784,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalGroupsSizeDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -764,7 +811,7 @@ - + True False 5 @@ -774,6 +821,7 @@ 5 5 days + 0 False @@ -789,16 +837,19 @@ - + True False - 5 - + True True - 0 - generalGroupsFilesDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -807,7 +858,7 @@ - + True False 5 @@ -817,6 +868,7 @@ 5 5 days + 0 False @@ -839,22 +891,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalGroupsSizeHoursSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -863,7 +918,7 @@ - + True False 5 @@ -873,6 +928,7 @@ 5 5 hours + 0 False @@ -888,16 +944,19 @@ - + True False - 5 - + True True - 0 - generalGroupsFilesHoursSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -906,7 +965,7 @@ - + True False 5 @@ -916,6 +975,7 @@ 5 5 hours + 0 False @@ -938,22 +998,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalGroupsSizeMinutesSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -962,7 +1025,7 @@ - + True False 5 @@ -972,6 +1035,7 @@ 5 5 minutes + 0 False @@ -987,16 +1051,19 @@ - + True False - 5 - + True True - 0 - generalGroupsFilesMinutesSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1005,7 +1072,7 @@ - + True False 5 @@ -1015,6 +1082,7 @@ 5 5 minutes + 0 False @@ -1054,7 +1122,7 @@ True False - + True True liststore1 @@ -1077,7 +1145,7 @@ True False - + True True True @@ -1095,9 +1163,7 @@ True False - 5 - 5 - gtk-goto-first + com.ublinux.ubl-settings-diskquota.funnel False @@ -1106,7 +1172,7 @@ - + True False 5 @@ -1133,7 +1199,7 @@ True False - + gtk-delete True True @@ -1153,7 +1219,7 @@ - + True True True @@ -1182,7 +1248,7 @@ - + True False 5 @@ -1207,7 +1273,7 @@ - + gtk-add True True @@ -1248,10 +1314,10 @@ - + True False - Groups + Users 1 @@ -1274,7 +1340,7 @@ 5 5 - + True False 5 @@ -1283,7 +1349,7 @@ 5 5 5 - Device: + Device: False @@ -1292,7 +1358,7 @@ - + True False @@ -1325,18 +1391,18 @@ - + True False - 5 - + True False vertical + 5 True - + True False 5 @@ -1346,7 +1412,6 @@ 5 5 Excess size delay period - 0 False @@ -1355,7 +1420,7 @@ - + True False 5 @@ -1365,11 +1430,11 @@ 5 5 Excess files delay period - 0 False True + end 1 @@ -1381,22 +1446,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalUsersSizeWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1405,7 +1473,7 @@ - + True False 5 @@ -1415,6 +1483,7 @@ 5 5 weeks + 0 False @@ -1430,16 +1499,19 @@ - + True False - 5 - + True True - 0 - generalUsersFilesWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1448,7 +1520,7 @@ - + True False 5 @@ -1458,6 +1530,7 @@ 5 5 weeks + 0 False @@ -1480,22 +1553,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalUsersSizeDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1504,7 +1580,7 @@ - + True False 5 @@ -1514,6 +1590,7 @@ 5 5 days + 0 False @@ -1529,16 +1606,19 @@ - + True False - 5 - + True True - 0 - generalUsersFilesDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1547,7 +1627,7 @@ - + True False 5 @@ -1557,6 +1637,7 @@ 5 5 days + 0 False @@ -1579,22 +1660,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalUsersSizeHoursSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1603,7 +1687,7 @@ - + True False 5 @@ -1613,6 +1697,7 @@ 5 5 hours + 0 False @@ -1628,16 +1713,19 @@ - + True False - 5 - + True True - 0 - generalUsersFilesHourSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1646,14 +1734,17 @@ - + True False 5 + 5 5 + 5 5 5 hours + 0 False @@ -1676,22 +1767,25 @@ - + True False vertical 5 - + True False - 5 - + True True - 0 - generalUsersSizeMinutesSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1700,7 +1794,7 @@ - + True False 5 @@ -1710,6 +1804,7 @@ 5 5 minutes + 0 False @@ -1725,16 +1820,19 @@ - + True False - 5 - + True True - 0 - generalUsersFilesMinuteSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -1743,7 +1841,7 @@ - + True False 5 @@ -1753,6 +1851,7 @@ 5 5 minutes + 0 False @@ -1792,7 +1891,7 @@ True False - + True True liststore1 @@ -1815,7 +1914,7 @@ True False - + True True True @@ -1833,9 +1932,7 @@ True False - 5 - 5 - gtk-missing-image + com.ublinux.ubl-settings-diskquota.funnel False @@ -1844,7 +1941,7 @@ - + True False 5 @@ -1871,7 +1968,7 @@ True False - + gtk-delete True True @@ -1891,7 +1988,7 @@ - + True True True @@ -1920,7 +2017,7 @@ - + True False 5 @@ -1945,7 +2042,7 @@ - + gtk-add True True @@ -1986,10 +2083,10 @@ - + True False - Users + Groups 2 @@ -2021,7 +2118,7 @@ 5 5 5 - Device: + Device: False @@ -2035,213 +2132,43 @@ False - True - True - 1 - - - - - True - False - 5 - 5 - 5 - 5 - - - False - True - 2 - - - - - False - True - 0 - - - - - True - False - - - True - True - True - 5 - 5 - 5 - 5 - 5 - 5 - - - True - False - - - True - False - 5 - 5 - gtk-missing-image - - - False - True - 0 - - - - - True - False - 5 - 5 - Filters - - - False - True - 1 - - - - - - - False - True - 0 - - - - - True - False - - - gtk-delete - True - True - True - 5 - 5 - 5 - 5 - 5 - 5 - True - - - False - True - 0 - - - - - True - True - True - 5 - 5 - 5 - 5 - 5 - 5 - - - True - False - - - True - False - 5 - 5 - gtk-edit - - - False - True - 0 - - - - - True - False - 5 - 5 - 5 - 5 - Edit - - - False - True - 1 - - - - - - - False - True - 1 - - - - - gtk-add - True - True - True - 5 - 5 - 5 - 5 - 5 - 5 - True - - - False - True - 2 - - + True + True + 1 + + + + + True + False + 5 + 5 + 5 + 5 False True - end - 1 + 2 False True - end - 1 + 0 True False - 5 - + True False vertical + 5 True @@ -2254,7 +2181,6 @@ 5 5 Excess size delay period - 0 False @@ -2273,11 +2199,11 @@ 5 5 Excess files delay period - 0 False True + end 1 @@ -2295,16 +2221,19 @@ vertical 5 - + True False - 5 True True - 0 - generalUsersSizeWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2313,7 +2242,7 @@ - + True False 5 @@ -2323,6 +2252,7 @@ 5 5 weeks + 0 False @@ -2338,16 +2268,19 @@ - + True False - 5 True True - 0 - generalUsersFilesWeeksSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2356,7 +2289,7 @@ - + True False 5 @@ -2366,6 +2299,7 @@ 5 5 weeks + 0 False @@ -2394,16 +2328,19 @@ vertical 5 - + True False - 5 True True - 0 - generalUsersSizeDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2422,6 +2359,7 @@ 5 5 days + 0 False @@ -2437,16 +2375,19 @@ - + True False - 5 True True - 0 - generalUsersFilesDaysSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2465,6 +2406,7 @@ 5 5 days + 0 False @@ -2493,16 +2435,19 @@ vertical 5 - + True False - 5 True True - 0 - generalUsersSizeHoursSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2521,6 +2466,7 @@ 5 5 hours + 0 False @@ -2536,16 +2482,19 @@ - + True False - 5 True True - 0 - generalUsersFilesHourSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2558,10 +2507,13 @@ True False 5 + 5 5 + 5 5 5 hours + 0 False @@ -2590,16 +2542,19 @@ vertical 5 - + True False - 5 True True - 0 - generalUsersSizeMinutesSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2618,6 +2573,7 @@ 5 5 minutes + 0 False @@ -2633,16 +2589,19 @@ - + True False - 5 True True - 0 - generalUsersFilesMinuteSpin + 5 + 5 + 5 + 5 + 5 + 5 False @@ -2661,6 +2620,7 @@ 5 5 minutes + 0 False @@ -2715,6 +2675,174 @@ False True + 2 + + + + + True + False + + + True + True + True + 5 + 5 + 5 + 5 + 5 + 5 + + + True + False + + + True + False + com.ublinux.ubl-settings-diskquota.funnel + + + False + True + 0 + + + + + True + False + 5 + 5 + Filters + + + False + True + 1 + + + + + + + False + True + 0 + + + + + True + False + + + gtk-delete + True + True + True + 5 + 5 + 5 + 5 + 5 + 5 + True + + + False + True + 0 + + + + + True + True + True + 5 + 5 + 5 + 5 + 5 + 5 + + + True + False + + + True + False + 5 + 5 + gtk-edit + + + False + True + 0 + + + + + True + False + 5 + 5 + 5 + 5 + Edit + + + False + True + 1 + + + + + + + False + True + 1 + + + + + gtk-add + True + True + True + 5 + 5 + 5 + 5 + 5 + 5 + True + + + False + True + 2 + + + + + False + True + end + 1 + + + + + False + True + end 3 @@ -2942,7 +3070,6 @@ vertical - @@ -2979,8 +3106,6 @@ - - @@ -3673,6 +3798,7 @@ True False + True True @@ -3773,7 +3899,7 @@ 5 5 5 - Status of quota use + Quota use status: False @@ -4564,6 +4690,7 @@ True False + True True @@ -4679,7 +4806,7 @@ 5 5 5 - Status of quota use + Quota use status: False @@ -5374,6 +5501,7 @@ True False + True True @@ -6088,6 +6216,7 @@ True False + True True @@ -6142,6 +6271,7 @@ dialog True True + select-folder False diff --git a/ubl-settings-diskquota.pot b/ubl-settings-diskquota.pot index 243c726..de55d1c 100644 --- a/ubl-settings-diskquota.pot +++ b/ubl-settings-diskquota.pot @@ -639,6 +639,9 @@ msgstr "" msgid "files" msgstr "" +msgid "Configuring disk quota settings for system groups and users" +msgstr "" + #: source/ubl-settings-diskquota.cc:167 source/ubl-settings-diskquota.cc:168 #: source/ubl-settings-diskquota.cc:169 source/ubl-settings-diskquota.cc:170 #: source/ubl-settings-diskquota.cc:97 source/ubl-settings-diskquota.cc:98 @@ -716,3 +719,6 @@ msgstr "" #: source/ubl-settings-diskquota.cc:93 msgid "weeks" msgstr "" + +msgid "General statistics" +msgstr "" \ No newline at end of file diff --git a/ubl-settings-diskquota_ru.po b/ubl-settings-diskquota_ru.po index 4f32301..fdf80b6 100644 --- a/ubl-settings-diskquota_ru.po +++ b/ubl-settings-diskquota_ru.po @@ -77,6 +77,9 @@ msgstr "Проекты" msgid "Configuration of disk quotas parameters for system groups and users" msgstr "Настройка параметров дисковых квот для системных групп и пользователей" +msgid "Configuring disk quota settings for system groups and users" +msgstr "Настройка параметров дисковых квот для системных групп и пользователей системы" + #: source/ubl-settings-quotas.cc:138 source/ubl-settings-quotas.cc:68 #: source/ubl-settings-quotas.cc:60 source/ubl-settings-quotas.cc:81 #: source/ubl-settings-quotas.cc:78 source/ubl-settings-quotas.cc:75 @@ -858,6 +861,9 @@ msgstr "ubl-settings-diskquota версия: " msgid "ubl-settings-quotas" msgstr "Квоты" +msgid "General statistics" +msgstr "Общая статистика" + #~ msgid "Severe limitation (size)" #~ msgstr "Жесткое лимит (объём)"