diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-02-14 00:48:26 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-02-14 01:03:38 -0500 |
commit | ff87c6516bdfcf40a11ef56d8206d3b484563159 (patch) | |
tree | e55213a153bf6024013ccad65db151e4bda43117 /gtk/ui/gtkfilechooserwidget.ui | |
parent | 2c5ea0dd4578e33571fe4c0c14c36c1604631f69 (diff) | |
download | gtk+-ff87c6516bdfcf40a11ef56d8206d3b484563159.tar.gz |
file chooser: Allow to limit search
Add a button to allow restricting search to the current
folder (and subdirectories). This makes the search more
useful, and makes the file chooser more similar to
nautilus.
Diffstat (limited to 'gtk/ui/gtkfilechooserwidget.ui')
-rw-r--r-- | gtk/ui/gtkfilechooserwidget.ui | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gtk/ui/gtkfilechooserwidget.ui b/gtk/ui/gtkfilechooserwidget.ui index 1eb433225f..83e095ce42 100644 --- a/gtk/ui/gtkfilechooserwidget.ui +++ b/gtk/ui/gtkfilechooserwidget.ui @@ -134,6 +134,30 @@ <signal name="stop-search" handler="search_entry_stop_cb" swapped="yes"/> </object> </child> + <child> + <object class="GtkBox"> + <property name="visible">True</property> + <style> + <class name="linked"/> + </style> + <child> + <object class="GtkRadioButton" id="current_location_radio"> + <property name="visible">True</property> + <property name="draw-indicator">False</property> + <property name="label" translatable="yes">Home</property> + <signal name="toggled" handler="search_entry_activate_cb" swapped="yes"/> + </object> + </child> + <child> + <object class="GtkRadioButton"> + <property name="visible">True</property> + <property name="draw-indicator">False</property> + <property name="group">current_location_radio</property> + <property name="label" translatable="yes">All Files</property> + </object> + </child> + </object> + </child> </object> <packing> <property name="name">search</property> |