Re: Handle an icon theme switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-02-20 at 19:37 +0100, Matteo Landi wrote:
> Hi all
> in an app i'm developing, i ve to be noticed if the icon theme is
> changed in order to reload all the images!

> I thought about a function executed every second which check if the
> current default theme is equal to the old one.

eek.

no need to do that. just connect to the ::changed signal of
GtkIconTheme. you'll get notification when the default icon theme has
been changed, and you can reload the icons from the callback attached to
that signal.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net

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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux