summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/page-sizer.cpp
diff options
context:
space:
mode:
authorKarl Cheng <qantas94heavy@gmail.com>2019-05-22 11:31:09 +0000
committerKarl Cheng <qantas94heavy@gmail.com>2019-06-16 09:43:07 +0000
commit89c1effb9a63177251f759bee7c2e76cec06c2cd (patch)
tree22d0a1ce73d995438e24085d6dfcbf449a5d160c /src/ui/widget/page-sizer.cpp
parentReplace deprecated Gtk::Main::quit() call (diff)
downloadinkscape-89c1effb9a63177251f759bee7c2e76cec06c2cd.tar.gz
inkscape-89c1effb9a63177251f759bee7c2e76cec06c2cd.zip
Remove custom tab order in Document Properties
The method for handling custom tab order in GTK (set_focus_chain) has been deprecated since GTK 3.24 with no direct replacement. I've decided to remove this code as the code did not seem to make any difference during testing: the tab order appeared to be the same. Regardless, 'Page -> Custom size' in Document Properties is the only place that it's used, so the impact should be fairly limited anyway.
Diffstat (limited to 'src/ui/widget/page-sizer.cpp')
-rw-r--r--src/ui/widget/page-sizer.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp
index a193f84da..bd7409a0c 100644
--- a/src/ui/widget/page-sizer.cpp
+++ b/src/ui/widget/page-sizer.cpp
@@ -191,13 +191,6 @@ PageSizer::PageSizer(Registry & _wr)
_customDimTable.attach(_fitPageMarginExpander, 0, 1, 3, 1);
- _dimTabOrderList.clear();
- _dimTabOrderList.push_back(&_dimensionWidth);
- _dimTabOrderList.push_back(&_dimensionHeight);
- _dimTabOrderList.push_back(&_dimensionUnits);
- _dimTabOrderList.push_back(&_fitPageMarginExpander);
- _customDimTable.set_focus_chain(_dimTabOrderList);
-
//## Set up fit page expander
_fitPageMarginExpander.set_use_underline();
_fitPageMarginExpander.set_label(_("Resi_ze page to content..."));