[baobab/wip/new-design: 17/59] Implement two trivial handlers
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab/wip/new-design: 17/59] Implement two trivial handlers
- Date: Sun, 1 Apr 2012 17:11:06 +0000 (UTC)
commit de6f48b8c9137ec1488f58451a21d8986e80df03
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Jan 6 11:16:15 2012 +0100
Implement two trivial handlers
Implement scan home and scan filesystem.
src/baobab-window.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index e708d64..ddc0730 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -63,11 +63,13 @@ namespace Baobab {
}
void on_scan_home_activate () {
- print ("sh\n");
+ var dir = File.new_for_path (GLib.Environment.get_home_dir ());
+ scan_directory (dir);
}
void on_scan_filesystem_activate () {
- print ("sfs\n");
+ var dir = File.new_for_uri ("file:///");
+ scan_directory (dir);
}
void on_scan_folder_activate () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]