Re: [Vala][Styling] Dark variant question
- From: Filip Lamparski <matka poohatka gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: [Vala][Styling] Dark variant question
- Date: Fri, 22 Jun 2012 11:29:23 +0100
Hello,
I'm writing an application which allows users to apply various filters
to images and share them to social networks. I would like it to use the
dark theme variant, like Totem or EOG. I tried looking at EOG code to
figure it out, but no dice.
I figured something out, and it's mostly working, except for the window
decoration.
Code:
var darkprovider =
CssProvider.get_named(this.get_settings().gtk_theme_name, "dark");
var winstyle = this.get_style_context();
winstyle.add_provider_for_screen(this.screen,
darkprovider,STYLE_PROVIDER_PRIORITY_APPLICATION);
My question is, how can I get proper window decoration for this theme?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]