Uncomment the code that gets add_button() to set the tooltip. The function only...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 20 Feb 2008 01:32:10 +0000 (01:32 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 20 Feb 2008 01:32:10 +0000 (01:32 +0000)
git-svn-id: http://svn.voria.com/code@1777 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/dockable.cpp

index 692316d..ce4eb9d 100644 (file)
@@ -328,7 +328,7 @@ Dockable::add_button(const Gtk::StockID& stock_id, const synfig::String& tooltip
        //ret->set_relief(Gtk::RELIEF_HALF);
        //ret->set_relief(Gtk::RELIEF_NONE);
        ret->set_label(tooltip);
-       //toolbar_->get_tooltips_object()->set_tip(*ret,tooltip);
+       toolbar_->get_tooltips_object()->set_tip(*ret,tooltip);
 
        ret->show();
        //icon->show();