Add some padding to the location dialog
It looked awful with Ubuntu's theme.
This commit is contained in:
parent
e70bb20934
commit
06ab13797d
@ -333,6 +333,8 @@ on_show_enter_location(
|
|||||||
g_free(label);
|
g_free(label);
|
||||||
|
|
||||||
GtkWidget *content = gtk_dialog_get_content_area(GTK_DIALOG(dialog));
|
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);
|
||||||
gtk_container_add(GTK_CONTAINER(content), entry);
|
gtk_container_add(GTK_CONTAINER(content), entry);
|
||||||
gtk_container_add(GTK_CONTAINER(content), protocols);
|
gtk_container_add(GTK_CONTAINER(content), protocols);
|
||||||
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
|
gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_ACCEPT);
|
||||||
|
Loading…
Reference in New Issue
Block a user