Исправлена иконка кнопки фильтры

pull/14/head
Igor Belitskiy 2 years ago
parent 692faa6691
commit 6b2af5d3bb

@ -104,17 +104,6 @@ void View_add_project::get_builder() {
void View_add_project::lacalization() { void View_add_project::lacalization() {
this->fill_in_pow_memory(quotegroupSizeSoftLimitComboProject); this->fill_in_pow_memory(quotegroupSizeSoftLimitComboProject);
this->fill_in_pow_memory(quotegroupSizeHardLimitComboProject); 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);
} }

@ -92,17 +92,6 @@ void View_add_user_group::show() {
} }
void View_add_user_group::lacalization() { 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(quotegroupSizeSoftLimitCombo);
this->fill_in_pow_memory(quotegroupSizeHardLimitCombo); this->fill_in_pow_memory(quotegroupSizeHardLimitCombo);

@ -101,17 +101,6 @@ void View_edit_project::get_builder() {
} }
void View_edit_project::lacalization() { 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(quoteSizeSoftLimitComboProjectEdit);
this->fill_in_pow_memory(quoteSizeHardLimitComboProjectEdit); this->fill_in_pow_memory(quoteSizeHardLimitComboProjectEdit);
} }

@ -86,16 +86,6 @@ void View_edit_user_group::get_builder() {
} }
void View_edit_user_group::lacalization() { 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(quotegroupSizeSoftLimitComboUser);
this->fill_in_pow_memory(quotegroupSizeHardLimitComboUser); this->fill_in_pow_memory(quotegroupSizeHardLimitComboUser);
} }

@ -49,6 +49,7 @@ void View_filters::show() {
} }
void View_filters::lacalization() { void View_filters::lacalization() {
/*
chbFilterName->set_label(str_name); chbFilterName->set_label(str_name);
chbFilterQuotas->set_label(str_quotas); chbFilterQuotas->set_label(str_quotas);
chbFilterSize->set_label(str_size); chbFilterSize->set_label(str_size);
@ -59,6 +60,7 @@ void View_filters::lacalization() {
chbFilterSoftLimitFile->set_label(str_soft_restriction_files); chbFilterSoftLimitFile->set_label(str_soft_restriction_files);
chbFilterHardLimitFile->set_label(str_severe_limitation_files); chbFilterHardLimitFile->set_label(str_severe_limitation_files);
chbFilterHardLimitFileDelay->set_label(str_deferring_limit_files); chbFilterHardLimitFileDelay->set_label(str_deferring_limit_files);
*/
} }
void View_filters::event() { void View_filters::event() {

@ -129,9 +129,7 @@
transition: 200ms ease-out; transition: 200ms ease-out;
background-image: none; background-image: none;
} }
.noborder{
border:none;
}
.bkim{ .bkim{
opacity:0.99; opacity:0.99;
@ -142,5 +140,18 @@ border:none;
background-color: transparent; background-color: transparent;
opacity:0.99; opacity:0.99;
} }
.thin{
margin:0px;
padding: 0px;
}
.nobg{
background: none;
}
.noborder{
border:none;
}
.addbg * {
background-color: @theme_bg_color;
}

@ -1092,12 +1092,22 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImage"> <object class="GtkMenuButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">True</property>
<property name="margin-left">5</property> <property name="focus-on-click">False</property>
<property name="margin-start">5</property> <property name="receives-default">True</property>
<property name="stock">gtk-goto-first</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="direction">left</property>
<child>
<placeholder/>
</child>
<style>
<class name="thin"/>
<class name="nobg"/>
<class name="noborder"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1252,6 +1262,11 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Groups</property> <property name="label" translatable="yes">Groups</property>
<style>
<class name="nobg"/>
<class name="noborder"/>
<class name="thin"/>
</style>
</object> </object>
<packing> <packing>
<property name="position">1</property> <property name="position">1</property>
@ -1830,12 +1845,22 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImage"> <object class="GtkMenuButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">True</property>
<property name="margin-left">5</property> <property name="focus-on-click">False</property>
<property name="margin-start">5</property> <property name="receives-default">True</property>
<property name="stock">gtk-missing-image</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="direction">left</property>
<child>
<placeholder/>
</child>
<style>
<class name="thin"/>
<class name="nobg"/>
<class name="noborder"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -1990,6 +2015,11 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Users</property> <property name="label" translatable="yes">Users</property>
<style>
<class name="nobg"/>
<class name="noborder"/>
<class name="thin"/>
</style>
</object> </object>
<packing> <packing>
<property name="position">2</property> <property name="position">2</property>
@ -2082,12 +2112,22 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<child> <child>
<object class="GtkImage"> <object class="GtkMenuButton">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">True</property>
<property name="margin-left">5</property> <property name="focus-on-click">False</property>
<property name="margin-start">5</property> <property name="receives-default">True</property>
<property name="stock">gtk-missing-image</property> <property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="direction">left</property>
<child>
<placeholder/>
</child>
<style>
<class name="thin"/>
<class name="nobg"/>
<class name="noborder"/>
</style>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -2728,6 +2768,11 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Project</property> <property name="label" translatable="yes">Project</property>
<style>
<class name="noborder"/>
<class name="thin"/>
<class name="nobg"/>
</style>
</object> </object>
<packing> <packing>
<property name="position">3</property> <property name="position">3</property>
@ -3773,7 +3818,7 @@
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="margin-top">5</property> <property name="margin-top">5</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="label" translatable="yes">Status of quota use</property> <property name="label" translatable="yes">Quota use status:</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -4679,7 +4724,7 @@
<property name="margin-end">5</property> <property name="margin-end">5</property>
<property name="margin-top">5</property> <property name="margin-top">5</property>
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="label" translatable="yes">Status of quota use</property> <property name="label" translatable="yes">Quota use status:</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>

Loading…
Cancel
Save