summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-05 11:26:09 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-05 17:12:11 +0200
commitc98578f9b8da2c9ff9525c13697ff33c4f00731d (patch)
tree22b5a463f62b949fbc5f8f1cf613cc15125ee39f /vcl
parent21bd6a843de27e49fd79f6bbf4783fac8e61fcb5 (diff)
weld ExportDialog
Change-Id: I9d0f21a10708edcc7f5da14f83944da58c33b1d9 Reviewed-on: https://gerrit.libreoffice.org/61408 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salvtables.cxx6
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx9
2 files changed, 15 insertions, 0 deletions
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index e4647b02cb04..fb8363ff10e4 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -1433,6 +1433,12 @@ public:
m_xScale->SetThumbPos(value);
}
+ virtual void set_range(int min, int max) override
+ {
+ m_xScale->SetRangeMin(min);
+ m_xScale->SetRangeMax(max);
+ }
+
virtual int get_value() const override
{
return m_xScale->GetThumbPos();
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 106419b1ff93..fa976af04dae 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -3379,7 +3379,16 @@ public:
virtual void set_value(int value) override
{
+ disable_notify_events();
gtk_range_set_value(GTK_RANGE(m_pScale), value);
+ enable_notify_events();
+ }
+
+ virtual void set_range(int min, int max) override
+ {
+ disable_notify_events();
+ gtk_range_set_range(GTK_RANGE(m_pScale), min, max);
+ enable_notify_events();
}
virtual int get_value() const override