Remove default gramplet tooltip in tabbed layout

svn: r16378
This commit is contained in:
Nick Hall 2011-01-13 23:15:46 +00:00
parent a3bf46cab0
commit f49142aaca

View File

@ -162,7 +162,7 @@ def make_requested_gramplet(pane, name, opts, dbstate, uistate):
% opts["name"]
# now that we have user code, set the tooltips
msg = gui.tooltip
if msg is None:
if opts.get("layout", "grid") == "grid" and msg is None:
msg = _("Drag Properties Button to move and click it for setup")
if msg:
gui.scrolledwindow.set_tooltip_text(msg)