Set a border width in the notebook pages

This commit is contained in:
Pierre Pronchery 2018-01-18 02:55:32 +01:00
parent cbcb1affb9
commit d0471e7e67

View File

@ -365,6 +365,7 @@ static GtkWidget * _settings_preferences(GPRS * gprs)
#else #else
vbox = gtk_vbox_new(FALSE, 4); vbox = gtk_vbox_new(FALSE, 4);
#endif #endif
gtk_container_set_border_width(GTK_CONTAINER(vbox), 4);
/* attachment */ /* attachment */
gprs->attach = gtk_check_button_new_with_label( gprs->attach = gtk_check_button_new_with_label(
_("Force GPRS registration")); _("Force GPRS registration"));
@ -466,6 +467,7 @@ static GtkWidget * _settings_status(GPRS * gprs)
#else #else
vbox = gtk_vbox_new(FALSE, 4); vbox = gtk_vbox_new(FALSE, 4);
#endif #endif
gtk_container_set_border_width(GTK_CONTAINER(vbox), 4);
/* details */ /* details */
widget = gtk_frame_new(_("Details")); widget = gtk_frame_new(_("Details"));
#if GTK_CHECK_VERSION(3, 0, 0) #if GTK_CHECK_VERSION(3, 0, 0)