Gnus development mailing list
 help / color / mirror / Atom feed
* Toolbar additions?
@ 2002-01-10  4:19 Karl Kleinpaste
  2002-01-19 21:19 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Kleinpaste @ 2002-01-10  4:19 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

I'd like to see this happen to the toolbars:
1. Put a "save" button in the *Group* toolbar
   (borrowing the usual floppy-disc-looking icon)
2. Put a "print" button in the *Summary* toolbars
   (borrowing the main toolbar's printer icon)
3. Put a "delete" button in the mail *Summary* toolbar
   (borrowing the "cancel" icon from the news *Summary* toolbar)

The first and last of these are no-brainers.  But the "print" thing,
which I began to want quite a lot a couple months back, required that
I pick up an icon to copy into Gnus' toolbar glyph directory.

Is there a better way to do such a thing, so that if foo.xbm is not
found in Gnus' toolbar area, it will be found in the mail toolbar area?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: xmas.diff --]
[-- Type: text/x-patch, Size: 1462 bytes --]

--- lisp/gnus-xmas.el.orig	Wed Jan  9 23:07:58 2002
+++ lisp/gnus-xmas.el	Sun Jan  6 21:45:56 2002
@@ -555,6 +555,8 @@
     [gnus-group-unsubscribe gnus-group-unsubscribe t "Unsubscribe group"]
     [gnus-group-subscribe gnus-group-subscribe t "Subscribe group"]
     [gnus-group-kill-group gnus-group-kill-group t "Kill group"]
+    ; icon below borrowed from summary mode.
+    [gnus-summary-mail-save gnus-group-save-newsrc t "Save .newsrc files"]
     [gnus-group-exit gnus-group-exit t "Exit Gnus"])
   "The group buffer toolbar.")
 
@@ -582,6 +584,9 @@
      gnus-summary-save-article-file t "Save article in file"]
     [gnus-summary-save-article
      gnus-summary-save-article t "Save article"]
+    ; icon below borrowed from main toolbar.
+    [printer-cap
+     gnus-summary-print-article t "Print article"]
     [gnus-uu-post-news
      gnus-uu-post-news t "Post a uuencoded article"]
     [gnus-summary-cancel-article
@@ -612,6 +617,12 @@
      gnus-summary-save-article-file t "Save article in file"]
     [gnus-summary-save-article
      gnus-summary-save-article t "Save article"]
+    ; icon below borrowed from main toolbar.
+    [printer-cap
+     gnus-summary-print-article t "Print article"]
+    ; icon below borrowed from regular summary toolbar.
+    [gnus-summary-cancel-article
+     gnus-summary-delete-article t "Delete message"]
     [gnus-summary-catchup
      gnus-summary-catchup t "Catchup"]
     [gnus-summary-catchup-and-exit

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Toolbar additions?
  2002-01-10  4:19 Toolbar additions? Karl Kleinpaste
@ 2002-01-19 21:19 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-01-19 21:19 UTC (permalink / raw)


Karl Kleinpaste <karl@charcoal.com> writes:

> The first and last of these are no-brainers.  But the "print" thing,
> which I began to want quite a lot a couple months back, required that
> I pick up an icon to copy into Gnus' toolbar glyph directory.
>
> Is there a better way to do such a thing, so that if foo.xbm is not
> found in Gnus' toolbar area, it will be found in the mail toolbar area?

Well, we could just copy the icon over.

But how does the toolbar find the icons anyway?  There should be a
`look-through-all-the-etc-directories' function that would work along
the same lines of the `load-library' function -- use the `load-path'
to pick out the precedence. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-19 21:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-10  4:19 Toolbar additions? Karl Kleinpaste
2002-01-19 21:19 ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).