From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Add Tango and Adwaita icons for the toolbar Date: Mon, 06 May 2024 14:00:40 +0300 Message-ID: <864jbbcihz.fsf@gnu.org> References: <86plu1g3tu.fsf@gnu.org> <4D93EB52-CBAE-4065-85B8-35590A58D60E@gmail.com> <86v83sesb1.fsf@gnu.org> <87jzk87obv.fsf@yahoo.com> <91EE12D7-F7E4-4C0E-8C60-0118D3ABEBB8@gmail.com> <86edagei8u.fsf@gnu.org> <8FCC59C0-99BC-4F3F-8D2C-A604D994899A@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 06 13:01:59 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s3w6Y-000AGq-Gv for ged-emacs-devel@m.gmane-mx.org; Mon, 06 May 2024 13:01:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3w5q-00024J-BE; Mon, 06 May 2024 07:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3w5i-000231-Ow for emacs-devel@gnu.org; Mon, 06 May 2024 07:01:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3w5h-00034K-LG; Mon, 06 May 2024 07:01:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qVN+OSfcwtM2TJYEMj8t7uEsIrBMpNfOxVgytmAofzw=; b=qrsSXa3/7QkE 7JUWK5gn0Ke6TxzWljx9DSR+WUi4AQwlmFsoWEJNUy0HjrCqO0d0+ymApiUUiH9ezMDjSDffZ/Kt+ NIXunjAdJvgAyvhIcSk5ZKWHhetdiqa/MiRq+1SmxiiocZidVTN52mWvFICRfNxxAcNTxE+4qIY74 UBiXK3U3PF8yR7QQXVthj2DgOM/hz3q7Ae6kYSnQZxnpkQ9uQUSi2m02uOIqpB5CaTYxnUmgBuNI5 NVDKD9VMOBZDPu0wjL30HO+7aIckTfiZ5YK6+/O9beDx98xP3Xomvwl5rN8yJS3O7MflnmD2OShvd fvW2jDKlCKkiPOSs5dLbLA==; In-Reply-To: <8FCC59C0-99BC-4F3F-8D2C-A604D994899A@gmail.com> (message from Yuan Fu on Sun, 5 May 2024 19:58:45 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318881 Archived-At: > From: Yuan Fu > Date: Sun, 5 May 2024 19:58:45 -0700 > Cc: luangruo@yahoo.com, > emacs-devel@gnu.org > > > My point is that if these icons need the tool bar to resize, that will > > have two adverse effects: > > The tool bar keeps its size, and resizes the icons to fit in the tool bar, not the other way around (at least on NS port, on other ports we want to achieve the same effect) How will you do that? Emacs supports image resizing on (almost?) all platforms, but the resize is a relatively expensive and resource-wasteful operation, so I'd prefer to avoid that for displaying tool-bar icons, something that we do frequently enough to wish it to be fast and cheap. So I think having two sets of icons would be preferable (assuming that sizing down the icons you proposed will not hamper their quality, something I do not expect to happen).