summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-06-02 12:45:58 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-06-02 12:45:58 +0000
commitab2c9b2f274f80064e15dddced3a71f2805350e6 (patch)
treecd7481138075c3b84c8d24d689b1c8c21c417fc8 /src/ui/widget
parentFinish Paint Bucket optimizations & fixes for auto gap (diff)
downloadinkscape-ab2c9b2f274f80064e15dddced3a71f2805350e6.tar.gz
inkscape-ab2c9b2f274f80064e15dddced3a71f2805350e6.zip
Gtkmm:ified Fill and Stroke dialog (disabled by default). It's still
using the old fill/stroke style and paint style widgets, though. (bzr r3050)
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/notebook-page.cpp4
-rw-r--r--src/ui/widget/notebook-page.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/notebook-page.cpp b/src/ui/widget/notebook-page.cpp
index 83be16a43..47035ce2f 100644
--- a/src/ui/widget/notebook-page.cpp
+++ b/src/ui/widget/notebook-page.cpp
@@ -25,12 +25,12 @@ namespace Widget {
* \param label Label.
*/
-NotebookPage::NotebookPage(int n_rows, int n_columns)
+NotebookPage::NotebookPage(int n_rows, int n_columns, bool expand, bool fill, guint padding)
:_table(n_rows, n_columns)
{
set_border_width(2);
_table.set_spacings(2);
- pack_start(_table, false, false, 0);
+ pack_start(_table, expand, fill, padding);
}
} // namespace Widget
diff --git a/src/ui/widget/notebook-page.h b/src/ui/widget/notebook-page.h
index 0341cb659..38c13005e 100644
--- a/src/ui/widget/notebook-page.h
+++ b/src/ui/widget/notebook-page.h
@@ -24,7 +24,7 @@ class NotebookPage : public Gtk::VBox
{
public:
NotebookPage();
- NotebookPage(int n_rows, int n_columns);
+ NotebookPage(int n_rows, int n_columns, bool expand=false, bool fill=false, guint padding=0);
Gtk::Table& table() { return _table; }