Commit 16917beae5ddd8205dad56a320c10d99151fd17d
1 parent
631f831d
Exists in
master
and in
5 other branches
Improving print settings dialog.
Showing
1 changed file
with
13 additions
and
0 deletions
Show diff stats
src/pw3270/print.c
@@ -920,6 +920,19 @@ void print_settings_action(GtkAction *action, GtkWidget *terminal) | @@ -920,6 +920,19 @@ void print_settings_action(GtkAction *action, GtkWidget *terminal) | ||
920 | 920 | ||
921 | memset(&info,0,sizeof(info)); | 921 | memset(&info,0,sizeof(info)); |
922 | 922 | ||
923 | + gtk_window_set_deletable(GTK_WINDOW(dialog),FALSE); | ||
924 | + | ||
925 | + // https://developer.gnome.org/hig/stable/visual-layout.html.en | ||
926 | + gtk_container_set_border_width( | ||
927 | + GTK_CONTAINER(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), | ||
928 | + 18 | ||
929 | + ); | ||
930 | + | ||
931 | + gtk_box_set_spacing( | ||
932 | + GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), | ||
933 | + 18 | ||
934 | + ); | ||
935 | + | ||
923 | widget = GTK_WIDGET(create_custom_widget(NULL,&info)); | 936 | widget = GTK_WIDGET(create_custom_widget(NULL,&info)); |
924 | 937 | ||
925 | gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),GTK_WIDGET(widget),TRUE,TRUE,2); | 938 | gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),GTK_WIDGET(widget),TRUE,TRUE,2); |