[gnome-usage/tracker-powered-storage-view-wip: 93/103] storage: Open file on storage-row click
- From: Petr Štětka <pstetka src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-usage/tracker-powered-storage-view-wip: 93/103] storage: Open file on storage-row click
- Date: Tue, 2 Apr 2019 12:27:38 +0000 (UTC)
commit 86ae3f067a1a17bf407e4d732c01d241c5bbb8fc
Author: Petr Štětka <pstetka redhat com>
Date: Fri Jul 27 11:37:26 2018 +0200
storage: Open file on storage-row click
src/storage/storage-view.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/storage/storage-view.vala b/src/storage/storage-view.vala
index 9462b2b..0841efb 100644
--- a/src/storage/storage-view.vala
+++ b/src/storage/storage-view.vala
@@ -96,6 +96,8 @@ public class Usage.NewStorageView : Usage.View {
present_dir.begin (storage_row.item.uri, storage_row.item.dir);
} else if (storage_row.item.custom_type != null) {
row_popover.present(storage_row);
+ } else {
+ AppInfo.launch_default_for_uri(storage_row.item.uri, null);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]