From 694861217c7fd2d2598e28e9b4a8683145456b1f Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 22 Jan 2013 00:50:28 +0000 Subject: [PATCH] add the rename option to the main window context menu --- macosx/Controller.m | 2 +- macosx/en.lproj/MainMenu.xib | 36 ++++++++++++++++++++++++++++++------ 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 06df4ac0c..e627f853d 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -4304,7 +4304,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy return canUseTable && [fTableView numberOfSelectedRows] > 0; //enable renaming file/folder - if (action == @selector(renameSelectedTorrent:)) + if (action == @selector(renameSelected:)) return canUseTable && [fTableView numberOfSelectedRows] == 1; //enable remove items diff --git a/macosx/en.lproj/MainMenu.xib b/macosx/en.lproj/MainMenu.xib index a506ae298..a3850cbdb 100644 --- a/macosx/en.lproj/MainMenu.xib +++ b/macosx/en.lproj/MainMenu.xib @@ -1558,9 +1558,9 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA - + - Rename… + Rename Selected… 1048576 2147483647 @@ -1975,6 +1975,15 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA + + + Rename Selected… + + 2147483647 + + + 4 + Update Tracker @@ -3674,10 +3683,18 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA renameSelected: - + 3444 + + + renameSelected: + + + + 3447 + delegate @@ -4475,7 +4492,7 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA - + @@ -4706,6 +4723,7 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA + ContextRowMenu @@ -5488,9 +5506,14 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA 3441 - + + + 3445 + + + @@ -5713,6 +5736,7 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -5738,7 +5762,7 @@ AADAcW1tb2QAAAAAAAAGEAAAoAcAAAAAySceAAAAAAAAAAAAAAAAAAAAAAA - 3444 + 3447 -- 2.40.0