diff --git a/source/ubl-settings-video.c b/source/ubl-settings-video.c index a1810c6..7277efb 100644 --- a/source/ubl-settings-video.c +++ b/source/ubl-settings-video.c @@ -617,7 +617,7 @@ void yon_load_proceed(YON_CONFIG_TYPE type){ yon_ubl_status_box_render(yon_char_get_localised_from_lib(GLOBAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE); break; case YON_CONFIG_LOCAL: - yon_config_load_config(type,config_get_command(system),NULL); + yon_config_load_config(type,config_get_command("system"),NULL); yon_ubl_status_box_render(yon_char_get_localised_from_lib(LOCAL_LOAD_SUCCESS_LABEL),BACKGROUND_IMAGE_SUCCESS_TYPE); break; case YON_CONFIG_CUSTOM: diff --git a/source/ubl-settings-video.h b/source/ubl-settings-video.h index acf6892..d0fc17a 100644 --- a/source/ubl-settings-video.h +++ b/source/ubl-settings-video.h @@ -36,11 +36,6 @@ #define LocalePath "/usr/share/locale" #define LocaleName "ubl-settings-video" #define CssPath "/com/ublinux/css/ubl-settings-video.css" -#define StatusLoadGlobalFailed _("Failed to load global configuration") -#define StatusLoadLocalFailed _("Failed to load local configuration") - -#define StatusSaveGlobalFailed _("Saving to global configuration Succeeded") -#define StatusSaveLocalFailed _("Saving to local configuration Succeeded") #define get_ports_command "xrandr |grep -E \"*connected\" |cut -d' ' -f1"