mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
GtkFileChooser: propagate local-only to sidebar
This fixes a regression from the sidebar merge.
This commit is contained in:
parent
9e5a8b7ae1
commit
90c4515678
@ -2414,6 +2414,8 @@ set_local_only (GtkFileChooserDefault *impl,
|
||||
if (priv->location_entry)
|
||||
_gtk_file_chooser_entry_set_local_only (GTK_FILE_CHOOSER_ENTRY (priv->location_entry), local_only);
|
||||
|
||||
gtk_places_sidebar_set_local_only (GTK_PLACES_SIDEBAR (priv->places_sidebar), local_only);
|
||||
|
||||
if (local_only && priv->current_folder &&
|
||||
!_gtk_file_has_native_path (priv->current_folder))
|
||||
{
|
||||
|
@ -200,6 +200,7 @@
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">never</property>
|
||||
<property name="shadow_type">in</property>
|
||||
<property name="local_only">True</property>
|
||||
<signal name="open-location" handler="places_sidebar_open_location_cb" swapped="no"/>
|
||||
<signal name="show-error-message" handler="places_sidebar_show_error_message_cb" swapped="no"/>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user