diff options
| author | John Smith <john.smith7545@yahoo.com> | 2012-03-23 02:53:58 +0000 |
|---|---|---|
| committer | John Smith <removethis.john.q.public@bigmail.com> | 2012-03-23 02:53:58 +0000 |
| commit | 924e671a1e5d76c1d25d4fcad9d0e9f015dc394e (patch) | |
| tree | b5edc420bece6f3a7227bdb1009af3fea51388b9 /src/ui/widget/button.cpp | |
| parent | UI. Patch for Bug #666370 (Not all units in the Object Transform dialog are t... (diff) | |
| download | inkscape-924e671a1e5d76c1d25d4fcad9d0e9f015dc394e.tar.gz inkscape-924e671a1e5d76c1d25d4fcad9d0e9f015dc394e.zip | |
Fix for 909328 : Dockable Find & Replace dialog
(bzr r11117)
Diffstat (limited to 'src/ui/widget/button.cpp')
| -rw-r--r-- | src/ui/widget/button.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ui/widget/button.cpp b/src/ui/widget/button.cpp index 1ba531ddf..bac866920 100644 --- a/src/ui/widget/button.cpp +++ b/src/ui/widget/button.cpp @@ -31,6 +31,22 @@ CheckButton::CheckButton(Glib::ustring const &label, Glib::ustring const &toolti set_tooltip_text(tooltip); } +CheckButton::CheckButton(Glib::ustring const &label, Glib::ustring const &tooltip, bool active) +{ + set_use_underline (true); + set_label (label); + set_tooltip_text(tooltip); + set_active(active); +} + +RadioButton::RadioButton(Glib::ustring const &label, Glib::ustring const &tooltip) +{ + set_use_underline (true); + set_label (label); + set_tooltip_text(tooltip); +} + + } // namespace Widget } // namespace UI } // namespace Inkscape |
