[balsa/gtk3] Add a margin to notebook pages
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Add a margin to notebook pages
- Date: Thu, 6 Oct 2011 22:31:48 +0000 (UTC)
commit 7eeffe6ee135a17eff643105e4ab9d1a8c6f2910
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Thu Oct 6 17:46:04 2011 -0400
Add a margin to notebook pages
* src/filter-edit-callbacks.c (build_type_notebook): add a
margin to notebook pages.
ChangeLog | 5 +++++
src/filter-edit-callbacks.c | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a2100c4..207ea91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2011-10-06 Peter Bloomfield
+ * src/filter-edit-callbacks.c (build_type_notebook): add a
+ margin to notebook pages.
+
+2011-10-06 Peter Bloomfield
+
* src/filter-edit-callbacks.c (add_button), (add_check),
(get_field_frame), (build_type_notebook): migrate from GtkTable
to GtkGrid.
diff --git a/src/filter-edit-callbacks.c b/src/filter-edit-callbacks.c
index c8e1407..9251026 100644
--- a/src/filter-edit-callbacks.c
+++ b/src/filter-edit-callbacks.c
@@ -1002,11 +1002,12 @@ build_type_notebook()
/* The simple page of the notebook */
- box = gtk_vbox_new(FALSE, 5);
grid = gtk_grid_new();
gtk_grid_set_row_spacing(GTK_GRID(grid), 5);
gtk_grid_set_column_spacing(GTK_GRID(grid), 5);
+ box = gtk_vbox_new(FALSE, 5);
+ g_object_set(box, "margin", 5, NULL);
gtk_box_pack_start(GTK_BOX(box), grid, TRUE, TRUE, 0);
fe_type_simple_label =
@@ -1031,6 +1032,7 @@ build_type_notebook()
/* The regex page of the type notebook */
box = gtk_vbox_new(FALSE, 5);
+ g_object_set(box, "margin", 5, NULL);
gtk_notebook_append_page(GTK_NOTEBOOK(fe_type_notebook), box, NULL);
@@ -1095,6 +1097,7 @@ build_type_notebook()
page = gtk_grid_new();
gtk_grid_set_row_spacing(GTK_GRID(page), 5);
gtk_grid_set_column_spacing(GTK_GRID(page), 5);
+ g_object_set(page, "margin", 5, NULL);
gtk_notebook_append_page(GTK_NOTEBOOK(fe_type_notebook), page, NULL);
@@ -1126,6 +1129,7 @@ build_type_notebook()
gtk_widget_set_vexpand(page, TRUE);
gtk_grid_set_row_spacing(GTK_GRID(page), 5);
gtk_grid_set_column_spacing(GTK_GRID(page), 5);
+ g_object_set(page, "margin", 5, NULL);
gtk_notebook_append_page(GTK_NOTEBOOK(fe_type_notebook), page, NULL);
fe_type_flag_label =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]