Overwrite the gettext to MainView.applicationName if already set

Bug #1421672 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Triaged
High
Cris Dywan

Bug Description

That leaded to issue in ubuntu-system-settings. Our code calls textdomain() directly, the domain was then changed to another wrong value because MainView's overwrites it to be "applicationName".

The main reason why we did the call ourself was because the MainView documentation doesn't document that it's doing it for you (opened bug #1421661 about that), but still if some code decide to write a specific value it should probably be respected and not overwrited.

Suggested change, set the textdomain only if that has not been done yet

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Christian Dywan (kalikiana)
importance: Undecided → High
status: New → Triaged
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.