Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B349C96DF for ; Mon, 16 Apr 2012 12:56:58 +0000 (UTC) Received: (qmail 23072 invoked by uid 500); 16 Apr 2012 12:56:58 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 23025 invoked by uid 500); 16 Apr 2012 12:56:58 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 23017 invoked by uid 99); 16 Apr 2012 12:56:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 12:56:58 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jogischmidt@googlemail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 12:56:52 +0000 Received: by dadp12 with SMTP id p12so8361297dad.7 for ; Mon, 16 Apr 2012 05:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=eDQkUebUdxquczVwgHqXkbzedaG8xVmyiLEDszXsnWU=; b=aOZ36pKpFLco/1rYfsa3ihlTyAVJHIS4PAVVH+/sr3QTFQ3oBFKxzEvVxIp1dBcMpW wiS/yOyh6J8rrU/bySZmn7wIVi+4RK67uBfWRzyBZzbF1bs0VJhoBLm0wjBYX7CONPbw IkC97S0pnCj8kHOtxWFmP0J+7qNCcezFZARGsTQqYRBxw6YxZ95PuMKKL/uAIr0YskbU pksEiCHwDfHHPR3lPE/sb2/Pjj+OGK+j+Bvvua7AM8bokNuHzulQtCWDOdQau9SHBoCW 5Ge0ggiihV/t2DOOMLHM3U2DWMXDbayjHKVErN9Tduku3X8r1Z8jI4SFZnKASWYkm0PM hE+Q== Received: by 10.68.212.130 with SMTP id nk2mr24890647pbc.166.1334580991909; Mon, 16 Apr 2012 05:56:31 -0700 (PDT) Received: from [10.5.22.197] ([219.141.184.162]) by mx.google.com with ESMTPS id va9sm11538429pbc.66.2012.04.16.05.56.29 (version=SSLv3 cipher=OTHER); Mon, 16 Apr 2012 05:56:30 -0700 (PDT) Message-ID: <4F8C16F7.9060800@googlemail.com> Date: Mon, 16 Apr 2012 14:56:23 +0200 From: =?ISO-8859-1?Q?J=FCrgen_Schmidt?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: Cannot select a different icon set References: <4F8369D1.3040003@apache.org> <20120415183301.GA26110@localhost> <4F8B441E.3000108@apache.org> <20120416020633.GB22611@localhost> <4F8B8842.5000006@apache.org> <20120416040855.GC31544@localhost> <4F8BAB95.7090606@apache.org> <20120416100656.GB17087@localhost> In-Reply-To: <20120416100656.GB17087@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 4/16/12 12:06 PM, Ariel Constenla-Haile wrote: > Hi Pedro, > > On Mon, Apr 16, 2012 at 12:18:13AM -0500, Pedro Giffuni wrote: >>> IMHO we shouldn't remove anything, on the contrary we should revert all >>> changes: the list of icon styles is filled in the constructor of >>> OfaViewTabPage. Ultimately, the existence of an icon set is checked on >>> bool ImplImageTree::checkStyle(rtl::OUString const& style) so that >>> non-existent icon styles are removed from the list box. >>> >>> IMO we should keep all the list as it was before, with all icon styles, >>> so that the user can install by herself/himself the ones AOO can't ship >>> due to license issues. >>> >>> This means reverting changes in >>> ::rtl::OUString StyleSettings::ImplSymbolsStyleToName( sal_uLong nStyle ) const >>> sal_uLong StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString&rName ) const >>> sal_uLong StyleSettings::GetAutoSymbolsStyle() const >>> >>> and some other places. >> >> That is not a bad idea, but still that would mean changing again the menus >> to bring back the Crystal icons, which would not be there by default. > > Bringing back the string item list as it was before, will imply > translation work, so it must be done on trunk after AOO340 is branched. > >> At the very least the crystal and Tango icons should be left towards >> the end of the list and not in the middle as they were originally. > > Why? The order on the list box has to do with the constants order. If > the icon set is not present, the corresponding list box item is removed > at runtime, in the constructor of OfaViewTabPage. > > > Regards I think we will move forward with the RC as proposed and will fix/cleanup this asap. But we should in the future be more careful and communicate clearly the consequences of such changes. And building and testing before we commit such changes will probably also help to get an overview if it works as expected and if all necessary places are changed. Related to the icon sets we should think about some better or general approach to introduce some themeing mechanism. Juergen