mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
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:
parent
2f197ac0c2
commit
5b3b111260
@ -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",
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user