Re: App Icons

From: Marek Černocký <marek(at)manet(dot)cz>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: App Icons
Date: 2014-12-16 11:53:14
Message-ID: 1418730794.2559.12.camel@manet.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html

Essentials:

- Install icons to
/BUILD_ROOT/DATA_DIR/icons/hicolor/SIZE_SPEC/apps/pgadmin3.PNG|SVG
(same parts of path may be distribution specific)

- Use "Icon=pgamdmin3" in pgadmin3.desktop - desktop shell, e.g. GNOME,
KDE..., select itself suitable icon version from paths mentioned above.

Currently only one icon version is installed and used (mostly old icon
pgadmin3.xpm). See pkg/debian/pgadmin3.install,
pkg/suse/pgadmin3.spec.in... Some distributions added other own icons
outside official source code. It would nice prepare unified resources
for all Linux and *nix distributions. It includes some other changes, I
will post them separately.

Dave Page píše v Út 16. 12. 2014 v 09:42 +0000:
>
>
> On Tue, Dec 16, 2014 at 9:35 AM, Marek Černocký <marek(at)manet(dot)cz>
> wrote:
> Dave Page píše v Po 15. 12. 2014 v 16:39 +0000:
> > Hi
> >
> > On Sun, Dec 14, 2014 at 3:56 PM, Marek Černocký
> <marek(at)manet(dot)cz>
> > wrote:
> > pgAdmin's icons have low quality and are not fully
> ready for
> > hi-dpi
> > monitors. Icon for Linux app is only low res and has
> pure
> > quality (see
> > attachment screenshot.png). Icon for Windows app is
> probably
> > generated
> > from a jpeg and so it has some artefacts (see
> attachment
> > zoomed.png).
> >
> > I generated new app icons set (see attachment
> icons.zip):
> > Windows icon - it's clean and has 256px variant
> > OS X icon - it has added 1024px variant
> > Linux icons - new set with various sizes inc.
> scalable variant
> >
> >
> >
> > Cool, thanks. I've updated all the existing icons, and added
> the new
> > sized PNGs to the include/images directory alongside the
> rest.
>
> It should be updated packages specifications
>
>
> What do you mean?
>
> and pgamdin3.desktop file
> in /pkg to reflect this new icons.
>
>
> The new icons were given the same names as the old ones. Do we need to
> add entries to the desktop file for multiple image sizes? If so, do
> you know what they should look like?
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2014-12-16 12:58:20 Re: App Icons
Previous Message Dave Page 2014-12-16 09:42:38 Re: App Icons