Page 201 of 299 FirstFirst ... 101151191199200201202203211251 ... LastLast
Results 2,001 to 2,010 of 2990

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

  1. #2001
    Join Date
    Jun 2008
    Beans
    23

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

    Quote Originally Posted by rainwoodman View Post
    What it does: forward _class_init and _init to libgnomenu if founded.


    well onto testing again.

    can you tell me what:

    @@ -119,6 +175,16 @@

    in the patch file mean?

    can follow the most of it, but this is unknown to me.

    Felix


    well i managed to compile it, but i end up with a bunch of new deb files.
    what one should i install?

    Felix


    well i installed them all, logged back in.

    and the only thing i see is that my menus in the applications are getting another color, not getting them out on the bar.

    and now you test/testmenubar won't do anything anymore.
    Last edited by kinap; July 20th, 2008 at 09:53 PM.

  2. #2002
    Join Date
    Dec 2007
    Beans
    290

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

    Quote Originally Posted by kinap View Post
    well onto testing again.

    can you tell me what:

    @@ -119,6 +175,16 @@

    in the patch file mean?

    can follow the most of it, but this is unknown to me.

    Felix


    well i managed to compile it, but i end up with a bunch of new deb files.
    what one should i install?

    Felix


    well i installed them all, logged back in.

    and the only thing i see is that my menus in the applications are getting another color, not getting them out on the bar.

    and now you test/testmenubar won't do anything anymore.
    Hi Felix, I don't see that line in the patch. Here is the most recent patch(the one working on my computer):

    http://gnome2-globalmenu.googlecode....gtk2-aqd.patch

    If you get some debs, the gtk2 one is supposed to be used.

    Yu

  3. #2003
    Join Date
    Jun 2008
    Beans
    23

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

    Quote Originally Posted by rainwoodman View Post
    Hi Felix, I don't see that line in the patch. Here is the most recent patch(the one working on my computer):

    http://gnome2-globalmenu.googlecode....gtk2-aqd.patch

    If you get some debs, the gtk2 one is supposed to be used.

    Yu

    hmm thats a lot better
    i was getting the patch from this thread.

    it works a bit when i start a new gnome-terminal.
    i get the menu in my bar

    but when i go switch in and out of the gnome-terminal (that has a visible menu in the top bar, not in the application):


    (lt-gnome-globalmenu-applet:17843): GLib-GObject-WARNING **: IA__g_object_new_valist: object class `GtkMenuBar' has no property named `is-global-menu'
    ** Message: no such property show-arrow
    ** Message: <GnomenuGlobalMenu>::switch: key = 0x4c00020
    ** Message: 17
    ** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 5F 20 FFFFFFAF FFFFFFC8 7F 00 00 30 FFFFFFFE

    (lt-gnome-globalmenu-applet:17843): GLib-GObject-WARNING **: IA__g_object_new_valist: object class `GtkMenuBar' has no property named `is-global-menu'
    Segmentation fault



    Felix
    Last edited by kinap; July 21st, 2008 at 08:06 AM.

  4. #2004
    Join Date
    Dec 2007
    Beans
    290

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

    Quote Originally Posted by kinap View Post
    hmm thats a lot better
    i was getting the patch from this thread.

    it works a bit when i start a new gnome-terminal.
    i get the menu in my bar

    but when i go switch in and out of the gnome-terminal (that has a visible menu in the top bar, not in the application):


    (lt-gnome-globalmenu-applet:17843): GLib-GObject-WARNING **: IA__g_object_new_valist: object class `GtkMenuBar' has no property named `is-global-menu'
    ** Message: no such property show-arrow
    ** Message: <GnomenuGlobalMenu>::switch: key = 0x4c00020
    ** Message: 17
    ** Message: <GnomenuTools>::sending sms:3, 00 00 00 00 00 00 00 FFFFFF95 5F 20 FFFFFFAF FFFFFFC8 7F 00 00 30 FFFFFFFE

    (lt-gnome-globalmenu-applet:17843): GLib-GObject-WARNING **: IA__g_object_new_valist: object class `GtkMenuBar' has no property named `is-global-menu'
    Segmentation fault



    Felix
    There was a lot of fixes during these days. The Segmentation fault is something unrelated to the warnings.
    I think both are fixed in the latest svn. Would you have a try?

    Seriously, I am considering moving these to the trunk.

  5. #2005
    Join Date
    Jun 2008
    Beans
    23

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

    Quote Originally Posted by rainwoodman View Post
    There was a lot of fixes during these days. The Segmentation fault is something unrelated to the warnings.
    I think both are fixed in the latest svn. Would you have a try?

    Seriously, I am considering moving these to the trunk.

    sure, i will.

    still the 05 trunk?

    and if so, then alas.

    testglobal.o testglobal.c
    testglobal.c: In function ‘main’:
    testglobal.c:14: warning: assignment from incompatible pointer type
    testglobal.c:15: error: ‘GnomenuGlobalMenu’ has no member named ‘auto_switch’
    testglobal.c:16: warning: assignment from incompatible pointer type
    testglobal.c:17: warning: passing argument 1 of ‘gtk_container_add’ from incompatible pointer type
    testglobal.c:17: warning: passing argument 2 of ‘gtk_container_add’ from incompatible pointer type
    testglobal.c:18: warning: passing argument 1 of ‘gtk_container_add’ from incompatible pointer type
    testglobal.c:18: warning: passing argument 2 of ‘gtk_container_add’ from incompatible pointer type
    make[2]: *** [testglobal.o] Error 1
    make[2]: Leaving directory `/home/felix/install/0.5-devel/test'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/felix/install/0.5-devel'
    make: *** [all] Error 2


    Felix


    well after removing test from the Makefile

    i can run make
    and it won't crash anymore, but i don't have any menu either.

    so one step forward one step back

    Felix

    the test from the older version, does work again :S
    getting wierder and wierder lol
    Last edited by kinap; July 21st, 2008 at 02:58 PM.

  6. #2006
    Join Date
    Jun 2008
    Beans
    23

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

    Quote Originally Posted by kinap View Post
    i can run make
    and it won't crash anymore, but i don't have any menu either.
    SUCCESS

    after rebooting. cause my top bar was acting wierd.
    it suddenly works

    Good show

    now all is left is making it better looking

    cause having the text label on my bar is a bit wierd

    Felix

    hmm i'm sure i had edited this message:S

    with gnome-terminal it crashes if you go trough the menus, a few menu's pop up, but suddenly i get this error and it stops working, at least for a while, then it picks up again

    (lt-gnome-globalmenu-applet:7724): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
    Last edited by kinap; July 21st, 2008 at 03:39 PM.

  7. #2007
    Join Date
    Dec 2007
    Beans
    290

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

    Quote Originally Posted by kinap View Post
    SUCCESS

    after rebooting. cause my top bar was acting wierd.
    it suddenly works

    Good show

    now all is left is making it better looking

    cause having the text label on my bar is a bit wierd

    Felix

    hmm i'm sure i had edited this message:S

    with gnome-terminal it crashes if you go trough the menus, a few menu's pop up, but suddenly i get this error and it stops working, at least for a while, then it picks up again

    (lt-gnome-globalmenu-applet:7724): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
    I know why this happens but I don't have time to fix it.
    Just try epiphany and click 'Bookmarks'. It should be either a crash or no bookmarks at all.

    It is because the popup menu is rebuilt while it is active. It happens in the application that build the popup menu on-the-fly.

    The possible way to solve it is to implement a partial update routine; if the popup menu is modified(menu item is added or removed), the partial update modifies the direct parent involved(the popup menu here). Because only children are added or removed, the popup menu keeps realized during the emission. If all the events are dealt by the popup menu(very likely to be true), the problem can be solved.

    Yu

    BTW: I did a cross-merge from 0.5-devel to trunk.
    Thereafter trunk has updated to 0.5; the old trunk's backup is at branches/0.4

    All new development will be committed to trunk(the true trunk, svn/trunk). branches/0.5-devel is abandoned.
    Last edited by rainwoodman; July 21st, 2008 at 07:38 PM. Reason: grammar

  8. #2008
    Join Date
    Dec 2007
    Beans
    290

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

    Quote Originally Posted by kinap View Post
    SUCCESS

    now all is left is making it better looking

    cause having the text label on my bar is a bit wierd

    Felix
    You can hide the label by editing the GnomenuServerApplet.glade; Don't use glade-3 editor, use a text-editr; glade-editor will screw you from the back by removing the GnomenuGlobalMenu widget silently.

    GLADE is awesome at some points isn't it.

    The testglobal problem is fixed.

    Check it out at
    http://gnome2-globalmenu.googlecode.com/svn/trunk

    Yu
    Last edited by rainwoodman; July 21st, 2008 at 07:41 PM.

  9. #2009
    Join Date
    Jun 2008
    Beans
    23

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

    wierd i changed label to Menu:

    and now it show nothing lol.

    well that will do for now.

    Felix

    and thanks again for helping this work.

  10. #2010
    Join Date
    Jul 2008
    Location
    Sofia, Bulgaria
    Beans
    23
    Distro
    Ubuntu 8.04 Hardy Heron

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

    Can someone please make one thread with all the current necessary files for hardy and explane what exactly to do.I cant read all 200 pages.
    Last edited by BEaSTFX; July 24th, 2008 at 02:10 PM.

Page 201 of 299 FirstFirst ... 101151191199200201202203211251 ... 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
  •