From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sun Yijiang Newsgroups: gmane.emacs.devel Subject: Re: Feature request - dynamic icon pixmap Date: Wed, 16 Feb 2005 09:37:29 +0800 Message-ID: <5065e2900502151737d1ddde5@mail.gmail.com> References: <5065e29005021422125f7c79a3@mail.gmail.com> <42121FD9.9030404@swipnet.se> Reply-To: Sun Yijiang NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108518117 14579 80.91.229.2 (16 Feb 2005 01:41:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2005 01:41:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 16 02:41:57 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1ECG-0004mp-Vj for ged-emacs-devel@m.gmane.org; Wed, 16 Feb 2005 02:41:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1EPQ-0005ug-J0 for ged-emacs-devel@m.gmane.org; Tue, 15 Feb 2005 20:55:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1EOs-0005rv-FW for emacs-devel@gnu.org; Tue, 15 Feb 2005 20:54:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1EOm-0005o3-Rw for emacs-devel@gnu.org; Tue, 15 Feb 2005 20:54:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1EOm-0005mf-KI for emacs-devel@gnu.org; Tue, 15 Feb 2005 20:54:40 -0500 Original-Received: from [64.233.184.198] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D1E89-0004dn-Ej for emacs-devel@gnu.org; Tue, 15 Feb 2005 20:37:29 -0500 Original-Received: by wproxy.gmail.com with SMTP id 50so10644wri for ; Tue, 15 Feb 2005 17:37:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=WWf1uGTiaeWOwXTzQva0cfGInwX317GrN7BLZSfDnGe++wRXUDIqDt7ph2oKCd8v/mv4kGOdxL0zsKGbLaU4lFU6hYjOb4YosYo6EEfvi0n0/SyREKIK7VhWjLw7e0nRwp91YltwrSrHa4kfyzzSVtnZwqxKf5+x1qV2oybDqjU= Original-Received: by 10.54.38.63 with SMTP id l63mr31086wrl; Tue, 15 Feb 2005 17:37:29 -0800 (PST) Original-Received: by 10.54.13.21 with HTTP; Tue, 15 Feb 2005 17:37:29 -0800 (PST) Original-To: "Jan D." In-Reply-To: <42121FD9.9030404@swipnet.se> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33517 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33517 Yes, I can change the default icon when I create a new frame: (make-frame '((name . "testf") (icon-type . "/path/test.png"))) But I cannot change a frame's icon by modifying its icon-type parameter: (set-frame-parameter my-frame 'icon-type "/path/test2.png") Nothing happens after this under GNOME or KDE That's what I mean by "dynamic". On Tue, 15 Feb 2005 17:14:17 +0100, Jan D. wrote: > Sun Yijiang wrote: > > >GNU Emacs' bitmapicon is a little ugly and not configurable -- that's > >the truth. XEmacs' elisp function x-set-screen-icon-pixmap can change > >program icon dynamically, this is very useful when you're working with > >sevral frames with different major modes -- they can have their own > >icons in the "taskbar". I wonder if this feature is in the TODO list > >of GNU Emacs, If not, I suggest to have it added. > > > > You can set the frame parameter icon-type to a icon file. For the GTK > version the format of the file can be any format supported by GdkPixbuf, > but for other ports of Emacs it must be a bitmap. > > Jan D. > >