From 5b4d9aa70c87f57d2c8359fbf9268674001d9415 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Wed, 27 Jun 2007 06:27:59 +0000 Subject: [PATCH] r15556@tres: ted | 2007-06-08 08:57:40 -0700 Adding some functions for future expansion. --- src/extension/prefdialog.cpp | 10 ++++++++++ src/extension/prefdialog.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index db9d6b7d7..7c3b76639 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -79,6 +79,16 @@ PrefDialog::run (void) { return resp; } +void +PrefDialog::setPreviewState (Glib::ustring state) { + +} + +void +PrefDialog::setPinned (bool in_pin) { + set_modal(!in_pin); +} + }; }; /* namespace Inkscape, Extension */ /* diff --git a/src/extension/prefdialog.h b/src/extension/prefdialog.h index 8092a83d9..4b7aa67b5 100644 --- a/src/extension/prefdialog.h +++ b/src/extension/prefdialog.h @@ -31,6 +31,8 @@ public: PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * controls); int run (void); + void setPreviewState (Glib::ustring state); + void setPinned (bool in_pin); }; -- 2.30.2