[baobab] Window: Remove unused scan-home action
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Window: Remove unused scan-home action
- Date: Tue, 15 Sep 2015 08:53:02 +0000 (UTC)
commit 0a24656ba02877be47abdaed30a38f9bac574582
Author: Ondrej Holy <oholy redhat com>
Date: Tue Sep 15 10:40:47 2015 +0200
Window: Remove unused scan-home action
There used to be a menu with scan-home action, but scan-home action
isn't needed currently and therefor can be removed.
https://bugzilla.gnome.org/show_bug.cgi?id=755045
src/baobab-window.vala | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index cc27e69..1092041 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -85,7 +85,6 @@ namespace Baobab {
private const GLib.ActionEntry[] action_entries = {
{ "gear-menu", on_show_gear_menu_activate , null, "false", null},
{ "show-home-page", on_show_home_page_activate },
- { "scan-home", on_scan_home_activate },
{ "scan-folder", on_scan_folder_activate },
{ "scan-remote", on_scan_remote_activate },
{ "reload", on_reload_activate },
@@ -102,7 +101,6 @@ namespace Baobab {
}
private const ActionState[] actions_while_scanning = {
- { "scan-home", false },
{ "scan-folder", false },
{ "scan-remote", false },
{ "show-allocated", false },
@@ -195,10 +193,6 @@ namespace Baobab {
set_ui_state (home_page, false);
}
- void on_scan_home_activate () {
- scan_directory (File.new_for_path (GLib.Environment.get_home_dir ()));
- }
-
void on_scan_folder_activate () {
var file_chooser = new Gtk.FileChooserDialog (_("Select Folder"), this,
Gtk.FileChooserAction.SELECT_FOLDER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]