Awn

[Patch] Allow adding/deleting applets in AWN Manager

Bug #141159 reported by Ryan Rushton
2
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Medium
haytjes

Bug Description

This is a patch for AWN Manager which allows a user to drag an applet 'package' (tar.gz) on to the applets to install it. As well as delete applets easily.

The tar.gz needs to be like this:
yourapplet.tar.gz
   /yourappetdir
   /yourapplet.desktop

A very simple layout.

Revision history for this message
Ryan Rushton (ryancr) wrote :
Ryan Rushton (ryancr)
Changed in awn:
importance: Undecided → Medium
Revision history for this message
IM.tehk (im-tehk) wrote :

this patch seems to be working great. I would really like to distribute my applets in this way. Hope to see it in trunk.

Revision history for this message
haytjes (h4writer) wrote :

Will test it as soon as possible and commit it. That will be for tonight. (other devs, if you want to do it yourself, be free)

Changed in awn:
assignee: nobody → h4writer
status: New → Confirmed
Revision history for this message
Ryan Rushton (ryancr) wrote :

Don't commit this yet.

Found a couple bugs, and I am going to add a couple more features, hopefully this evening.

Revision history for this message
haytjes (h4writer) wrote :

No problem.

Revision history for this message
Ryan Rushton (ryancr) wrote :

Update Patch.

1. Add/Delete Applets
2. This now check for duplicate applets, and updates them.
3. Devs can now do relative icon paths in the .desktop file
      ie. Icon=yourapplet/icon.png will be updated when installed to Icon=/home/<user>/.config/awn/applets/yourapplet/icon.png
4. Fixed AWN manager from crashing when an applets icon can not be found

Revision history for this message
Ryan Rushton (ryancr) wrote :

Update Patch.

1. Add/Delete Applets
2. This now check for duplicate applets, and updates them.
3. Devs can now do relative icon paths in the .desktop file
      ie. Icon=yourapplet/icon.png will be updated when installed to Icon=/home/<user>/.config/awn/applets/yourapplet/icon.png
4. Fixed AWN manager from crashing when an applets icon can not be found

Revision history for this message
Ryan Rushton (ryancr) wrote :

Ok, third time the charm;

Updates:
1. fixes problems with spaces in directory paths
2. returns drag and drop sorting of the applets.

Revision history for this message
Ryan Rushton (ryancr) wrote :

Oh and the above also includes a patch from issacj87 for setting the name_change_notify flag in gconf

Ryan Rushton (ryancr)
Changed in awn:
status: Confirmed → Fix Committed
Changed in awn:
status: Fix Committed → 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.