author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 27 Sep 2007 06:30:51 +0000 (02:30 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 28 Sep 2007 02:17:00 +0000 (22:17 -0400) | ||
commit | 72a8e81d457a1ee1283817d03d8e28303c2b4e7e | |
tree | 4022e4760b5c5b6d92fe6489d520a6a3ef0e3562 | tree | snapshot |
parent | 1bdd8a153528b539fdaed23c18e87a374b1f3ff8 | commit | diff |
git-gui: Support a native Mac OS X application bundle
If we are building on Darwin (sometimes known as Mac OS X) and we
find the Mac OS X Tk.framework in the expected location we build
a proper Mac OS X application bundle with icons and info list. The
git-gui and git-citool commands are modified to be very short shell
scripts that just execute the application bundle, starting Tk with
our own info list and icon set.
Although the Makefile change here is rather large it makes for a
much more pleasant user experience on Mac OS X as git-gui now has
its own icon on the dock, in the standard tk_messageBox dialogs,
and the application name now says "Git Gui" instead of "Wish" in
locations such as the menu bar and the alt-tab window.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If we are building on Darwin (sometimes known as Mac OS X) and we
find the Mac OS X Tk.framework in the expected location we build
a proper Mac OS X application bundle with icons and info list. The
git-gui and git-citool commands are modified to be very short shell
scripts that just execute the application bundle, starting Tk with
our own info list and icon set.
Although the Makefile change here is rather large it makes for a
much more pleasant user experience on Mac OS X as git-gui now has
its own icon on the dock, in the standard tk_messageBox dialogs,
and the application name now says "Git Gui" instead of "Wish" in
locations such as the menu bar and the alt-tab window.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
.gitignore | diff | blob | history | |
Makefile | diff | blob | history | |
macosx/AppMain.tcl | [new file with mode: 0644] | blob |
macosx/Info.plist | [new file with mode: 0644] | blob |
macosx/git-gui.icns | [new file with mode: 0644] | blob |