Derived from: http://brainstorm.ubuntu.com/idea/14381/ http://ubuntuforums.org/showthread.php?t=733808
1) Open Terminal
2a) Install apt-build
sudo apt-get update
sudo apt-get install apt-build
2b) Configure apt-build: [*]Optimization level: Medium
- Add apt-build repository to sources.list: Yes
- Architecture: <SELECT YOUR ARCHITECTURE>
3) Install files required to build gnome-panel from source and download the source
sudo apt-get build-dep gnome-panel
sudo apt-build source gnome-panel
4) Navigate to the downloaded gnome-panel source folder and open the menu items file
cd /var/cache/apt-build/build/gnome-panel-*
sudo gedit gnome-panel/panel-menu-items.c
5) Set the the maximum number of bookmarks to display before placing them in the *Bookmarks* submenu
Find the line: [php]if (g_slist_length (add_bookmarks) <= MAX_ITEMS_OR_SUBMENU) {[/php] and replace it with: [php]if (g_slist_length (add_bookmarks) <= 20) {[/php] Save the file.
6) Install the modified gnome-panel and restart it
sudo ./configure
sudo make
sudo make install
killall gnome-panel
Before and after pics: [img]http://img178.imageshack.us/img178/7450/beforenr0.jpg[/img] [img]http://img19.imageshack.us/img19/2271/afterup4.jpg[/img]