Re: EasyTAG on OS X
- From: Tony Young <tony rfw name>
- To: Tony Young <tony rfw name>, easytag-list gnome org
- Subject: Re: EasyTAG on OS X
- Date: Mon, 19 Aug 2013 14:54:59 +1200
Hi David,
On Mon, 19 Aug 2013 00:10 AM, David King <amigadave amigadave com> wrote:
Hi Tony
On 2013-08-18 22:33, Tony Young <tony rfw name> wrote:
On Sun, Aug 18, 2013 at 9:23 PM, David King <amigadave amigadave com> wrote:
That does not seem to be true, as the GtkApplication documentation shows Mac
OS X menu integration:
https://developer.gnome.org/gtk3/stable/GtkApplication.html#GtkApplication.description
Presumably, the GTK+ application menu is used as the menu structure for the
application menu in OS X.
Ah, I wasn't aware of that. I've mostly been looking at the
GtkosxApplication documentation[1] which doesn't mention anything
about GtkApplication. I'll take a look into it -- I haven't really
worked with GTK before and I just wanted to get something running
natively on OS X, so sorry for all the futzing around!
I think that with GtkApplication, it might be possible to avoid ifdefs
entirely, although I am not sure about the Help menu.
The documentation seems to be pretty skimpy on this and from the looks
of it GTK+ 3 doesn't seem to support them. There seems to be some
discussion about the searchable OS X Help menu in this thread[1] but
it's pretty dead-ended.
1. https://mail.gnome.org/archives/gtk-devel-list/2011-December/msg00061.html
Note that only GTK+ 3.4 and above has GtkApplication support, and if
switching EasyTAG to use GTK+ 3 only, I think that GTK+ 3.4 should be the
target, as that is the GTK+ version in Debian stable. EasyTAG 2.1.9 (the next
release) will still be compatible with GTK+ 2, so it might be best to
experiment with GTK+ 3 porting in a branch, with a view to switching to GTK+
3 only after 2.1.9 has been released.
As I said previously, I am happy to do most of the GTK+ 3 porting work,
especially the more invasive GAction and GMenu changes, as I am quite
familiar with the changes that are required. For some background reading,
there is a guide of the concepts and some implementation examples on the
GNOME wiki:
https://wiki.gnome.org/HowDoI/ApplicationMenu
I'll try compile a GTK+ 3 application to check if the figure menu
behaves appropriately on OS X without requiring gtk-mac-integration.
I'll keep an eye on the repo and try building for OS X again when
EasyTAG fully moves to `GtkApplication`.
Tony
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]