diff options
| author | Bruno Dilly <bruno.dilly@gmail.com> | 2007-08-08 05:47:10 +0000 |
|---|---|---|
| committer | bdilly <bdilly@users.sourceforge.net> | 2007-08-08 05:47:10 +0000 |
| commit | b731e2b6d697648fc74a9a66eb66586870279e91 (patch) | |
| tree | cdc7d1b2f260098a377c0ffc3b118032133fdd88 /src/ui/widget | |
| parent | Filter effects dialog: (diff) | |
| download | inkscape-b731e2b6d697648fc74a9a66eb66586870279e91.tar.gz inkscape-b731e2b6d697648fc74a9a66eb66586870279e91.zip | |
export to ocal bug fix
(bzr r3418)
Diffstat (limited to 'src/ui/widget')
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 3 | ||||
| -rw-r--r-- | src/ui/widget/preferences-widget.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index a6302aa9d..e1671e5b1 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -277,13 +277,12 @@ void PrefEntry::init(const std::string& prefs_path, const std::string& attr, this->set_text(prefs_get_string_attribute(_prefs_path.c_str(), _attr.c_str())); } -void PrefEntry::on_activate() +void PrefEntry::on_changed() { if (this->is_visible()) //only take action if user changed value { prefs_set_string_attribute(_prefs_path.c_str(), _attr.c_str(), this->get_text().c_str()); } - return; } } // namespace Widget diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h index 5b6402883..4ed0a35aa 100644 --- a/src/ui/widget/preferences-widget.h +++ b/src/ui/widget/preferences-widget.h @@ -97,7 +97,7 @@ public: protected: std::string _prefs_path; std::string _attr; - void on_activate(); + void on_changed(); }; class DialogPage : public Gtk::Table |
