summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-04 15:05:39 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-04 15:05:39 +0100
commit85a0e1a57e1fb21d5802c64685cbff3d53114da1 (patch)
tree4f61a8af0d62f89e862a6888028a285ec7b26b17 /source/view.c
parent645fe2489049531b8a2898cfced061b32914a1ab (diff)
Remove class system from new theme format. Fix theme converter.
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/view.c b/source/view.c
index 6ec5b0b7..26e723bf 100644
--- a/source/view.c
+++ b/source/view.c
@@ -612,7 +612,7 @@ void __create_window ( MenuFlags menu_flags )
pango_cairo_font_map_set_resolution ( (PangoCairoFontMap *) font_map, (double) config.dpi );
}
// Setup font.
- char *font = rofi_theme_get_string ("@window" , "window", NULL, "font" , config.menu_font );
+ char *font = rofi_theme_get_string ( "window", NULL, "font" , config.menu_font );
if ( font ) {
PangoFontDescription *pfd = pango_font_description_from_string ( font );
pango_context_set_font_description ( p, pfd );
@@ -650,7 +650,7 @@ void __create_window ( MenuFlags menu_flags )
CacheState.flags = menu_flags;
monitor_active ( &( CacheState.mon ) );
- char *transparency = rofi_theme_get_string ( "@window", "window", NULL, "transparency", NULL);
+ char *transparency = rofi_theme_get_string ( "window", NULL, "transparency", NULL);
if ( transparency == NULL && config.fake_transparency ){
transparency = config.fake_background;
}