[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gap-dev-discuss] Use NSToolbarPrintItemIdentifier in GNUMails MessageVi
From: |
Sebastian Reitenbach |
Subject: |
[Gap-dev-discuss] Use NSToolbarPrintItemIdentifier in GNUMails MessageViewWindowToolbar |
Date: |
Sun, 02 Sep 2012 14:40:56 +0200 |
User-agent: |
GNUMail (Version 1.2.0) |
Hi,
attached patch will use the NSToolbarPrintItemIdentifier also with
GNUstep.
The icon is shows up when opening a message in a single window.
The icon used by the NSToolbarPrintItemIdentifier is also a bit nicer
I think ;)
In GNUMail.m, the method printDocument: needs to be added, to be able
to use the
NSToolbarPrintItemIdentifier, since in NSToolarItem.m, in
GSToolbarPrintItem,
the selector printDocument: is defined to be used.
I did not renamed the printMessage method in GNUMail.m, since this is
still
used in the MainMenu.nib. Instead of the comment, a #warning could be
added, to better point out that at some point in time this nib needs
to be
changed in order to rename the printMessage to printDocument, and use
printDocument everywhere.
Since the NSToolbarPrintItemIdentifier is used on the MAC, I still
wonder how
the printing is triggered there?
OK?
<useNSToolbarPrintItemIdentifier.diff>
useNSToolbarPrintItemIdentifier.diff
Description: Binary data
- [Gap-dev-discuss] Use NSToolbarPrintItemIdentifier in GNUMails MessageViewWindowToolbar,
Sebastian Reitenbach <=