diff --git a/Makefile b/Makefile index 9b58be6..e54f81d 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ TARGET = x50ng -TARGET_ALLCAPS = X50NG VERSION_MAJOR = 1 VERSION_MINOR = 6 -PATCHLEVEL = 1 +PATCHLEVEL = 2 INSTALL_PREFIX = /usr/local INSTALL_BINARY_DIR = "$(INSTALL_PREFIX)"/bin diff --git a/src/x50ng/ui.c b/src/x50ng/ui.c index 51854ad..365e3f7 100644 --- a/src/x50ng/ui.c +++ b/src/x50ng/ui.c @@ -1698,7 +1698,7 @@ static int ui_load( x49gp_module_t* module, GKeyFile* keyfile ) GLOBAL_DATADIR, opt.style_filename ); else { GtkCssProvider* style_provider = gtk_css_provider_new(); - gtk_css_provider_load_from_path( style_provider, g_build_filename( GLOBAL_DATADIR, opt.style_filename, NULL ), NULL ); + gtk_css_provider_load_from_path( style_provider, style_full_path, NULL ); gtk_style_context_add_provider_for_screen( gdk_screen_get_default(), GTK_STYLE_PROVIDER( style_provider ), GTK_STYLE_PROVIDER_PRIORITY_USER + 1 );