@@ -32,8 +32,6 @@ public class Scratch.FolderManager.FileView : Code.Widgets.SourceList, Code.Pane
3232 public const string ACTION_DELETE = " delete" ;
3333 public const string ACTION_NEW_FILE = " new-file" ;
3434 public const string ACTION_NEW_FOLDER = " new-folder" ;
35- // public const string ACTION_CHECKOUT_LOCAL_BRANCH = "checkout-local-branch";
36- // public const string ACTION_CHECKOUT_REMOTE_BRANCH = "checkout-remote-branch";
3735 public const string ACTION_CLOSE_FOLDER = " close-folder" ;
3836 public const string ACTION_CLOSE_OTHER_FOLDERS = " close-other-folders" ;
3937 public const string ACTION_SET_ACTIVE_PROJECT = " set-active-project" ;
@@ -340,26 +338,6 @@ public class Scratch.FolderManager.FileView : Code.Widgets.SourceList, Code.Pane
340338 }
341339 }
342340
343- // public void new_branch (string active_project_path) {
344- // unowned var active_project = (ProjectFolderItem)(find_path (root, active_project_path));
345- // if (active_project == null || !active_project.is_git_repo) {
346- // Gdk.beep ();
347- // return;
348- // }
349-
350- // string? branch_name = null;
351- // var dialog = new Dialogs.NewBranchDialog (active_project);
352- // dialog.show_all ();
353- // if (dialog.run () == Gtk.ResponseType.APPLY) {
354- // branch_name = dialog.new_branch_name;
355- // }
356-
357- // dialog.destroy ();
358- // if (branch_name != null) {
359- // active_project.new_branch (branch_name);
360- // }
361- // }
362-
363341 public void folder_item_update_hook (GLib .File source , GLib .File ? dest , GLib .FileMonitorEvent event ) {
364342 plugins. hook_folder_item_change (source, dest, event);
365343 }
0 commit comments