Code

Strip out Pango markup from tooltips (fixes bug #167640)
authorbryce <bryce@users.sourceforge.net>
Sun, 30 Dec 2007 03:58:19 +0000 (03:58 +0000)
committerbryce <bryce@users.sourceforge.net>
Sun, 30 Dec 2007 03:58:19 +0000 (03:58 +0000)
src/widgets/desktop-widget.cpp

index 18045f0b6d115439faf34789b9c05c591f20d665..7286ac246f1acdf4f780fb4a7cbb6b9fc1df44f1 100644 (file)
@@ -226,8 +226,7 @@ SPDesktopWidget::setMessage (Inkscape::MessageType type, const gchar *message)
         gdk_window_process_updates(GTK_WIDGET(sb)->window, TRUE);
     }
 
-    // FIXME: TODO: remove <b></b> before displaying as tooltip
-    gtk_tooltips_set_tip (this->tt, this->select_status_eventbox, message ? message : "", NULL);
+    gtk_tooltips_set_tip (this->tt, this->select_status_eventbox, gtk_label_get_text (sb) , NULL);
 }
 
 NR::Point