[baobab] Cleanup unused code



commit 176188b11c131efb50ace3b59cbff0d6170eb218
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Wed Jun 10 17:11:44 2020 +0200

    Cleanup unused code

 src/baobab-window.vala | 17 -----------------
 1 file changed, 17 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 5d6c412..06ecc22 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -86,9 +86,6 @@ namespace Baobab {
             { "show-home-page", on_show_home_page_activate },
             { "scan-folder", on_scan_folder_activate },
             { "reload", on_reload_activate },
-            { "show-allocated", on_show_allocated },
-            { "expand-all", on_expand_all },
-            { "collapse-all", on_collapse_all },
             { "help", on_help_activate },
             { "about", on_about_activate }
         };
@@ -100,9 +97,6 @@ namespace Baobab {
 
         private const ActionState[] actions_while_scanning = {
             { "scan-folder", false },
-            { "show-allocated", false },
-            { "expand-all", false },
-            { "collapse-all", false }
         };
 
         private enum DndTargets {
@@ -273,17 +267,6 @@ namespace Baobab {
             }
         }
 
-        void on_show_allocated () {
-        }
-
-        void on_expand_all () {
-            treeview.expand_all ();
-        }
-
-        void on_collapse_all () {
-            treeview.collapse_all ();
-        }
-
         void on_help_activate () {
             try {
                 Gtk.show_uri (get_screen (), "help:baobab", Gtk.get_current_event_time ());


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]