Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206863 Details for
Bug 288753
[gnome overlay] gnome-base/gnome-panel-2.28.0-r2: new feature - disable/enable ugly arrow in menu button
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for any version
gnome-panel-2.28.0-menu-button-ugly-arrow.patch (text/plain), 2.24 KB, created by
Damir Gilyazov
on 2009-10-12 18:23:18 UTC
(
hide
)
Description:
patch for any version
Filename:
MIME Type:
Creator:
Damir Gilyazov
Created:
2009-10-12 18:23:18 UTC
Size:
2.24 KB
patch
obsolete
>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 @@ > </long> > </locale> > </schema> >+ >+ <schema> >+ <key>/schemas/apps/panel/objects/has_arrow</key> >+ <owner>panel</owner> >+ <type>bool</type> >+ <default>true</default> >+ <locale name="C"> >+ <short>Draw ugly arrow in menu button</short> >+ <long> >+ If true, ugly arrow is at menu button. If false, main >+ menu has clean look. >+ </long> >+ </locale> >+ </schema> > > <schema> > <key>/schemas/apps/panel/objects/menu_path</key>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 288753
: 206863 |
206864