diff --git a/source/ubl-settings-repomanager-key.c b/source/ubl-settings-repomanager-key.c
index 66bcc74..55f30bb 100644
--- a/source/ubl-settings-repomanager-key.c
+++ b/source/ubl-settings-repomanager-key.c
@@ -140,9 +140,13 @@ void on_sign_window_accept(GtkWidget *self, dictionary *dict){
}
if (!system(yon_debug_output("%s\n",yon_sign_package(storage,repo,arch,targets,signature)))){
yon_ubl_status_box_render(SIGN_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
+ } else {
+ yon_ubl_status_box_render(SIGN_FAIL_LABEL,BACKGROUND_IMAGE_FAIL_TYPE);
+
}
on_subwindow_close(window->Window);
}
+ yon_interface_update(widgets);
}
sign_window *yon_sign_window_new(){
diff --git a/source/ubl-settings-repomanager.c b/source/ubl-settings-repomanager.c
index aac26a1..916ccf1 100644
--- a/source/ubl-settings-repomanager.c
+++ b/source/ubl-settings-repomanager.c
@@ -112,6 +112,7 @@ void yon_interface_update(main_window *widgets){
GtkTreeIter iter;
GtkTreeModel *model;
GtkTreePath *path = NULL;
+ yon_sign_list_update();
if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(widgets->ReposTree)),&model,&iter)){
path = gtk_tree_model_get_path(model,&iter);
}
diff --git a/source/ubl-settings-repomanager.h b/source/ubl-settings-repomanager.h
index fb5f48a..7f09479 100644
--- a/source/ubl-settings-repomanager.h
+++ b/source/ubl-settings-repomanager.h
@@ -107,7 +107,7 @@ typedef char* string;
#define get_package_info_command(filename) yon_char_unite("pacman -Q --info --file '",filename,"' 2>/dev/null|sed -e 's/ */ /g' -e 's/ : /: /g' -e 's/\\n/ /g' -e 's/^ /\\t/g'",NULL)
-#define get_storage_info_label(path, repos, archs) yon_char_unite("",STORAGE_PATH_LABEL,": ", path,"\n\n", REPOS_LABEL,": ",repos,"\n\n",ARCHS_LABEL,": ",archs,NULL)
+#define get_storage_info_lab el(path, repos, archs) yon_char_unite("",STORAGE_PATH_LABEL,": ", path,"\n\n", REPOS_LABEL,": ",repos,"\n\n",ARCHS_LABEL,": ",archs,NULL)
#define get_repo_info_label(repos, archs,sign) yon_char_unite("",REPO_NAME_LABEL,": ",repos,"\n\n",ARCHS_LABEL,": ",archs,"\n\n",sign,NULL)
diff --git a/source/ubl-strings.h b/source/ubl-strings.h
index 2fe0c2f..d78e540 100644
--- a/source/ubl-strings.h
+++ b/source/ubl-strings.h
@@ -167,6 +167,7 @@
#define SIGNATURE_TITLE_LABEL _("Sign packages")
#define SIGN_SUCCESS_LABEL _("Packages successfully signed")
+#define SIGN_FAIL_LABEL _("Package sign has failed")
#define EMPTY_FOLDER_LABEL _("Folder must contain repositories")