Gnus development mailing list
 help / color / mirror / Atom feed
* gmm-tool-bar-style (was: svn icons in the toolbar)
       [not found]                                       ` <m2odgg4ql4.fsf@cam.ac.uk>
@ 2007-09-26 20:11                                         ` Reiner Steib
  0 siblings, 0 replies; only message in thread
From: Reiner Steib @ 2007-09-26 20:11 UTC (permalink / raw)
  To: Leo; +Cc: Gnus, emacs-devel

On Thu, Sep 02 2007, Leo wrote:
> Have you noticed that the tool-bar in Gnus's article buffer, summary
> buffer and message buffer has gone back to using the old-fashioned icons
> or missing a couple of icons. See:
[ Screen shots, see http://article.gmane.org/gmane.emacs.devel/77591 ]

On Thu, Sep 06 2007, Leo wrote:
> My Emacs was installed from a fresh CVS check out on the first build
> which you can see from 23.0.50.1.
>
> Toobar and menubar are initially disabled.
> Emacs.menuBar: 0
> Emacs.toolBar: 0

[ -xrm 'Emacs.toolBar:0' ]

> Turn on tool-bar-mode and switch to gnus buffers and you can see the
> weird tool-bar shown up.

I think similar problems appear with Emacs 22.1.  

Maybe the bug is the default value of `gmm-tool-bar-style':

--8<---------------cut here---------------start------------->8---
(defcustom gmm-tool-bar-style
  (if (and (boundp 'tool-bar-mode)
	   tool-bar-mode
	   (and (fboundp 'display-visual-class)
		(not (memq (display-visual-class)
			   (list 'static-gray 'gray-scale
				 'static-color 'pseudo-color)))))
      'gnome
    'retro)
  "Prefered tool bar style."
  :type '(choice (const :tag "GNOME style" gnome)
		 (const :tag "Retro look"  retro))
  :group 'gmm)
--8<---------------cut here---------------end--------------->8---

I don't exactly remember what I had in mind with testing for non-nil
`tool-bar-mode'.  Could you try the following patch?

--8<---------------cut here---------------start------------->8---
--- gmm-utils.el	27 Apr 2007 10:39:17 +0200	7.33
+++ gmm-utils.el	26 Sep 2007 22:01:11 +0200	
@@ -208,7 +281,6 @@
 
 (defcustom gmm-tool-bar-style
   (if (and (boundp 'tool-bar-mode)
-	   tool-bar-mode
 	   (and (fboundp 'display-visual-class)
 		(not (memq (display-visual-class)
 			   (list 'static-gray 'gray-scale
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-26 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m31wedpolf.fsf@kurono.home>
     [not found] ` <E1ILpku-0002ZE-Vq@fencepost.gnu.org>
     [not found]   ` <m3r6m1cbie.fsf@kurono.home>
     [not found]     ` <E1IMYun-0005Ct-R5@fencepost.gnu.org>
     [not found]       ` <m3bqd3d7nu.fsf@kurono.home>
     [not found]         ` <E1IMtIB-0005Kh-8i@fencepost.gnu.org>
     [not found]           ` <m3tzqublhz.fsf@kurono.home>
     [not found]             ` <E1INUzF-0004Xv-FV@fencepost.gnu.org>
     [not found]               ` <m38x859bnn.fsf@kurono.home>
     [not found]                 ` <ipir785hs8.fsf@fencepost.gnu.org>
     [not found]                   ` <m2tzqiz4oj.fsf_-_@cam.ac.uk>
     [not found]                     ` <46D650E5.1030402@swipnet.se>
     [not found]                       ` <m21wdhadrs.fsf@cam.ac.uk>
     [not found]                         ` <46DA7312.4020205@swipnet.se>
     [not found]                           ` <m2wsv98mhc.fsf@cam.ac.uk>
     [not found]                             ` <46DABAC3.10708@swipnet.se>
     [not found]                               ` <m2ir6t40s6.fsf@cam.ac.uk>
     [not found]                                 ` <46DADA1C.7060201@swipnet.se>
     [not found]                                   ` <m23axx3vly.fsf@cam.ac.uk>
     [not found]                                     ` <46DAF2C0.8060501@swipnet.se>
     [not found]                                       ` <m2odgg4ql4.fsf@cam.ac.uk>
2007-09-26 20:11                                         ` gmm-tool-bar-style (was: svn icons in the toolbar) Reiner Steib

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).