Jente Hidskes
268f3209dc
Refactor dark theme detection into a function
...
We need to instance a Gtk.Widget to be able to use `get_style_context`.
Thus, we use the singleton pattern to avoid allocating an object every
time we call `is_theme_dark()`.
Fixes #133 .
2018-10-10 20:16:55 +00:00
Alberto Fanjul
04bdad03bf
theme: Detect dark theme with its background color
2018-07-20 19:51:17 +02:00
Ignacio Casal Quinteiro
10d0b62e10
diff-stat: use set_css_name to get it renderered properly
...
In new gtk we need to set the css name for custom widgets
2016-02-14 19:03:13 +01:00
Jesse van den Kieboom
7d6524c011
Do not color removed/added when nothing removed and nothing added
2015-12-21 22:38:25 +01:00
Jesse van den Kieboom
df2c6cdcf8
Fix dark style of diff-stat widget
2015-12-21 22:33:46 +01:00
Ignacio Casal Quinteiro
da1389b5d9
diff-stat: convert to use style classes
...
It seems that we cannot use regions anymore since they are deprecated
2015-11-22 19:30:07 +01:00
Jesse van den Kieboom
bd2e369b88
First step in replacing webkit with standard gtk+
2015-09-23 08:57:15 +02:00
Jesse van den Kieboom
7e01fe9d60
Use diff-stat without frame for commit dialog
2014-06-25 14:44:00 +02:00
Jesse van den Kieboom
c95c7cfd1e
Fixed RTL rendering for GitgDiffStat
2014-01-05 13:20:58 +01:00
Jesse van den Kieboom
d7d87add3c
Added diff stat rendering widget
2013-07-08 11:51:58 +02:00