gtodo.desktop: Missing Encoding Directive

Bug #48628 reported by MattMoor
8
Affects Status Importance Assigned to Milestone
gtodo (Ubuntu)
Fix Released
Medium
Adrien Cunin

Bug Description

Hi,

In the package version 0.14+cvs20050820-1ubuntu1 in dapper AMD64, the file /usr/share/applications/gtodo.desktop is missing the encoding directive, which stops the application icon appearing properly in gnome (menus, desktop, quick start, ...).

The fix is very simple -- just add "Encoding=UTF-8" to the top of the file.

Related branches

Revision history for this message
William Grant (wgrant) wrote :

The extra line is not in fact necessary. The issue is this:
Encoding=UTF-8X-Ubuntu-Gettext-Domain=gtodo
It's invalid, and removing it causes the icon to appear fine.

Changed in gtodo:
status: Unconfirmed → Confirmed
Revision history for this message
Richard Wilbur (richard-wilbur) wrote :

I just got the latest Dapper (PPC) network update and twice saw a similar message as the update was being applied (see attached log).

I was surprised to see the problem in gtodo as it didn't obviously appear to be part of the update. Further evidence:

/usr/share/applications$ ls -l gtodo.desktop
-rw-r--r-- 1 root root 813 2006-04-06 21:40 gtodo.desktop

So, why haven't I seen this bug in the past? What would be the correct contents of the "Encoding" line? (It's the last line of gtodo.desktop in my case.)

Revision history for this message
Adrien Cunin (adri2000) wrote :

The attached patch fixes this bug.

Adrien Cunin (adri2000)
Changed in gtodo:
assignee: nobody → adri2000
Revision history for this message
Richard Wilbur (richard-wilbur) wrote :

The patch file mentioned above ("05_desktop-file.patch") fails to patch my gtodo.desktop file.

After a little scouting around I found that my copy of gtodo.desktop is suffering from lack of a new-line character in its last line.

I am attaching the patch that fixed my gtodo.desktop

Revision history for this message
Adrien Cunin (adri2000) wrote :

Your patch won't work because it's a patch for /usr/share/applications/gtodo.desktop. It is not the the same file than the one in the source package, gtodo.desktop.in.
"X-Ubuntu-Gettext-Domain=gtodo" is added automatically, that's why I didn't put it in my patch.
Anyway, I will post a debdiff this afternoon.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Here is the debdiff :)

Revision history for this message
Adrien Cunin (adri2000) wrote :

Fix released: 0.14+cvs20050820-2ubuntu1

Changed in gtodo:
status: Confirmed → Fix Released
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.