Bug#478839: gnome-menus: Games menus needs submenus

Daniel Dickinson cshore at wightman.ca
Thu May 1 11:54:38 UTC 2008


Package: gnome-menus
Version: 2.16.1-3
Severity: wishlist
Tags: patch


With a large number of games the Games menu becomes unweildy.  Thus a 
submenu system is need.  I have included a gnome-applications.menu patch 
that adds them, but what is really needed is a way for the submenus to 
only be used if there are more than three entries (the gnome guidelines 
suggest at least three items should be in a submenu, and that submenus 
shouldn't be too deep; my submenus add exactly one more layer than is 
already there).

-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages gnome-menus depends on:
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libglib2.0-0           2.12.4-2          The GLib library of C routines
ii  libgnome-menu2         2.16.1-3          an implementation of the freedeskt
ii  python                 2.4.4-2           An interactive high-level object-o
ii  python-glade2          2.8.6-8           GTK+ bindings: Glade support
ii  python-gmenu           2.16.1-3          an implementation of the freedeskt

gnome-menus recommends no packages.

-- no debconf information
-------------- next part --------------
--- gnome-applications.menu.old	2008-05-01 07:47:56.000000000 -0400
+++ gnome-applications.menu	2008-05-01 07:47:40.000000000 -0400
@@ -76,10 +76,86 @@
     <Include>
       <And>
         <Category>Game</Category>
-      </And>
-    </Include>
+	<Not><Category>StrategyGame</Category></Not>
+	<Not><Category>RolePlaying</Category></Not>
+	<Not><Category>ArcadeGame</Category></Not>
+	<Not><Category>BoardGame</Category></Not>
+	<Not><Category>LogicGame</Category></Not>
+	<Not><Category>PuzzleGame</Category></Not>
+	<Not><Category>CardGame</Category></Not>
+	<Not><Category>SimulationGame</Category></Not>
+      </And>
+    </Include>
+    <!-- StrategyGames -->
+    <Menu>
+       <Name>Strategy Games</Name>
+       <Directory>StrategyGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>StrategyGame</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End StrategyGames -->
+    <Menu>
+       <Name>Adventure Games</Name>
+       <Directory>AdventureGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>RolePlaying</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End StrategyGames -->
+    <Menu>
+       <Name>Arcade Games</Name>
+       <Directory>ArcadeGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>ArcadeGame</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End ArcadeGames -->
+    <Menu>
+       <Name>Board Games</Name>
+       <Directory>BoardGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>BoardGame</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End BoardGames -->
+    <Menu>
+       <Name>Puzzle and Logic Games</Name>
+       <Directory>PuzzleGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>LogicGame</Category>
+           </And>
+	   <And>
+               <Category>PuzzleGame</Category>
+	   </And>
+       </Include>
+    </Menu> <!-- End PuzzleGames -->
+    <Menu>
+       <Name>Card Games</Name>
+       <Directory>CardGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>CardGame</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End CardGames -->
+    <Menu>
+       <Name>Simulation Games</Name>
+       <Directory>SimulationGames.directory</Directory>
+       <Include>
+           <And>
+               <Category>SimulationGame</Category>
+           </And>
+       </Include>
+    </Menu> <!-- End SimulationGames -->
   </Menu> <!-- End Games -->
 
+
   <!-- Graphics -->
   <Menu>
     <Name>Graphics</Name>
@@ -158,3 +234,4 @@
   </Menu>
 
 </Menu> <!-- End Applications -->
+


More information about the pkg-gnome-maintainers mailing list