diff --git a/source/ubinstall-gtk.c b/source/ubinstall-gtk.c index b8805e4..f8d2a9d 100644 --- a/source/ubinstall-gtk.c +++ b/source/ubinstall-gtk.c @@ -328,7 +328,9 @@ void *on_config_save(void *){ void *yon_installation_start(main_window *widgets); void *yon_installation_start(main_window *widgets){ - int code = system(start_fast_install_command); + if (system(start_fast_install_command)){ + yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),INSTALLATION_ERROR,5,BACKGROUND_IMAGE_FAIL_TYPE); + } // main_config.install_thread=NULL; main_config.install_complete=1; gtk_notebook_set_current_page(GTK_NOTEBOOK(widgets->Notebook),YON_PAGE_COMPLETION); diff --git a/source/ubl-strings.h b/source/ubl-strings.h index ae86631..e8cd942 100644 --- a/source/ubl-strings.h +++ b/source/ubl-strings.h @@ -113,4 +113,6 @@ #define DOCUMENTATION_QUESTION_LABEL _("Would you like to read documentation in the Web?") #define DOCUMENTATION_HEAD_LABEL _("You will be redirected to documentation website where documentation is\ntranslated and supported by community.") #define DOCUMENTATION_CHECK_LABEL _("Always redirect to online documentation") -#define OPEN_DOCUMENTATION_LABEL _("Open documentation") \ No newline at end of file +#define OPEN_DOCUMENTATION_LABEL _("Open documentation") + +#define INSTALLATION_ERROR _("Installation error") \ No newline at end of file