After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 554240 - Use the Mac OS X menubar when built with GTK+/Quartz
Use the Mac OS X menubar when built with GTK+/Quartz
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other All
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2008-09-29 00:28 UTC by W. Michael Petullo
Modified: 2008-12-16 21:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add support for using Mac OS X menu when ige-mac-integration library is installed (4.83 KB, patch)
2008-12-08 01:50 UTC, W. Michael Petullo
none Details | Review

Description W. Michael Petullo 2008-09-29 00:28:16 UTC
I have been working on building gthumb using GTK+/Quartz (no X11) [1].

A developer at Imendio has written a function that allows GTK+/Quartz
applications to use the Mac OS X menubar [2]. 

The steps I take to build gthumb using GTK+/Quartz are documented at [3].

For reference, Inkscape uses the Imendio Mac OS X menu library, though they
include ige-mac-menu.c and ige-mac-menu.h directly in their source tree.

[1] http://developer.imendio.com/projects/gtk-macosx
[2] http://developer.imendio.com/projects/gtk-macosx/integration
[3] http://flyn.org/apple/
Comment 1 Michael Chudobiak 2008-10-08 19:22:43 UTC
Interesting!

But is this basically a duplicate of bug 551225, or do you need something else?

- Mike
Comment 2 W. Michael Petullo 2008-10-08 23:07:44 UTC
Bug #551225 is related to building gthumb on Mac OS X with GTK/Quartz. This bug is a RFE for integration with the Mac OS X menubar.

Without the Imendio code mentioned above, GTK/Quartz applications on Mac OS each have their own menubar within their window. Mac OS X has a universal menubar that is at the top of the screen. Using the Imendio code allows GTK/Quartz applications to use the universal menubar.
Comment 3 Michael Chudobiak 2008-11-12 19:18:20 UTC
What exact do you want from gthumb?

If the imendio code is released as a library, feel free to submit a patch that lets us use it.

I don't think we want to cut-and-paste the imendio code into gthumb. It would be poorly maintained by gthumb developers. We need a library.

- Mike
Comment 4 W. Michael Petullo 2008-12-08 01:50:04 UTC
Created attachment 124134 [details] [review]
Patch to add support for using Mac OS X menu when ige-mac-integration library is installed
Comment 5 Michael Chudobiak 2008-12-16 15:38:36 UTC
I have committed a modified version of the patch to gthumb-2-10 and trunk. Please test and report back.

Also, I have to fix the earlier mac-related patch. "HAVE_GDKX" wasn't actually properly defined in configure.in with "AC_DEFINE"...

- Mike
Comment 6 W. Michael Petullo 2008-12-16 21:54:08 UTC
The menu code that is now in trunk worked fine for me.