[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome
Subject:    Re: How to determine which icon set is used
From:       cyberpython <cyberpython () gmail ! com>
Date:       2009-01-11 11:31:48
Message-ID: 4969D8A4.3010102 () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


O/H Shaun McCance έγραψε:
> On Wed, 2009-01-07 at 17:43 +0200, cyberpython wrote:
>   
>> Hi,
>> I would like to ask if there is a way (e.g. a settings file) to
>> determine the name of the current icon theme (e.g. Oxygen-Refit) apart
>> from the gconf command line tool.
>>
>> (Note: I am interested to determine the icon-theme name programmatically
>> within Java code, so I cannot use methods involving GUI tools.)
>>     
>
> You could look for the "Net/IconThemeName" XSetting.
>
> http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html
>
> --
> Shaun
>
>
>
>   

If anyone is interested, I found a Perl script that does exactly that
and using this script as a guide I came up with the followong code in
Java (thet text above the code is in Greek but it really says nothing of
great importance):
http://cyberpython.wordpress.com/2009/01/10/java-de-info/


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-7" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
O/H Shaun McCance έγραψε:
<blockquote cite="mid:1231346249.6880.1.camel@shaunmlx" type="cite">
  <pre wrap="">On Wed, 2009-01-07 at 17:43 +0200, cyberpython wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,
I would like to ask if there is a way (e.g. a settings file) to
determine the name of the current icon theme (e.g. Oxygen-Refit) apart
from the gconf command line tool.

(Note: I am interested to determine the icon-theme name programmatically
within Java code, so I cannot use methods involving GUI tools.)
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You could look for the "Net/IconThemeName" XSetting.

<a class="moz-txt-link-freetext" \
href="http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html">http://standards.freedesktop.org/xsettings-spec/xsettings-spec-0.5.html</a>


--
Shaun



  </pre>
</blockquote>
<br>
If anyone is interested, I found a Perl script that does exactly that
and using this script as a guide I came up with the followong code in
Java (thet text above the code is in Greek but it really says nothing
of great importance):<br>
<a class="moz-txt-link-freetext" \
href="http://cyberpython.wordpress.com/2009/01/10/java-de-info/">http://cyberpython.wordpress.com/2009/01/10/java-de-info/</a><br>
 <br>
</body>
</html>



_______________________________________________
gnome-list mailing list
gnome-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic