From 833eb5eeb3a35492bc6fb2f69242a70822ddc852 Mon Sep 17 00:00:00 2001 From: Alain Date: Mon, 4 Nov 2024 17:56:31 -0500 Subject: [PATCH] update styles --- core/Services/Database.vala | 1 - src/MainWindow.vala | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/Services/Database.vala b/core/Services/Database.vala index f8cdee80a..ca694f86c 100644 --- a/core/Services/Database.vala +++ b/core/Services/Database.vala @@ -689,7 +689,6 @@ public class Services.Database : GLib.Object { while (stmt.step () == Sqlite.ROW) { if (!columns.contains (stmt.column_text (1))) { - print ("Falta: %s: %s\n".printf (table, stmt.column_text (1))); return false; } } diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 53944da3f..e97c7d437 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -624,12 +624,13 @@ public class MainWindow : Adw.ApplicationWindow { var status_page = new Adw.StatusPage (); status_page.icon_name = "process-error-symbolic"; status_page.title = _("Database Integrity Check Failed"); - status_page.description = _("We've detected issues with the database structure that may prevent the application from functioning properly. This may be due to missing tables or columns, likely caused by data corruption or an incomplete update. The database will now be reset to restore normal functionality, and any existing data will be removed. After the reset, you’ll be able to restore any backup you’ve created previously. Thank you for your patience"); + status_page.description = _("We've detected issues with the database structure that may prevent the application from functioning properly. This may be due to missing tables or columns, likely caused by data corruption or an incomplete update.\n\nThe database will now be reset to restore normal functionality, and any existing data will be removed.\n\nAfter the reset, you’ll be able to restore any backup you’ve created previously. Thank you for your patience"); var reset_button = new Gtk.Button.with_label (_("Reset Database")) { halign = CENTER }; - reset_button.add_css_class ("suggested-action"); + reset_button.add_css_class ("destructive-action"); + reset_button.add_css_class ("pill"); var box = new Gtk.Box (VERTICAL, 12) { valign = CENTER,