diff options
author | Razvan Chitu <razvan.ch95@gmail.com> | 2016-08-22 15:12:18 +0300 |
---|---|---|
committer | Razvan Chitu <razvan.ch95@gmail.com> | 2016-08-23 00:37:17 +0300 |
commit | d0934dbe5364581b53b529e8d91917e8fabe2f9e (patch) | |
tree | 04153f7d316755997eb31aff7bafaad5b3559c30 /src/resources/ui/nautilus-compress-dialog.ui | |
parent | e9efd047b242cb4e8bb72b498bd0853e09add39e (diff) | |
download | nautilus-d0934dbe5364581b53b529e8d91917e8fabe2f9e.tar.gz |
file-name-widgets: use a revealer to display errors
Each file name widget has an error label for displaying error messages. However,
when there is no error, the label just takes up space for no reason. In order to
fix this, use a revealer to display error messages.
https://bugzilla.gnome.org/show_bug.cgi?id=770199
Diffstat (limited to 'src/resources/ui/nautilus-compress-dialog.ui')
-rw-r--r-- | src/resources/ui/nautilus-compress-dialog.ui | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/resources/ui/nautilus-compress-dialog.ui b/src/resources/ui/nautilus-compress-dialog.ui index 0aa9f11bc..8ca01965b 100644 --- a/src/resources/ui/nautilus-compress-dialog.ui +++ b/src/resources/ui/nautilus-compress-dialog.ui @@ -42,12 +42,15 @@ </packing> </child> <child> - <object class="GtkLabel" id="error_label"> - <property name="visible">True</property> - <property name="xalign">0</property> - <style> - <class name="dim-label"/> - </style> + <object class="GtkRevealer" id="error_revealer"> + <child> + <object class="GtkLabel" id="error_label"> + <property name="margin_top">4</property> + <property name="margin_bottom">4</property> + <property name="visible">True</property> + <property name="xalign">0</property> + </object> + </child> </object> <packing> <property name="expand">False</property> @@ -109,6 +112,9 @@ <object class="GtkLabel" id="description_label"> <property name="visible">True</property> <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> </object> <packing> <property name="expand">False</property> |