Adding Preference for Disabling Statusline Tooltips

Bug #1431450 reported by Andre Novellino Gouvêa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Wishlist
cybermind

Bug Description

I suggest adding a preference setting for disabling statusline tooltips, so that it is possible for a game using the engine to have only popups. To do this, replace the following line in botpanel.cpp and mouse.cpp:

UpdateStatusLineForButton(buttons[i]);

...with:

if (!Preference.NoStatusLineTooltips) {
 UpdateStatusLineForButton(buttons[i]);
}

And then, of course, add NoStatusLineTooltips to the preferences.

I tested this change and can confirm it works.

Related branches

Revision history for this message
cybermind (iddqd-mail) wrote :

Fixed in rev.8992

Changed in stratagus:
importance: Undecided → Wishlist
status: New → Fix Committed
assignee: nobody → cybermind (iddqd-mail)
Revision history for this message
Andre Novellino Gouvêa (andre-ng) wrote :

Cool :) You left out the change to botpanel.cpp though; any particular reason for that, or did you simply forget?

Revision history for this message
cybermind (iddqd-mail) wrote :

Fixed in rev.8993

cybermind (iddqd-mail)
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.