GtkFileChooser: Make local-only default to FALSE

There is no good reason anymore to default to TRUE, and this
default only makes applications miss out on useful functionality.
This commit is contained in:
Matthias Clasen 2016-11-17 09:06:57 -05:00
parent 2f197ac0c2
commit 5b3b111260
3 changed files with 3 additions and 3 deletions

View File

@ -387,7 +387,7 @@ gtk_file_chooser_default_init (GtkFileChooserInterface *iface)
g_param_spec_boolean ("local-only",
P_("Local Only"),
P_("Whether the selected file(s) should be limited to local file: URLs"),
TRUE,
FALSE,
GTK_PARAM_READWRITE));
g_object_interface_install_property (iface,
g_param_spec_object ("preview-widget",

View File

@ -185,7 +185,7 @@ _gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
GtkEntryCompletion *comp;
GtkCellRenderer *cell;
chooser_entry->local_only = TRUE;
chooser_entry->local_only = FALSE;
g_object_set (chooser_entry, "truncate-multiline", TRUE, NULL);

View File

@ -8622,7 +8622,7 @@ gtk_file_chooser_widget_init (GtkFileChooserWidget *impl)
impl->priv = gtk_file_chooser_widget_get_instance_private (impl);
priv = impl->priv;
priv->local_only = TRUE;
priv->local_only = FALSE;
priv->preview_widget_active = TRUE;
priv->use_preview_label = TRUE;
priv->select_multiple = FALSE;