summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-01-17 09:51:29 +0000
committerrwst <rwst@users.sourceforge.net>2006-01-17 09:51:29 +0000
commit96b1951ec83487db52320c4fa7a620d5f9570f9a (patch)
treefabf332c6c91f84d8b0b832551dbcbf27956e5a4 /src/ui/widget
parentreadability (diff)
downloadinkscape-96b1951ec83487db52320c4fa7a620d5f9570f9a.tar.gz
inkscape-96b1951ec83487db52320c4fa7a620d5f9570f9a.zip
applying patch #1407697 by Marco Scholten
(bzr r10)
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/preferences-widget.cpp5
-rw-r--r--src/ui/widget/preferences-widget.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp
index b53db0512..c45952c83 100644
--- a/src/ui/widget/preferences-widget.cpp
+++ b/src/ui/widget/preferences-widget.cpp
@@ -121,6 +121,11 @@ void DialogPage::add_group_header(Glib::ustring name)
}
}
+void DialogPage::set_tip(Gtk::Widget& widget, const Glib::ustring& tip)
+{
+ _tooltips.set_tip (widget, tip);
+}
+
void PrefCheckButton::init(const Glib::ustring& label, const std::string& prefs_path, const std::string& attr,
bool default_value)
{
diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h
index a5a594114..361d737a8 100644
--- a/src/ui/widget/preferences-widget.h
+++ b/src/ui/widget/preferences-widget.h
@@ -94,6 +94,7 @@ public:
DialogPage();
void add_line(bool indent, const Glib::ustring label, Gtk::Widget& widget, const Glib::ustring suffix, const Glib::ustring& tip, bool expand = true);
void add_group_header(Glib::ustring name);
+ void set_tip(Gtk::Widget& widget, const Glib::ustring& tip);
protected:
Gtk::Tooltips _tooltips;
};