Overwrite the gettext to MainView.applicationName if already set

Bug #1421672 reported by Sebastien Bacher on 2015-02-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
High
Christian 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) on 2015-03-07
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  Edit
Everyone can see this information.

Other bug subscribers