[gnome-boxes] wizard: Confine file chooser dialog to local filesystem
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Confine file chooser dialog to local filesystem
- Date: Sun, 5 Feb 2012 14:39:25 +0000 (UTC)
commit cd688ab2d4b6bdfbeb8dfe4a6f86391cb8a1c1ce
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sun Feb 5 15:35:46 2012 +0100
wizard: Confine file chooser dialog to local filesystem
src/wizard-source.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index a1d6756..7bd4f64 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -123,6 +123,7 @@ private class Boxes.WizardSource: GLib.Object {
Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
dialog.show_hidden = false;
+ dialog.local_only = true;
if (dialog.run () == Gtk.ResponseType.ACCEPT) {
uri = dialog.get_uri ();
page = SourcePage.URL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]