GNOME Bugzilla – Bug 758294
ship your own css
Last modified: 2018-03-26 15:50:43 UTC
Instead of hoping for the theme to come through with good colors for random style classes and states, I would suggest that glade should just ship a bit of CSS like this:
Of course, the drawing code in glade-design-layout.c will need some adjustments.
Created attachment 317242 [details] [review]
Ship css for GladeDesignLayout
This makes the frames visible with GTK+ 3.19. Further improvements
are possible: Could load different CSS depending on color.
Review of attachment 317242 [details] [review]:
I tried it and it works here, but has one problem.
You have added the calls which load the CSS to main.c, but as this
is specific to the GladeDesignLayout/View... it would be better to
add this in the class initializer of GladeDesignLayout.
This is because Glade's main.c is only used for Glade's own frontend,
and so the CSS will not be used in other applications which embed Glade
unless it is done inside the gladeui library itself.
-- GitLab Migration Automatic Message --
This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/221.