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 668017 - Patch for Mac OS integration
Patch for Mac OS integration
Product: planner
Classification: Other
Component: General
Other Mac OS
: Normal enhancement
: 0.15
Assigned To: planner-maint
: 668031 (view as bug list)
Depends on:
Reported: 2012-01-16 14:34 UTC by Thibaut Paumard
Modified: 2021-06-09 20:46 UTC
See Also:
GNOME target: ---
GNOME version: ---

OSX integration patch (19.38 KB, patch)
2012-01-16 14:34 UTC, Thibaut Paumard
none Details | Review

Description Thibaut Paumard 2012-01-16 14:34:24 UTC
Created attachment 205364 [details] [review]
OSX integration patch


I have built successfully Planner with the Quartz GDK backend (cf. ).

I have patched the code for better integration. The patch uses GtkOSXApplication. It does the following:

- check whether the target is Quartz and the gtk-mac-integration package is installed. In this case, set the MAC_INTEGRATION et al. variable.

- take the GTK_MAC_* variables into account.

- wrapper script useful for compiling with jhbuild. Calls from gnome-common.

- src/planner-main.c, planner-window.*, planner-*-view.c:

1) move the application menu bar to the top of the screen;
2) use Mac OS standard menu accelerators (e.g. Cmd-O for File > Open instead of F3, Cmd-N instead of Ctrl-N for New project...)
3) connect to the Mac OS signals for opening files (from the Finder) and quitting the application (Cmd-Q).

The changes are protected by "#ifdef MAC_INTEGRATION", so they should have 0 effect on unrelated builds.

The patch is attached, it would be great if you could merge it in the main tree.

In addition, it would also be great if you could distribute or advertise the binary package available on my website. Alternatively, I could also set-up a sourceforge project for "GNOME Panner OSX".

Regards, Thibaut.
Comment 1 Thibaut Paumard 2012-01-16 16:31:13 UTC
*** Bug 668031 has been marked as a duplicate of this bug. ***
Comment 2 GNOME Infrastructure Team 2021-06-09 20:46:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: