^ I installed the 'update' and the patch still held.
^ I installed the 'update' and the patch still held.
^ I installed the 'update' and the patch still held.
I applied rejected patches manually, and created new patch(attached) against gtk 2.12.1, but compilation fails:
My patch has identical section with included files, and in previous patches this variable wasnt declared in patch, but in some other files. Im not sure, if error is caused, because API has changed, or new gcc is more restrictive.Code:gtkmenubar.c: In function 'gtk_menu_bar_class_init': gtkmenubar.c:123: error: 'gtk_menu_bar_map' undeclared (first use in this function) gtkmenubar.c:123: error: (Each undeclared identifier is reported only once gtkmenubar.c:123: error: for each function it appears in.) gtkmenubar.c: In function 'gtk_menu_bar_map': gtkmenubar.c:331: warning: unused variable 'mbarstyle' make[4]: *** [gtkmenubar.lo] Error 1
--- EDIT ---
I successfully compiled gtk using this patch:
http://www.linuxsir.org/bbs/showthread.php?t=314682
I didnt tested it yet, because I am now preparing spec for macmenu-applet to build rpm for PLD.
--- EDIT ---
This patch from linuxsir is working.
But I have another problem (always I had it with macmenu). Window Selector Applet (not horizontal window panel, but window menu that sit in right corner by default in Gnome and MAcOSX) doesnt show on gnome-panel while using macmenu. W/o macmenu gtk patches it works w/o problems
Last edited by evil_core; November 2nd, 2007 at 04:41 AM.
I just did the same, ended up with a huge patch file because of vim's indentation. However, this compiled fine for me on ArchLinux (gtk 2.12.1). Hope this works for ubuntu too. The debs posted a couple pages back work for me on gutsy, so I have no particular need to compile myself.
However, on Arch every time I add the macmenu applet to the panel, it shows GNO... and then crashes. How do I see the stack trace or something to help debug it? The bug report file just contains some previous .xsession errors.
EDIT: Ok, after copying over the .server and gnome-macmenu-applet files from my ubuntu partition to arch, it works. Strange. I still would want the proper source though so that I can put it in the AUR.
Btw whoever wants it, in the attached archive, the gtkmenubar.patch is the patch against gtk 2.12.1
Last edited by mercurysquad; November 1st, 2007 at 11:36 PM.
Can't answer about the label question.
Now, to avoid upgrade problems with a patched package you make, you can do like this :
install apt-build (choose add apt-buil repo to sources.list when asked)
then use apt-build to get the source package:Code:sudo apt-get install apt-build
then uncompress and copy the patch in the patch dirCode:sudo apt-build source gnome-panel
and add the name of the patch to /var/cache/apt-build/build/gnome-panel-2.20.1/debian/patches/seriesCode:gzip -d ~/99_no_arrows.patch.gz && sudo cp ~/99_no_arrows.patch /var/cache/apt-build/build/gnome-panel-2.20.1/debian/patches/
Now you can build it with :
After that an update for gnome-panel should be available (from your apt-build repo) install it.Code:sudo apt-build install gnome-panel
The menu is a widget and can't be set to transparent.
Try to add these lines to your gtkrc theme file (under ~/.themes/THEME_NAME/gtk-2.0/ or /usr/share/themes/THEME_NAME/gtk-2.0) :
Use same panel-bg.png pattern as the one you use as panel background and place it in the same dir as the gtkrc file. Logout/loginCode:style "theme-menubar" { xthickness = 0 ythickness = 0 #bg[NORMAL] = "#000000" bg_pixmap[NORMAL] = "panel-bg.png" fg[NORMAL] = "#000000" fg[PRELIGHT] = "#000000" fg[ACTIVE] = "#555555" fg[SELECTED] = "#555555" } #panel stuff style "panelbg" { xthickness = 0 ythickness = 0 bg_pixmap[NORMAL] = "panel-bg.png" fg[NORMAL] = "#000000" fg[PRELIGHT] = "#000000" fg[ACTIVE] = "#555555" fg[SELECTED] = "#555555" } class "GtkMenuBar" style "theme-menubar" widget "*PanelApplet*" style "panelbg" class "*notif*" style "panelbg" class "*Notif*" style "panelbg" class "*Tray*" style "panelbg" class "*tray*" style "panelbg" class "*Netstatus*" style "panelbg" class "*netstatus*" style "panelbg" class "*Deskbar*" style "panelbg" class "*deskbar*" style "panelbg"
Also, if you have Compiz Fusion installed, you can use the CompizConfig Settings Manager to make your entire dock transparent. Under General Options, go to Opacity Settings. Click Add and type "dock" (no quotations". Play with the transparency settings for your whole bar there. Make sure your bar itself matches the applet first or it'll still look weird. This is a relatively simple "hack" and won't get you any fancy .png background going (see post above for that) though.
Thanks Xtopher_Robin
However, it also changes opacity for avant-window-navigator.
Is there any way to keep its normal setting?
OK, figured it out.
instead of dock, type:
name=gnome-panel
Last edited by andrek; November 2nd, 2007 at 02:30 PM.
Bookmarks