pull/108/head
parent 5d3dbdc4a3
commit 2f3cedc1e5
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -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)))){ 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); 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); on_subwindow_close(window->Window);
} }
yon_interface_update(widgets);
} }
sign_window *yon_sign_window_new(){ sign_window *yon_sign_window_new(){

@ -112,6 +112,7 @@ void yon_interface_update(main_window *widgets){
GtkTreeIter iter; GtkTreeIter iter;
GtkTreeModel *model; GtkTreeModel *model;
GtkTreePath *path = NULL; 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)){ 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); path = gtk_tree_model_get_path(model,&iter);
} }

@ -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_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("<b>",STORAGE_PATH_LABEL,":</b> ", path,"\n\n<b>", REPOS_LABEL,":</b> ",repos,"\n\n<b>",ARCHS_LABEL,":</b> ",archs,NULL) #define get_storage_info_lab el(path, repos, archs) yon_char_unite("<b>",STORAGE_PATH_LABEL,":</b> ", path,"\n\n<b>", REPOS_LABEL,":</b> ",repos,"\n\n<b>",ARCHS_LABEL,":</b> ",archs,NULL)
#define get_repo_info_label(repos, archs,sign) yon_char_unite("<b>",REPO_NAME_LABEL,":</b> ",repos,"\n\n<b>",ARCHS_LABEL,":</b> ",archs,"\n\n",sign,NULL) #define get_repo_info_label(repos, archs,sign) yon_char_unite("<b>",REPO_NAME_LABEL,":</b> ",repos,"\n\n<b>",ARCHS_LABEL,":</b> ",archs,"\n\n",sign,NULL)

@ -167,6 +167,7 @@
#define SIGNATURE_TITLE_LABEL _("Sign packages") #define SIGNATURE_TITLE_LABEL _("Sign packages")
#define SIGN_SUCCESS_LABEL _("Packages successfully signed") #define SIGN_SUCCESS_LABEL _("Packages successfully signed")
#define SIGN_FAIL_LABEL _("Package sign has failed")
#define EMPTY_FOLDER_LABEL _("Folder must contain repositories") #define EMPTY_FOLDER_LABEL _("Folder must contain repositories")

Loading…
Cancel
Save