Page 199 of 299 FirstFirst ... 99149189197198199200201209249 ... LastLast
Results 1,981 to 1,990 of 2990

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

  1. #1981
    Join Date
    Dec 2007
    Beans
    290

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

    I need some help. If anyone know how to grab(and ungrab) Alt-<> keystrokes on a certain screen or display in X?

    I tried to figure it out from gnome-settings-daemon but the code seems to be deprecated and didn't work for me.

    This issue will be the final obstacle for the 0.5 to release.

  2. #1982
    Join Date
    Dec 2007
    Beans
    290

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

    Dear Friends,

    I am glad to notify you that the branches/0.5-devel
    can be tested.
    0.5-devel can work with the 0.4 branch gtk-aqd.

    Suppose a 0.4 version is installed:
    Code:
    svn co http://gnome2-globalmenu.googlecode.com/svn/branches/0.5-devel
    ./autogen.sh
    make
    cd libgnomenu
    env LD_LIBRARY_PATH=`pwd` gedit
    cd ../servers
    ./gnome-globalmenu-applet
    find and add the Global Menu Applet to the panel.

    Several issues:
    - No application title shown; applet preferences are lacking.
    - Sometimes, the global menu is created before the menu introspection data is created;(especially when the window is presented to the user for the first time) needs some underline changes. ## Fixed, a message to request the application update the introspection data is issued when the application receives the focus.

    - Alt-x keys aren't working
    - Theming issue; how to change the style of a gtkmenubar widget?

    - TransientFor is ignored.
    Last edited by rainwoodman; July 17th, 2008 at 02:16 PM.

  3. #1983
    Join Date
    Feb 2007
    Beans
    519
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Hi guys. Just want to ask the developer a quick question. I use Fluxbox, so no panel applet for me. In this case, is it possible to have a key binding (for example F9) used to toggle the visibility of the gtk menu widget? So the apps start with menubar hidden; if I want to access something in the menu I would press F9 to toggle it.
    make install - not war!

    Oh hai!

  4. #1984
    Join Date
    Jun 2008
    Beans
    23

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

    i tried to compile this 0.5

    but after the first try i got test/testgrab.o no rule to make

    and after removing that from the Makefile

    i get:
    (lt-gnome-globalmenu-applet:11727): libglade-WARNING **: could not find glade file 'GnomenuServerApplet.glade'



    so i looked at the server dir, and saw application.glade.
    used that one, but still the same and don't know what to do now


    (lt-gnome-globalmenu-applet:12967): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed


    (lt-gnome-globalmenu-applet:11727): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
    ** Message: <GnomenuGlobalMenu>::switch: key = 0x1001dba
    Segmentation fault


    this is on ubuntu hardy 64bit

    Felix
    Last edited by kinap; July 16th, 2008 at 10:55 PM. Reason: forgot a error line

  5. #1985
    Join Date
    Aug 2006
    Location
    Poland
    Beans
    Hidden!

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

    Hey, I'm not kinda up to date with this project. Is custom font setting ( just for menu bar ) already available?

  6. #1986
    Join Date
    Dec 2007
    Beans
    290

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

    Thanks for the feedback!

    Quote Originally Posted by kinap View Post
    i tried to compile this 0.5

    but after the first try i got test/testgrab.o no rule to make
    test/testgrab.c is not added to the svn.
    and after removing that from the Makefile

    i get:
    (lt-gnome-globalmenu-applet:11727): libglade-WARNING **: could not find glade file 'GnomenuServerApplet.glade'
    I forgot to add the file, also.

    so i looked at the server dir, and saw application.glade.
    used that one, but still the same and don't know what to do now


    (lt-gnome-globalmenu-applet:12967): Gtk-CRITICAL **: gtk_container_add: assertion `GTK_IS_WIDGET (widget)' failed


    (lt-gnome-globalmenu-applet:11727): GLib-GObject-CRITICAL **: g_type_instance_get_private: assertion `instance != NULL && instance->g_class != NULL' failed
    ** Message: <GnomenuGlobalMenu>::switch: key = 0x1001dba
    Segmentation fault


    this is on ubuntu hardy 64bit

    Felix
    Would you try to check out and have a test again?
    If you don't have a 0.4 gtk-aqd installed, please use test/testmenubar as the testing application.

  7. #1987
    Join Date
    Dec 2007
    Beans
    290

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

    Quote Originally Posted by spupy View Post
    Hi guys. Just want to ask the developer a quick question. I use Fluxbox, so no panel applet for me. In this case, is it possible to have a key binding (for example F9) used to toggle the visibility of the gtk menu widget? So the apps start with menubar hidden; if I want to access something in the menu I would press F9 to toggle it.
    Hi spupy, this will be a nice feature, except I don't know how to grab the key. I'll prefer F10 because F10 is the default to activate a menubar in GTK.

  8. #1988
    Join Date
    Feb 2007
    Beans
    519
    Distro
    Ubuntu 12.04 Precise Pangolin

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

    Quote Originally Posted by rainwoodman View Post
    Hi spupy, this will be a nice feature, except I don't know how to grab the key. I'll prefer F10 because F10 is the default to activate a menubar in GTK.
    Well, F10 is fine too. I got the idea from XChat - F9 (or Ctrl F9) toggles the menubar visibility.
    make install - not war!

    Oh hai!

  9. #1989
    Join Date
    Sep 2007
    Beans
    3

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

    Hi,

    I was hoping someone may be able to help...when I add globalmenu to the gnome panel it works/shows up fine, but when restarting the computer it disappears (but I can see where it should be by right clicking the panel). Has anyone had any experience with this?

    Thanks!

  10. #1990
    Join Date
    Jun 2008
    Beans
    23

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

    Quote Originally Posted by rainwoodman View Post
    Thanks for the feedback!



    test/testgrab.c is not added to the svn.

    I forgot to add the file, also.


    Would you try to check out and have a test again?
    If you don't have a 0.4 gtk-aqd installed, please use test/testmenubar as the testing application.
    done it, and it won't crash anymore

    felix@mam:~/install/0.5-devel/servers$ ./gnome-globalmenu-applet
    ** Message: <GnomenuGlobalMenu>::switch: key = 0xe02f5c
    ** Message: 17
    ** Message: <GnomenuTools>::sending sms:3, 2F FFFFFFE0 00 00 00 00 00 30 21 37 FFFFFFE2 FFFFFFFF 7F 00 00 FFFFFFB0 FFFFFFAE
    ** Message: <GnomenuGlobalMenu>::switch: key = 0x5600020
    ** Message: 17
    ** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 1F 00 FFFFFFD5 FFFFFF8F 7F 00 00 FFFFFFA0 78
    ** Message: <GnomenuGlobalMenu>::switch: key = 0xe02f5c
    ** Message: 17
    ** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 1F 00 FFFFFFD5 FFFFFF8F 7F 00 00 FFFFFFA0 79


    but i only see the text 'label' on my bar?

    but it's good to see progress

    Felix

    hmm after testing the test/testmenu, i get a menu bar
    so it looks even better.

    so how can i get this to work for ather applications?


    some more testing:

    i noticed i needed qtk-aqd, found that earlier in this forum, but the path won't work, i guess the version is differen, 2.0.2.12.9 instead if 2.0-2.12.0

    could that be the problem?

    Applying patch gtkmenubar.patch
    patching file gtk/gtkmenubar.c
    Hunk #4 succeeded at 263 (offset 127 lines).
    Hunk #5 FAILED at 302.
    1 out of 12 hunks FAILED -- rejects in file gtk/gtkmenubar.c
    Last edited by kinap; July 18th, 2008 at 10:24 PM. Reason: further testing

Page 199 of 299 FirstFirst ... 99149189197198199200201209249 ... 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
  •