File: remove-unused-menu-items.patch

package info (click to toggle)
gmastermind.app 0.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: objc: 863; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 724 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Remove "Help" and "Preferences" in menu, as they are unused.
Bug: https://savannah.nongnu.org/bugs/?42721
Forwarded: https://savannah.nongnu.org/bugs/?42721
Author: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4Xix@bitmessage.ch>
Last-Update: 2014-07-10
---

--- a/main.m
+++ b/main.m
@@ -60,12 +60,6 @@
    [menu addItemWithTitle: _(@"Info Panel...")
 	 action: @selector (orderFrontStandardInfoPanel:) 
 	 keyEquivalent: @""];
-   [menu addItemWithTitle: _(@"Preferences...")
-	 action: @selector (runPreferencesPanel:) 
-	 keyEquivalent: @""];
-   [menu addItemWithTitle: _(@"Help...")
-	 action: @selector (orderFrontHelpPanel:)
-	 keyEquivalent: @"?"];
 
    // Game SubMenu
    menuItem = (NSMenuItem *)