OK
Rating:
1.75
Thread Listing » General AWN Discussion
[Patch] Awn Manager applets add/delete
#10178 by ryancr (1.0000) posted on 11:25pm Wednesday, September 19th, 2007
For anyone who wishes to test this out, there is patch here:
https://bugs.launchpad.net/awn/+bug/141159
[Q]

Score: 0 points
Any particular reason?
#10180 by tehkain (1.0000) posted on 11:56pm Wednesday, September 19th, 2007
oh yea!@ Trying this. Its an essential feature that I hope is pushed.
[Q]

--
I hate rss, NM0.6x, atom, and xml. I love python, vala,and good documentation and APIs

*Edited at 11:57pm, 09/19/07
Score: 0 points
Any particular reason?
#10200 by rememo (0.4259) posted on 4:18am Thursday, September 20th, 2007
( no avatar )
Tested it too and it works. Great D
[Q]



However a few questions:
1. When I delete an applet it doesn't get removed from hard drive, so it shows up the next time I start awn-manager. Is this intentional?
[Q]



2. When an applet brings it's own icon with it, there's no chance to reference this icon from within the .desktop file (since the .desktop file specification doesn't support relative paths). So what about letting awn-manager check if there is a relative path set (by try loading, catch exception), replace it with the full path and write out the new .desktop file. An alternative would be /usr/local installation.
[Q]



3. Are you planning support for automatic .schema file installation (so i.e. look if there is a package_name.schema file)?
[Q]



Thanks, great work so far.
[Q]

Score: 0 points
Any particular reason?
#10218 by ryancr (1.0000) posted on 9:04am Thursday, September 20th, 2007
rememo said:
However a few questions:
1. When I delete an applet it doesn't get removed from hard drive, so it shows up the next time I start awn-manager. Is this intentional?
[Q]



That should not be happening, well it doesn't for me anyways, it should completely delete the applet. I only delete applets if there are in .config/awn/applets right now, then there is no need for sudo/root permissions.
[Q]




rememo said:
2. When an applet brings it's own icon with it, there's no chance to reference this icon from within the .desktop file (since the .desktop file specification doesn't support relative paths). So what about letting awn-manager check if there is a relative path set (by try loading, catch exception), replace it with the full path and write out the new .desktop file. An alternative would be /usr/local installation.
[Q]



Yes this would be something fairly easy to do, I will look into it.
[Q]




rememo said:
3. Are you planning support for automatic .schema file installation (so i.e. look if there is a package_name.schema file)?
[Q]



Actually I hadn't even thought about it, but I will look into this as well.
[Q]





*Edited at 9:05am, 09/20/07
Score: 0 points
Any particular reason?
#10273 by rememo (0.4259) posted on 3:17pm Thursday, September 20th, 2007
( no avatar )

That should not be happening, well it doesn't for me anyways, it should completely delete the applet. I only delete applets if there are in .config/awn/applets right now, then there is no need for sudo/root permissions.
[Q]



Hmm, it doesn't work here. When I delete an applet it stays there, obviously because of this error:
[Q]



 

Traceback (most recent call last):
File "/usr/local/share/avant-window-navigator/awn-manager/awnApplet.py", line 216, in delete_applet
self.remove_applet_dir(fullpath, path)
File "/usr/local/share/avant-window-navigator/awn-manager/awnApplet.py", line 250, in remove_applet_dir
self.clean_tmp(path)
AttributeError: awnApplet instance has no attribute 'clean_tmp'
[Q]
 



I've tested this with my RssApplet and used the directory structure as suggested.
[Q]




As for the other stuff, thanks, it will be great to have this functionality.
[Q]

Score: 0 points
Any particular reason?
#10274 by ryancr (1.0000) posted on 3:22pm Thursday, September 20th, 2007
rememo said:
Hmm, it doesn't work here. When I delete an applet it stays there, obviously because of this error:
[Q]




oops, some how the clean_tmp function isn't even in the patch. I'll fix that this evening when I add the other features.
[Q]



Thanks.
[Q]

Score: 0 points
Any particular reason?
#10314 by ryancr (1.0000) posted on 10:31pm Thursday, September 20th, 2007
Ok patch is updated.
[Q]






Directories removed correctly now.
[Q]



Devs can use relative paths for Icon in .desktop file
[Q]



And fixed a bug so that AWN Manager doesn't crash when the Icon in the .desktop file can't be found.
[Q]

Score: 0 points
Any particular reason?
#10318 by rememo (0.4259) posted on 1:47am Friday, September 21st, 2007
( no avatar )
Wow, thanks alot. D
[Q]



This one is working great now. Also great to see support for relative paths and the bugfix. This eases installation and removing alot.
[Q]

Score: 0 points
Any particular reason?
#10416 by ryancr (1.0000) posted on 3:02pm Friday, September 21st, 2007
Has anyone else had a chance to try this patch?
[Q]



Just want to know if there is any problems, so it can be commited.
[Q]

Score: 0 points
Any particular reason?
#10425 by ryancr (1.0000) posted on 5:03pm Friday, September 21st, 2007
Ok another update to the patch, thanks to gilir who found a couple more bugs, although I hope that is it ;)
[Q]

Score: 0 points
Any particular reason?
#28695 by asdf555999 (0.3588) posted on 12:04am Thursday, April 26th, 2012
( no avatar )
In a boost to animal welfare activists looking to get livestock out of cramped cages, Burger King will be the first major U.S. fast-food air jordan pas cher chain to give all of its chickens and pigs some room to roam.
[Q]



On Wednesday, the world's second-biggest burger chain pledged that all of its eggs and pork will come from cage-free chickens and pigs by 2017, hoping to satisfy rising consumer demand for humanely produced fare and increase its sales in the process.
[Q]



Other companies have made similar but less broad announcements this year, part of an industrywide shift to consider animal welfare when buying food supplies.
[Q]



"Even if you're buying a nike air max burger, you want to buy it from someone you like and respect," said food industry analyst Phil Lempert, who writes a daily industry newsletter. "It's proven that consumers are willing to pay a little bit more for fairness, whether it's to humans or animals."
[Q]



Conventionally raised eggs come from hens confined in "battery cages," nike air max pas cher which give them roughly the same space as a sheet of standard notebook paper. Most pork comes from sows confined during their four-month pregnancies in narrow crates.
[Q]



The hens would still nike pas cher be housed in a barn, but they have room to move and perches and nesting boxes. Sows are also held indoors, but they would not be confined in the cramped crates while they are pregnant.
[Q]



Egg and pork producers have argued that easing confinement standards for animals raises nike air max production costs and makes those who adjust their practices less competitive.
[Q]



Animal welfare groups applauded Burger King's decision.
[Q]



"So many tens of thousands of animals will now be in better living conditions," said Wayne Pacelle, president of the Humane Society of nike air max chaussures the United States, which has been pushing Burger King and other companies to adopt similar policies. "Numerically, this is significant because Burger King is such a big purchaser of these products."
[Q]

Score: 0 points
Any particular reason?
Thread Listing » General AWN Discussion » [Patch] Awn Manager applets add/delete

Post A Reply:

Powered by Metaforum ©2004-2012
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.