diff --git a/source/ubl-settings-repomanager.c b/source/ubl-settings-repomanager.c index d15f3a2..d802c92 100644 --- a/source/ubl-settings-repomanager.c +++ b/source/ubl-settings-repomanager.c @@ -244,8 +244,9 @@ void on_save(){ } } if (pack_status==1){ - add_packages = yon_char_unite(add_packages ? yon_char_append(add_packages,",") : "",pack_path,NULL); - pack_path = yon_char_unite(origin_flagged,"/pool/overlay/",yon_char_divide(pack_path,yon_char_find_last(pack_path,'/')),NULL); + add_packages = yon_char_unite(add_packages ? yon_char_append(add_packages,",") : "",pack_path,NULL); + yon_char_divide(pack_path,yon_char_find_last(pack_path,'/')); + pack_path = yon_char_unite(origin_flagged,"/pool/overlay/",pack_path,NULL); gtk_tree_store_set(main_config.tree_store,&childIter,2,pack_path,-1); } else if (pack_status==-1){ remove_packages = yon_char_unite(remove_packages ? yon_char_append(remove_packages,",") : "",pack_code_name,NULL); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index b7cd232..6d60768 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -30,7 +30,7 @@ #define LOAD_SUCCESS_LABEL _("Repository data has been loaded successfully") -#define SAVE_SUCCESS_LABEL _("Saving has succseeded") +#define SAVE_SUCCESS_LABEL _("Saving has succeeded") #define GENERAL_TAB_LABEL _("General") #define PUBLICATION_TAB_LABEL _("Publication")