|
|
|
@ -533,6 +533,7 @@ gboolean on_command_execute_success(GtkWidget *,gint status,main_window *widgets
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
main_config.action=ACTION_TERMINAL_EXECUTE_FAIL;
|
|
|
|
main_config.action=ACTION_TERMINAL_EXECUTE_FAIL;
|
|
|
|
yon_ubl_status_box_render(yon_char_get_localised_from_lib(FAIL_LABEL),BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
yon_ubl_status_box_render(yon_char_get_localised_from_lib(FAIL_LABEL),BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
gtk_widget_set_sensitive(widgets->UpdateButton,1);
|
|
|
|
gtk_widget_set_sensitive(widgets->UpdateButton,1);
|
|
|
|
dictionary *dict = NULL;
|
|
|
|
dictionary *dict = NULL;
|
|
|
|
@ -562,7 +563,6 @@ gboolean on_command_execute_success(GtkWidget *,gint status,main_window *widgets
|
|
|
|
if (!status)
|
|
|
|
if (!status)
|
|
|
|
gtk_button_clicked(GTK_BUTTON(widgets->MoreButton));
|
|
|
|
gtk_button_clicked(GTK_BUTTON(widgets->MoreButton));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
yon_launch(pacman_unlock_database_command);
|
|
|
|
|
|
|
|
yon_packages_update();
|
|
|
|
yon_packages_update();
|
|
|
|
return G_SOURCE_REMOVE;
|
|
|
|
return G_SOURCE_REMOVE;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|