v0.0.53 - Fix: login dialog window title shows 'sovereign browser v0.0.53' (matching main window); remove redundant app-name header from dialog body

This commit is contained in:
Laan Tungir
2026-07-20 07:29:42 -04:00
parent 480d758241
commit 45aa46f6c4
3 changed files with 7 additions and 15 deletions
+1 -1
View File
@@ -1 +1 @@
0.0.52
0.0.53
+4 -12
View File
@@ -1115,7 +1115,7 @@ int login_dialog_run(GtkWindow *parent, login_result_t *result) {
/* Create dialog without auto-responding buttons — we add custom
* buttons so we control whether the dialog closes. */
GtkWidget *dialog = gtk_dialog_new();
gtk_window_set_title(GTK_WINDOW(dialog), "sovereign browser — Sign In");
gtk_window_set_title(GTK_WINDOW(dialog), "sovereign browser " SB_VERSION);
gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
if (parent) gtk_window_set_transient_for(GTK_WINDOW(dialog), parent);
gtk_window_set_default_size(GTK_WINDOW(dialog), 560, 380);
@@ -1158,20 +1158,12 @@ int login_dialog_run(GtkWindow *parent, login_result_t *result) {
ctx.result = result;
ctx.done = FALSE;
/* Title — shows the application name and version. */
/* Title. */
GtkWidget *title = gtk_label_new(NULL);
{
char title_markup[128];
snprintf(title_markup, sizeof(title_markup),
"<span size='large' weight='bold'>Sovereign Browser %s</span>",
SB_VERSION);
gtk_label_set_markup(GTK_LABEL(title), title_markup);
}
gtk_label_set_markup(GTK_LABEL(title),
"<span size='large' weight='bold'>Sign in with your Nostr key</span>");
gtk_box_pack_start(GTK_BOX(content), title, FALSE, FALSE, 8);
GtkWidget *subtitle = gtk_label_new("Sign in with your Nostr key");
gtk_box_pack_start(GTK_BOX(content), subtitle, FALSE, FALSE, 0);
/* Notebook with tabs for each login method. */
GtkWidget *notebook = gtk_notebook_new();
gtk_box_pack_start(GTK_BOX(content), notebook, TRUE, TRUE, 4);
+2 -2
View File
@@ -11,9 +11,9 @@
#ifndef SOVEREIGN_BROWSER_VERSION_H
#define SOVEREIGN_BROWSER_VERSION_H
#define SB_VERSION "v0.0.52"
#define SB_VERSION "v0.0.53"
#define SB_VERSION_MAJOR 0
#define SB_VERSION_MINOR 0
#define SB_VERSION_PATCH 52
#define SB_VERSION_PATCH 53
#endif /* SOVEREIGN_BROWSER_VERSION_H */