diff -urN orig/gnome-panel-2.28.0/gnome-panel/panel-menu-button.c my/gnome-panel-2.28.0/gnome-panel/panel-menu-button.c --- orig/gnome-panel-2.28.0/gnome-panel/panel-menu-button.c 2009-10-12 20:32:20.000000000 +0300 +++ my/gnome-panel-2.28.0/gnome-panel/panel-menu-button.c 2009-10-12 20:54:05.000000000 +0300 @@ -635,6 +635,7 @@ gboolean locked, int position, gboolean exactpos, + gboolean has_arrow, const char *id) { PanelMenuButton *button; @@ -648,7 +649,7 @@ "tooltip", tooltip, "use-menu-path", use_menu_path, "use-custom-icon", use_custom_icon, - "has-arrow", TRUE, + "has-arrow", has_arrow, NULL); info = panel_applet_register (GTK_WIDGET (button), NULL, NULL, @@ -876,6 +877,7 @@ char *tooltip; gboolean use_menu_path; gboolean use_custom_icon; + gboolean has_arrow; client = panel_gconf_get_client (); @@ -894,6 +896,9 @@ key = panel_gconf_full_key (PANEL_GCONF_OBJECTS, id, "use_custom_icon"); use_custom_icon = gconf_client_get_bool (client, key, NULL); + key = panel_gconf_full_key (PANEL_GCONF_OBJECTS, id, "has_arrow"); + has_arrow = gconf_client_get_bool (client, key, NULL); + panel_menu_button_load (menu_path, use_menu_path, custom_icon, @@ -903,6 +908,7 @@ locked, position, exactpos, + has_arrow, id); g_free (menu_path); diff -urN orig/gnome-panel-2.28.0/gnome-panel/panel-object.schemas.in my/gnome-panel-2.28.0/gnome-panel/panel-object.schemas.in --- orig/gnome-panel-2.28.0/gnome-panel/panel-object.schemas.in 2009-10-12 20:32:20.000000000 +0300 +++ my/gnome-panel-2.28.0/gnome-panel/panel-object.schemas.in 2009-10-12 21:01:30.000000000 +0300 @@ -176,6 +176,20 @@ + + + /schemas/apps/panel/objects/has_arrow + panel + bool + true + + Draw ugly arrow in menu button + + If true, ugly arrow is at menu button. If false, main + menu has clean look. + + + /schemas/apps/panel/objects/menu_path