Apply some bits of GNOME HIG 1.0
This commit is contained in:
parent
222ba6a060
commit
13ae4810ca
@ -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);
|
||||
|
2
fiv.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user