Page 104 of 299 FirstFirst ... 45494102103104105106114154204 ... LastLast
Results 1,031 to 1,040 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #1031
    Join Date
    Jul 2007
    Beans
    193
    Distro
    Gutsy Gibbon Testing

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    ^ I installed the 'update' and the patch still held.

  2. #1032
    Join Date
    Jul 2007
    Beans
    193
    Distro
    Gutsy Gibbon Testing

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    ^ I installed the 'update' and the patch still held.

  3. #1033
    Join Date
    Nov 2007
    Beans
    2

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    I applied rejected patches manually, and created new patch(attached) against gtk 2.12.1, but compilation fails:
    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
    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.

    --- 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
    Attached Files Attached Files
    Last edited by evil_core; November 2nd, 2007 at 04:41 AM.

  4. #1034
    Join Date
    Jul 2006
    Location
    Indian in Germany
    Beans
    43
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    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
    Attached Files Attached Files
    Last edited by mercurysquad; November 1st, 2007 at 11:36 PM.

  5. #1035
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by andrek View Post
    I've got a problem. As you can see on a picture below, instead of 'GNOME' i get 'GNO...'. I get the same thing with firefox, which is showed as 'Firef...'.
    Is there any possibility to fix it?

    Also, how can i change that ugly deskbar-applet icon?

    One more thing.. I've applied that 'no-arrow' patch which worked well, but.. as i tried to update/upgrade my system, it has updated gnome-panel.. So i'm back with that arrow.

    Thanks.
    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)
    Code:
    sudo apt-get install apt-build
    then use apt-build to get the source package:
    Code:
    sudo apt-build source gnome-panel
    then uncompress and copy the patch in the patch dir
    Code:
    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/
    and add the name of the patch to /var/cache/apt-build/build/gnome-panel-2.20.1/debian/patches/series
    Now you can build it with :
    Code:
    sudo apt-build install gnome-panel
    After that an update for gnome-panel should be available (from your apt-build repo) install it.

  6. #1036
    Join Date
    Oct 2007
    Beans
    6

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    i'm trying to install mac menu applet on ubuntu gutsy...but i've some problems.
    my menu bar is like a mac menu bar, but it's not transparent...how can i do?



    maybe there is this problem bacause i've not installed the patch 099_mac_menubar.patch?? i'm not able to install it

    please help me

  7. #1037
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by aenima1891 View Post
    i'm trying to install mac menu applet on ubuntu gutsy...but i've some problems.
    my menu bar is like a mac menu bar, but it's not transparent...how can i do?



    maybe there is this problem bacause i've not installed the patch 099_mac_menubar.patch?? i'm not able to install it

    please help me
    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) :
    Code:
    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"
    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/login

  8. #1038
    Join Date
    Nov 2007
    Location
    Behind you...
    Beans
    31
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    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.

  9. #1039
    Join Date
    Aug 2006
    Location
    Poland
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    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.

  10. #1040
    Join Date
    Nov 2007
    Location
    Behind you...
    Beans
    31
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by andrek View Post
    Thanks Xtopher_Robin
    However, it also changes opacity for avant-window-navigator.
    Is there any way to keep its normal setting?
    Not that I've found. My opacity setting is 30388. This gives me just enough transparency to the menu bar while not making AWN too transparent. You can see it in my screenshot:
    Attached Images Attached Images

Page 104 of 299 FirstFirst ... 45494102103104105106114154204 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •