summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 22:37:37 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 22:37:37 +0000
commit405c25197312a4236e2903965a8ac7a9976cdde3 (patch)
treecd18de8fa1fb4082146e7fab0333de87c245b135 /src
parentUpdate Gtk margin handling (diff)
downloadinkscape-405c25197312a4236e2903965a8ac7a9976cdde3.tar.gz
inkscape-405c25197312a4236e2903965a8ac7a9976cdde3.zip
Update GtkDialog usage
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/knot-properties.cpp2
-rw-r--r--src/ui/dialog/lpe-fillet-chamfer-properties.cpp2
-rw-r--r--src/ui/dialog/lpe-powerstroke-properties.cpp2
-rw-r--r--src/ui/dialog/objects.cpp2
-rw-r--r--src/ui/dialog/styledialog.cpp4
5 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/dialog/knot-properties.cpp b/src/ui/dialog/knot-properties.cpp
index e69fee52e..b094dc0e7 100644
--- a/src/ui/dialog/knot-properties.cpp
+++ b/src/ui/dialog/knot-properties.cpp
@@ -43,7 +43,7 @@ KnotPropertiesDialog::KnotPropertiesDialog()
_position_visible(false),
_close_button(_("_Close"), true)
{
- Gtk::Box *mainVBox = get_vbox();
+ Gtk::Box *mainVBox = get_content_area();
_layout_table.set_row_spacing(4);
_layout_table.set_column_spacing(4);
diff --git a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp
index 13264c979..6d19f9090 100644
--- a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp
+++ b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp
@@ -32,7 +32,7 @@ FilletChamferPropertiesDialog::FilletChamferPropertiesDialog()
_position_visible(false),
_close_button(_("_Cancel"), true)
{
- Gtk::Box *mainVBox = get_vbox();
+ Gtk::Box *mainVBox = get_content_area();
mainVBox->set_homogeneous(false);
_layout_table.set_row_spacing(4);
_layout_table.set_column_spacing(4);
diff --git a/src/ui/dialog/lpe-powerstroke-properties.cpp b/src/ui/dialog/lpe-powerstroke-properties.cpp
index bc3fbd828..9bd98c7c0 100644
--- a/src/ui/dialog/lpe-powerstroke-properties.cpp
+++ b/src/ui/dialog/lpe-powerstroke-properties.cpp
@@ -38,7 +38,7 @@ PowerstrokePropertiesDialog::PowerstrokePropertiesDialog()
_position_visible(false),
_close_button(_("_Cancel"), true)
{
- Gtk::Box *mainVBox = get_vbox();
+ Gtk::Box *mainVBox = get_content_area();
_layout_table.set_row_spacing(4);
_layout_table.set_column_spacing(4);
diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp
index 227fb57b1..a28c75514 100644
--- a/src/ui/dialog/objects.cpp
+++ b/src/ui/dialog/objects.cpp
@@ -1987,7 +1987,7 @@ ObjectsPanel::ObjectsPanel() :
_colorSelectorDialog.property_modal() = true;
_selectedColor.reset(new Inkscape::UI::SelectedColor);
Gtk::Widget *color_selector = Gtk::manage(new Inkscape::UI::Widget::ColorNotebook(*_selectedColor));
- _colorSelectorDialog.get_vbox()->pack_start (
+ _colorSelectorDialog.get_content_area()->pack_start (
*color_selector, true, true, 0);
_selectedColor->signal_dragged.connect(sigc::mem_fun(*this, &ObjectsPanel::_highlightPickerColorMod));
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index 3642c0168..aa453e8e8 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -882,12 +882,12 @@ void StyleDialog::_addSelector()
textDialogPtr->add_button(_("Add"), Gtk::RESPONSE_OK);
Gtk::Entry *textEditPtr = manage ( new Gtk::Entry() );
- textDialogPtr->get_vbox()->pack_start(*textEditPtr, Gtk::PACK_SHRINK);
+ textDialogPtr->get_content_area()->pack_start(*textEditPtr, Gtk::PACK_SHRINK);
Gtk::Label *textLabelPtr = manage ( new Gtk::Label(
_("Invalid entry: Not an id (#), class (.), or element CSS selector.")
) );
- textDialogPtr->get_vbox()->pack_start(*textLabelPtr, Gtk::PACK_SHRINK);
+ textDialogPtr->get_content_area()->pack_start(*textLabelPtr, Gtk::PACK_SHRINK);
/**
* By default, the entrybox contains 'Class1' as text. However, if object(s)