Re: [Vala][Styling] Dark variant question



hi;

On 22 June 2012 11:23, Filip Lamparski <matka poohatka gmail com> wrote:
My question is, how do I fix this, so that all widgets use the dark variant,
including window decoration?

the code is wrong. you have to let the toolkit and the window manager
know about this setting, not load the theme.

the correct code is:

  var settings = Gtk.Settings.get_default();
  settings.gtk_application_prefer_dark_theme = true;

ciao,
 Emmanuele.

-- 
W: http://www.emmanuelebassi.name
B: http://blogs.gnome.org/ebassi/



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