summaryrefslogtreecommitdiff
path: root/gtk/ui/gtkfilechooserwidget.ui
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-05-09 09:52:00 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-07-18 15:11:26 -0400
commit3505e0d6e7c8e414b3c9e4954b7e0f183463b323 (patch)
treec84ca9c4575bdd81b231f087b7b25313bc2800c3 /gtk/ui/gtkfilechooserwidget.ui
parent20d47e2a6c41a28c00626f7bbc2375929e9a8be1 (diff)
downloadgtk+-3505e0d6e7c8e414b3c9e4954b7e0f183463b323.tar.gz
filechooserwidget: Add GtkFileChooserErrorStack
Showing all the different errors and warnings when renaming and creating files/folders without potentially resizing popovers on every keystroke requires us to know the size of the error messages beforehand, so pack all of the possible error messages and warnings in labels and those into a stack. This way we can also neatly crossfade transition between them. https://bugzilla.gnome.org/show_bug.cgi?id=775636
Diffstat (limited to 'gtk/ui/gtkfilechooserwidget.ui')
-rw-r--r--gtk/ui/gtkfilechooserwidget.ui6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui
index 40e688ba28..bf678809dc 100644
--- a/gtk/ui/gtkfilechooserwidget.ui
+++ b/gtk/ui/gtkfilechooserwidget.ui
@@ -427,8 +427,7 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="new_folder_error_label">
- <property name="halign">start</property>
+ <object class="GtkFileChooserErrorStack" id="new_folder_error_stack">
</object>
<packing>
<property name="left-attach">0</property>
@@ -487,8 +486,7 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="rename_file_error_label">
- <property name="halign">start</property>
+ <object class="GtkFileChooserErrorStack" id="rename_file_error_stack">
</object>
<packing>
<property name="left-attach">0</property>