Обсуждение: pgAdmin Icons
I'm currently integrating pgAdmin into JDS menu (gnome) and I'm looking
for pgAdmin icon. Is there any official icon 48x48 and .desktop file?
Thanks Zdenek
Hi,
On Fri, 2008-01-25 at 18:26 +0100, Zdenek Kotala wrote:
> I'm currently integrating pgAdmin into JDS menu (gnome) and I'm
> looking for pgAdmin icon. Is there any official icon 48x48
> and .desktop file?
For icon, see pkg/debian/pgadmin3.xpm
In the RPMs, we are generating the desktop file with this (the macros
are expanded automagically):
desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
--add-category X-Fedora\
--add-category Application\
--add-category Development\
./pkg/%{name}.desktop
and its output is:
================================================
[Desktop Entry]
Encoding=UTF-8
Name=pgAdmin III
Exec=/usr/bin/pgadmin3
Icon=/usr/share/pgadmin3/pgadmin3.xpm
Type=Application
Categories=Application;Development;X-Fedora;
MimeType=text/html;
DocPath=/usr/share/pgadmin3/docs/en_US/index.html
Comment=PostgreSQL Tools
X-Desktop-File-Install-Version=0.13
================================================
-HTH.
Regards,
--
Devrim GÜNDÜZ , RHCE
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
Вложения
Thanks Devrim,
Are there any translation for Comment? Maybe it would be good give this
text to translators.
Thank you very much
Zdenek
Devrim GÜNDÜZ wrote:
> Hi,
>
> On Fri, 2008-01-25 at 18:26 +0100, Zdenek Kotala wrote:
>> I'm currently integrating pgAdmin into JDS menu (gnome) and I'm
>> looking for pgAdmin icon. Is there any official icon 48x48
>> and .desktop file?
>
> For icon, see pkg/debian/pgadmin3.xpm
>
> In the RPMs, we are generating the desktop file with this (the macros
> are expanded automagically):
>
> desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
> --add-category X-Fedora\
> --add-category Application\
> --add-category Development\
> ./pkg/%{name}.desktop
>
> and its output is:
>
> ================================================
> [Desktop Entry]
> Encoding=UTF-8
> Name=pgAdmin III
> Exec=/usr/bin/pgadmin3
> Icon=/usr/share/pgadmin3/pgadmin3.xpm
> Type=Application
> Categories=Application;Development;X-Fedora;
> MimeType=text/html;
> DocPath=/usr/share/pgadmin3/docs/en_US/index.html
> Comment=PostgreSQL Tools
> X-Desktop-File-Install-Version=0.13
> ================================================
>
> -HTH.
>
> Regards,