Bad path for trophy-accomplished.svg

Bug #939017 reported by Winael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Accomplishments System
Fix Released
Low
Anders G. Jørgensen

Bug Description

The path for the SVG file trophy-accomplished.svg is wrong.

According to the log, Ubuntu Accomplishment System try to load the file from $HOME/ubuntu-accomplishments-system/data/ui/trophy-accomplished.svg

    :~/ubuntu-accomplishments-system$ quickly run

    Gtk-WARNING **: Could not load image 'trophy-accomplished.svg': Impossible d'ouvrir le fichier « /home/winael/ubuntu-accomplishments-system/data/ui/trophy-accomplished.svg » : Aucun fichier ou dossier de ce type

    Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -19 and height 1

    Gtk-WARNING **: Overriding tab label for notebook

    Gtk-WARNING **: Overriding tab label for notebook

    Gtk-WARNING **: Overriding tab label for notebook

But if i try to locate the file

:~$ locate trophy-accomplished.svg
/home/winael/ubuntu-accomplishments-system/daemon/libaccomplishments-daemon/trophy-accomplished.svg
/home/winael/ubuntu-accomplishments-system/data/media/trophy-accomplished.svg

Best Regards,
Winael

Related branches

Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-system:
status: New → Confirmed
importance: Undecided → Low
Changed in ubuntu-accomplishments-system:
assignee: nobody → Anders G. Jørgensen (spirit55555)
Revision history for this message
Jono Bacon (jonobacon) wrote :

Just a quick note (and thanks for assigning the bug to yourself, Anders!), but if I recall correctly that icon file is no longer required in the app as the accomplishments sets (e.g. lp:ubuntu-community-accomplishments) are supposed to ship with their own icons.

The only situation that icon may be needed is if I added support for displaying it when another icon is missing.

Revision history for this message
Jono Bacon (jonobacon) wrote :

Did you have a chance to look into this, Anders?

Changed in ubuntu-accomplishments-system:
status: Confirmed → Incomplete
Revision history for this message
Anders G. Jørgensen (spirit55555) wrote :

Not yet, but I will take a look at it tomorrow.

Revision history for this message
Anders G. Jørgensen (spirit55555) wrote :

I have fixed the warning in a branch. Now I need to figure out if the icon is really needed. One less warning is better than nothing thought.

Changed in ubuntu-accomplishments-system:
status: Incomplete → In Progress
Jono Bacon (jonobacon)
Changed in ubuntu-accomplishments-system:
status: In Progress → Triaged
status: Triaged → 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.