Repeating packages check redone

pull/41/head
parent c31330365c
commit 657638806f

@ -569,8 +569,7 @@ void on_add_accept(GtkWidget *self, dictionary *dict){
gtk_list_store_append(window->PackagesList,&itar); gtk_list_store_append(window->PackagesList,&itar);
gtk_list_store_set(window->PackagesList,&itar,1,name[0],2,current,3,1,-1); gtk_list_store_set(window->PackagesList,&itar,1,name[0],2,current,3,1,-1);
} else { } else {
yon_ubl_status_box_spawn(GTK_CONTAINER(dialog->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
return;
} }
yon_char_parsed_free(name,name_size); yon_char_parsed_free(name,name_size);
} }
@ -861,8 +860,7 @@ void on_move_add_accept(GtkWidget *self, dictionary *dict){
gtk_list_store_append(window->PackagesList,&iter); gtk_list_store_append(window->PackagesList,&iter);
gtk_list_store_set(window->PackagesList,&iter,1,name[0],2,path,-1); gtk_list_store_set(window->PackagesList,&iter,1,name[0],2,path,-1);
} else { } else {
yon_ubl_status_box_spawn(GTK_CONTAINER(dialog->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE); yon_ubl_status_box_spawn(GTK_CONTAINER(window->StatusBox),ALREADY_EXIST_LABEL,5,BACKGROUND_IMAGE_FAIL_TYPE);
return;
} }
} }

@ -129,7 +129,7 @@
#define PACKAGE_LABEL _("package") #define PACKAGE_LABEL _("package")
#define REPOSITORY_LABEL _("repository") #define REPOSITORY_LABEL _("repository")
#define ALREADY_EXIST_LABEL _("Chosen packages already has been added") #define ALREADY_EXIST_LABEL _("Repeating packages were not added")
#define REPO_ALREADY_EXISTS_LABEL _("This repository has already been added") #define REPO_ALREADY_EXISTS_LABEL _("This repository has already been added")
#define CLOSE_LABEL _("Close") #define CLOSE_LABEL _("Close")

@ -450,7 +450,7 @@ msgid "repository"
msgstr "" msgstr ""
#: source/ubl-strings.h:132 #: source/ubl-strings.h:132
msgid "Chosen packages already has been added" msgid "Repeating packages were not added"
msgstr "" msgstr ""
#: source/ubl-strings.h:133 #: source/ubl-strings.h:133

@ -454,8 +454,8 @@ msgid "repository"
msgstr "репозиторий" msgstr "репозиторий"
#: source/ubl-strings.h:132 #: source/ubl-strings.h:132
msgid "Chosen packages already has been added" msgid "Repeating packages were not added"
msgstr "Выбранные пакеты уже был добавлен" msgstr "Дублирующиеся пакеты не были добавлены"
#: source/ubl-strings.h:133 #: source/ubl-strings.h:133
msgid "This repository has already been added" msgid "This repository has already been added"

Loading…
Cancel
Save