aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-01-13 21:31:14 +0100
committerPřemysl Eric Janouch <p@janouch.name>2022-01-13 21:38:32 +0100
commit13ae4810ca857ae018d9cc34b5181d476cd3316a (patch)
tree5d145cf7dfe1d5df846ff61052d2e30d741e191a
parent222ba6a0601e37dc9116109316f8d31b0721c351 (diff)
downloadfiv-13ae4810ca857ae018d9cc34b5181d476cd3316a.tar.gz
fiv-13ae4810ca857ae018d9cc34b5181d476cd3316a.tar.xz
fiv-13ae4810ca857ae018d9cc34b5181d476cd3316a.zip
Apply some bits of GNOME HIG 1.0
-rw-r--r--fiv-sidebar.c4
-rw-r--r--fiv.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/fiv-sidebar.c b/fiv-sidebar.c
index 907793a..16de0d4 100644
--- a/fiv-sidebar.c
+++ b/fiv-sidebar.c
@@ -417,8 +417,8 @@ on_show_enter_location(
g_free(label);
GtkWidget *content = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
- g_object_set(content, "margin", 5, NULL);
- gtk_box_set_spacing(GTK_BOX(content), 5);
+ g_object_set(content, "margin", 12, NULL);
+ gtk_box_set_spacing(GTK_BOX(content), 6);
gtk_container_add(GTK_CONTAINER(content), entry);
gtk_container_add(GTK_CONTAINER(content), protocols);
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
diff --git a/fiv.c b/fiv.c
index 90ef3b8..c001ad8 100644
--- a/fiv.c
+++ b/fiv.c
@@ -437,7 +437,7 @@ show_about_dialog(GtkWidget *parent)
gtk_text_buffer_insert_markup(buffer, &iter, formatted, -1);
g_free(formatted);
- enum { SUBBOX_MARGIN = 12 /* Roughly matches. */ };
+ enum { SUBBOX_MARGIN = 12 /* GNOME HIG 1.0 */ };
GtkWidget *subbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, 12);
gtk_widget_set_margin_start(subbox, SUBBOX_MARGIN);
gtk_widget_set_margin_end(subbox, SUBBOX_MARGIN);