OK
Pages: 1 2 3 4 5
Rating:
11.88
Thread Listing » AWN Applets
Stacks again, but now in python
#13358 by Timon (1.0000) posted on 3:13am Saturday, October 13th, 2007
I tried to rewrite the stacks applets, because it had some issues.
That version did not turned out that well, and I see people complaining
about issues all the time.
[Q]



I decided to start over again. It is almost finished. And as Awn supports
python, I prefered that language.
I won't go into details right now, but if you like the old version, you will definetely like the new one.
[Q]



This week I posted a blueprint and an "answer" on launchpad, and for now I did not get any reponse. So, I think the best option is to remove the old applet from the repository (only until the new one is posted there). If anyone wants to keep the old version in, let me know.
[Q]

Score: 0 points
Any particular reason?
#13360 by njpatel83 (1.0000) posted on 4:20am Saturday, October 13th, 2007
Timon said:
I decided to start over again. It is almost finished. And as Awn supports
python, I prefered that language.
I won't go into details right now, but if you like the old version, you will definetely like the new one.
[Q]



Excellent, I agree that Python may be better for this type of applet. Are you planning to release sometime soon? I'd like a working stacks implementation for the awn-core-applets release :-).
[Q]



Timon said:
This week I posted a blueprint and an "answer" on launchpad, and for now I did not get any reponse. So, I think the best option is to remove the old applet from the repository (only until the new one is posted there). If anyone wants to keep the old version in, let me know.
[Q]



I'd say that just replacing the existing code with the new code python is acceptable, as it really is a progression. Otherwise you can make a stacks2, and we can delete the old stacks when everyone is happy.
[Q]



Really cool stuff though, can't wait to try it out :-).
[Q]

Score: 0 points
Any particular reason?
#13365 by gilir (0.9999) posted on 5:07am Saturday, October 13th, 2007
The actual stack have many bugs, is not very stable, so if the new one offer better stablity, it's definitly a progression :) It would be perfect if we could test it a bit before the release of awn-core-applets :)
[Q]

Score: 0 points
Any particular reason?
#13366 by mstoikov (0.1764) posted on 5:12am Saturday, October 13th, 2007
( no avatar )
I am with gilir, and can you give a screenshot.
[Q]



And I think that you have to at least save somehow the old stacks for future debuging :)
[Q]

Score: 0 points
Any particular reason?
#13368 by mhr3 (0.9957) posted on 5:25am Saturday, October 13th, 2007
Yea, hopefully python stacks will be better, anyway I just finished doing optimizations for the C stacks - now it is much faster ;) Unfortunately there are no stability optimizations, I just didn't like how it everytime took 10seconds and more to load some of my directories...
[Q]



For those of you interested in the patch, it is here > http://www.mediafire.com/?ezythmhjtsq
[Q]



Btw @Neil: How about making awn-core team member of awn-extras team?
[Q]

Score: 0 points
Any particular reason?
#13371 by gilir (0.9999) posted on 5:45am Saturday, October 13th, 2007
mhr3 said:
Btw @Neil: How about making awn-core team member of awn-extras team?
[Q]



It's the same, but many dev should have the possibility to upload to awn-extras (especialy for the applets :)).
[Q]

Score: 0 points
Any particular reason?
#13374 by Timon (1.0000) posted on 6:07am Saturday, October 13th, 2007
Right after this post, I will commit the code to the repo.
The applet is called "stacks" ( Wow! :D )
[Q]



Anyway, I am aware of some bugs, which I will list here, and also the config dialog needs some layout changes. I decided not to wait any longer (till it's polished), so others can help as well.
[Q]



Known bugs/issues:
-the monitor on the directory does not react on files copied to the folder, it does on links, move and delete. Weird
-you can choose a type of backend: file (only list of symlinks) -> storing file not implemented yet, or folder (real file operations)
-in the end I used both gnomevfs and shutil (from python). Guess there is no smb support yet.
-used pango to shorten labels (let pango cut them off). Only could not get the labels to be of 2 lines length.
-browsing support is removed
-no real translation support yet
[Q]



Notes:
I guess the launching of items, and the icon handling are pretty good now. Other features/code of the applet needs review/testing and might not be complete yet.
[Q]



*Edited at 6:07am, 10/13/07
Score: 0 points
Any particular reason?
#13377 by Timon (1.0000) posted on 6:42am Saturday, October 13th, 2007
I just released the applet.
Another thing to improve are the inital settings of the applet:
-as a last minute change I had to provide a folder as backend: took "/tmp" for now. Could not quickly find a python solution to get the homedir.
[Q]

Score: 0 points
Any particular reason?
#13378 by mhr3 (0.9957) posted on 6:51am Saturday, October 13th, 2007
Unable to change the directory:
[Q]



 

Traceback (most recent call last):
File "/usr/local/lib/awn/applets/stacks/stacksconfig.py", line 163, in activate_filechooser
if not filesel.set_filename(gconf_backend):
TypeError: GtkFileChooser.set_filename() argument 1 must be string, not None
[Q]

Score: 0 points
Any particular reason?
#13379 by Timon (1.0000) posted on 7:06am Saturday, October 13th, 2007
I corrected that in the latest commit.
[Q]

Score: 0 points
Any particular reason?
#13382 by SilentStorm (0.7632) posted on 7:27am Saturday, October 13th, 2007
Timon said:
I corrected that in the latest commit.
[Q]



Seems to work nicely here,
[Q]



Can you make an option to hide the invisible files? I would like to make a stack of my home dir. so it's full of these hidden directories and files.
[Q]

Score: 0 points
Any particular reason?
#13386 by mhr3 (0.9957) posted on 8:04am Saturday, October 13th, 2007
Timon said:
I corrected that in the latest commit.
[Q]



Yea works fine now... And the option which SilentStorm mentioned would be great.
[Q]



*Edited at 8:05am, 10/13/07
Score: 0 points
Any particular reason?
#13389 by c.atterly (0.9959) posted on 9:15am Saturday, October 13th, 2007
Timon said:
I just released the applet.<br />Another thing to improve are the inital settings of the applet:<br />-as a last minute change I had to provide a folder as backend: took "/tmp" for now. Could not quickly find a python solution to get the homedir.
[Q]



How about:
[Q]



>>> import os; os.path.expanduser("~")
'/home/yelena'
[Q]



By the way, the new Stacks icon doesn't seem to respect the bar height.
[Q]




--
-Chaz

*Edited at 9:28am, 10/13/07
Score: 0 points
Any particular reason?
#13394 by Ago (0.3066) posted on 9:52am Saturday, October 13th, 2007
c.atterly said:
By the way, the new Stacks icon doesn't seem to respect the bar height.
[Q]



I second that.
[Q]



But great work :)
[Q]

Score: 0 points
Any particular reason?
#13397 by guillaume (0.2510) posted on 10:01am Saturday, October 13th, 2007
great work!
i noticed the following:
- moving file only copy them
- folder are omitted
- and as said above, bar height aren't respected
[Q]



but so far it's a very good work
[Q]

Score: 0 points
Any particular reason?
#13399 by isaac_j87 (1.0000) posted on 10:04am Saturday, October 13th, 2007
Really cool!
[Q]



It doesn't recognize desktop files unfortunately.
[Q]



Great work though Timon
[Q]

--
-Isaac
Score: 0 points
Any particular reason?
#13400 by ryancr (1.0000) posted on 10:16am Saturday, October 13th, 2007
I already like this version better.
[Q]



A couple of things I noticed:
- When you select a backend for stacks it says you can select a file or folder, but right now the dialog doesn't let you select a file.
- I have link select in Behavior, but it still just copies.
- clicking the Clear menu item clears the stack dialog but not the stack folder.
[Q]

Score: 0 points
Any particular reason?
#13401 by soro (0.5346) posted on 10:17am Saturday, October 13th, 2007
( no avatar )
Great, thanks also from here. This feels definitely so much sturdier than the last version of the old applet. And it also looks better. Great your working on it. Thanks a bunch!
[Q]

Score: 0 points
Any particular reason?
#13402 by Timon (1.0000) posted on 10:35am Saturday, October 13th, 2007
Some changes commited:
-hidden files/folder are not shown
-defaults to user's home dir
[Q]



ryancr said:
A couple of things I noticed:
- When you select a backend for stacks it says you can select a file or folder, but right now the dialog doesn't let you select a file.
- I have link select in Behavior, but it still just copies.
- clicking the Clear menu item clears the stack dialog but not the stack folder.
[Q]



I have not decided what to do with the clear operation. It seemd a little harsh to me to purge the whole backend.
Flat file backend is not implemented yet, and therefor not selectable.
File operations customization is also not complete.
[Q]




isaac_j87 said:
It doesn't recognize desktop files unfortunately.
[Q]



I will try to put that in asap. Right now I also struggle between using gnomevfs for some stuff, while using the simple (easy) file operation commands from python as well.
[Q]




guillaume said:
great work!
i noticed the following:
- moving file only copy them
- folder are omitted
- and as said above, bar height aren't respected
[Q]




Not entirely clear what you mean. The icon of the applet should scale with the bar height. At least it works here. Or did you mean something else?
[Q]



c.atterly said:
>>> import os; os.path.expanduser("~")
'/home/yelena'
[Q]



Thanks, I used that. I am not familiar with python, so I could not find it as quickly as I needed it.
[Q]



Score: 0 points
Any particular reason?
#13404 by mhr3 (0.9957) posted on 10:50am Saturday, October 13th, 2007
Seems to me like this in going to be the real "stack" applet, while the other is more like "file browser". So maybe we should keep both?
[Q]



And one little issue - would it be possible to ignore changes made to hidden files? For example now the applet plays attention effect every time I quit vim, because it updates ~/.viminfo, so any chance to ignore changes to hidden files?
[Q]

Score: 0 points
Any particular reason?
#13406 by c.atterly (0.9959) posted on 11:02am Saturday, October 13th, 2007
mhr3 said:
And one little issue - would it be possible to ignore changes made to hidden files? For example now the applet plays attention effect every time I quit vim, because it updates ~/.viminfo, so any chance to ignore changes to hidden files?
[Q]



Yeah that makes sense, if hidden files aren't shown, ignore changes to hidden files.
[Q]



Timon said:

Not entirely clear what you mean. The icon of the applet should scale with the bar height. At least it works here. Or did you mean something else?
[Q]



This is what it looks like for me, with a 32 bar height:
[Q]



[Q]



--
-Chaz
Score: 0 points
Any particular reason?
#13409 by Decline (0.9207) posted on 11:26am Saturday, October 13th, 2007
New suggestion! :
I have two computers, one laptop with linux, and one normal pc with win xp. I use a memory stick when transferring files between them, and on a lot of other occasions as well (for ex. my mp3-player). What about, when you plug in a memory stick, a new stack applet pops up displaying the memory stick, and then you can just drag files to the new stack applet to transfer to/from the memory stick?
[Q]



I think that would be really useful.
[Q]



Score: 0 points
Any particular reason?
#13411 by masch (0.2036) posted on 11:32am Saturday, October 13th, 2007
( no avatar )
How can i get this applet?..
[Q]



Salu2...
[Q]



*Edited at 11:35am, 10/13/07
Score: 0 points
Any particular reason?
#13414 by Onilton (0.9977) posted on 11:44am Saturday, October 13th, 2007
Decline said:
New suggestion! :
I have two computers, one laptop with linux, and one normal pc with win xp. I use a memory stick when transferring files between them, and on a lot of other occasions as well (for ex. my mp3-player). What about, when you plug in a memory stick, a new stack applet pops up displaying the memory stick, and then you can just drag files to the new stack applet to transfer to/from the memory stick?
[Q]



Nice Idea.
[Q]



By the way, Decline do you know synergy?
[Q]

Score: 0 points
Any particular reason?
#13416 by njpatel83 (1.0000) posted on 11:49am Saturday, October 13th, 2007
Decline said:
New suggestion! :
I have two computers, one laptop with linux, and one normal pc with win xp. I use a memory stick when transferring files between them, and on a lot of other occasions as well (for ex. my mp3-player). What about, when you plug in a memory stick, a new stack applet pops up displaying the memory stick, and then you can just drag files to the new stack applet to transfer to/from the memory stick?
[Q]



Very cool idea, use the HAL bindings to find out when drives are mounted...
[Q]

Score: 0 points
Any particular reason?
#13418 by masch (0.2036) posted on 12:06pm Saturday, October 13th, 2007
( no avatar )
Do I have to download all extra again to get this applet?
[Q]



Salu2...
[Q]

Score: 0 points
Any particular reason?
#13419 by soro (0.5346) posted on 12:09pm Saturday, October 13th, 2007
( no avatar )
masch said:
Do I have to download all extra again to get this applet?
[Q]



At the moment, you probably have to check out from launchpad with bazar. If you do that anyway, you go into the awn-extras folder, type bzr up, and there you go. Needless to say, you then have to compile it again.
[Q]



*Edited at 12:10pm, 10/13/07
Score: 0 points
Any particular reason?
#13428 by StrangeQuark (0.3926) posted on 2:22pm Saturday, October 13th, 2007
Looking pretty good so far!
[Q]



A couple of remarks/questions:
[Q]



I can't add multiple stack applets. Everything after the first one is just a white line.
[Q]



Will you be adding support for large backend folders (with lots of files)?
[Q]



Will we be able to choose a custom icon instead of the composite one?
[Q]



And what about a custom icon size (for the files inside the stack, not the stack item itself)?
[Q]

Score: 0 points
Any particular reason?
#13447 by Decline (0.9207) posted on 6:02pm Saturday, October 13th, 2007
Onilton said:
By the way, Decline do you know synergy?
[Q]



Synergy, like, the band?
[Q]

Score: 0 points
Any particular reason?
#13449 by Suzuran (0.2772) posted on 8:57pm Saturday, October 13th, 2007
mhr3 said:
Seems to me like this in going to be the real "stack" applet, while the other is more like "file browser". So maybe we should keep both?
[Q]



I like this idea.
[Q]

Score: 0 points
Any particular reason?
#13450 by Onilton (0.9977) posted on 9:07pm Saturday, October 13th, 2007
Decline said:
Synergy, like, the band?
[Q]






I said that because if your run a linux and a windows computer at the same time you check it! You can even copy and paste text from an window to another...
[Q]

Score: 0 points
Any particular reason?
#13465 by baldmonkey (0.4036) posted on 4:41am Sunday, October 14th, 2007
Is there any way of making the middle click open the default folder? That way it could perform two tasks one as a launcher and the other as the stack.
[Q]

Score: 0 points
Any particular reason?
#13469 by Timon (1.0000) posted on 5:14am Sunday, October 14th, 2007
Another update (bzr 89)
* stacks applet:
-added preferences-option to set the icon size
-added middle-mouse-button event to open backend folder
-improved layout of preferences dialog
[Q]



I still have a problem (and I guess right now it is the most important issue) with rendering the icon labels. In the old version it was also a hack to accomplish what i wanted. Now I tried different things, like settings a combination of pango options, but I could not accomplish what I want:
a 2-line label for the filename of the icon, and any trailing chars that do not fit have to be cut off.
Has anyone a nice solution / point of direction for an example?
[Q]



StrangeQuark said:
I can't add multiple stack applets. Everything after the first one is just a white line.
[Q]



Right now it works. Let me know if it still does not (with bzr 89).
[Q]



StrangeQuark said:
Will you be adding support for large backend folders (with lots of files)?
[Q]



Probably not. Stacks is designed to hold a small amount of items. I tried something with the old version, but it is really hard to implement well (keeping performance and layout good).
[Q]



StrangeQuark said:
Will we be able to choose a custom icon instead of the composite one?
[Q]



Yes, that won't be too hard. It is not on the top of the list, but with a little patience you will see it appear.
[Q]



StrangeQuark said:
And what about a custom icon size (for the files inside the stack, not the stack item itself)?
[Q]



Done.
[Q]



Decline said:
New suggestion! :
I have two computers, one laptop with linux, and one normal pc with win xp. I use a memory stick when transferring files between them, and on a lot of other occasions as well (for ex. my mp3-player). What about, when you plug in a memory stick, a new stack applet pops up displaying the memory stick, and then you can just drag files to the new stack applet to transfer to/from the memory stick?
[Q]



I posted that idea a long time ago as a blueprint to launchpad. But I guess the quality of the stack applet was not high enough to implement such a thing.
[Q]



mhr3 said:
Seems to me like this in going to be the real "stack" applet, while the other is more like "file browser". So maybe we should keep both?
[Q]



We can keep both, but the only thing I will do then is not removing the old version. I will not maintain that applet; that is why I wrote this one.
[Q]

Score: 0 points
Any particular reason?
#13473 by Decline (0.9207) posted on 6:08am Sunday, October 14th, 2007
Onilton said:
I said that because if your run a linux and a windows computer at the same time you check it! You can even copy and paste text from an window to another...
[Q]



Ah thanks that's cool, although I probably can't use it :( My WinXP computer has to be disconnected while my lappy is connected to the network. It is because the network allows access based on the MAC-address, so only one pc can connect at a time if it is to be stable. (Actually I use my win xp pc's MAC-adress, but have spoofed it on my laptop ;) )
[Q]

Score: 0 points
Any particular reason?
#13474 by Timon (1.0000) posted on 6:44am Sunday, October 14th, 2007
90. By Timon ter Braak <timonterbraak@gmail.com> 29 seconds ago
[Q]



* stacks applet:
-added option to use composite applet icon
-added option to alter default applet icons
[Q]

Score: 0 points
Any particular reason?
#13478 by Photon (0.6711) posted on 7:03am Sunday, October 14th, 2007
( no avatar )
I get the "line of death" since the 89. or 90. revision. Following output:
[Q]



 
Creating new applet :None uid:None
Creating new applet :/usr/local/lib/awn/applets/stacks.desktop uid:1192370513
[Q]



** (awn-applet-activation:908): WARNING **: This desktop file does not exist None
[Q]



*** Calling generate_thumbnail for file:///home/photon/Examples
*** Calling generate_thumbnail for file:///home/photon/программа1.doc
*** Calling generate_thumbnail for file:///home/photon/Bilder
*** Calling generate_thumbnail for file:///home/photon/экран_коки.doc
*** Calling generate_thumbnail for file:///home/photon/awnfaq.odt
*** Calling generate_thumbnail for file:///home/photon/Vorlagen
*** Calling generate_thumbnail for file:///home/photon/nautilus-debug-log.txt
*** Calling generate_thumbnail for file:///home/photon/Öffentlich
*** Calling generate_thumbnail for file:///home/photon/Scan
*** Calling generate_thumbnail for file:///home/photon/Desktop.zip
*** Calling generate_thumbnail for file:///home/photon/Musik
*** Calling generate_thumbnail for file:///home/photon/screenlets-0.0.10
*** Calling generate_thumbnail for file:///home/photon/отчет_коки.doc
*** Calling generate_thumbnail for file:///home/photon/erbenux tux.jpg
*** Calling generate_thumbnail for file:///home/photon/NVIDIA-Linux-x86-100.14.19-pkg1.run
*** Calling generate_thumbnail for file:///home/photon/Dokumente
*** Calling generate_thumbnail for file:///home/photon/key.gpg.asc
*** Calling generate_thumbnail for file:///home/photon/Coccinella-0.96.0.bin
*** Calling generate_thumbnail for file:///home/photon/GNUstep
*** Calling generate_thumbnail for file:///home/photon/knoppix-pinguin-blind.gif
*** Calling generate_thumbnail for file:///home/photon/midi
*** Calling generate_thumbnail for file:///home/photon/Desktop
*** Calling generate_thumbnail for file:///home/photon/aaa.ods
*** Calling generate_thumbnail for file:///home/photon/Nexuiz
*** Calling generate_thumbnail for file:///home/photon/svn
*** Calling generate_thumbnail for file:///home/photon/6128c.fkt
*** Calling generate_thumbnail for file:///home/photon/aptrepository.asc
*** Calling generate_thumbnail for file:///home/photon/Coccinella.desktop
*** Calling generate_thumbnail for file:///home/photon/tremulous.desktop
*** Calling generate_thumbnail for file:///home/photon/Ungespeichertes Dokument 1~
*** Calling generate_thumbnail for file:///home/photon/e_stat_6.doc
*** Calling generate_thumbnail for file:///home/photon/Videos
*** Calling generate_thumbnail for file:///home/photon/Ungespeichertes Dokument 1
*** Calling generate_thumbnail for file:///home/photon/curve.png
add monitor for folder: /home/photon
Traceback (most recent call last):
File "/usr/local/lib/awn/applets/stacks/stacks.py", line 525, in <module>
applet = App (awn.uid, awn.orient, awn.height)
File "/usr/local/lib/awn/applets/stacks/stacks.py", line 123, in __init__
self.get_config()
File "/usr/local/lib/awn/applets/stacks/stacks.py", line 432, in get_config
self.set_full_icon(pixbuf)
File "/usr/local/lib/awn/applets/stacks/stacks.py", line 319, in set_full_icon
icon = gdk.pixbuf_new_from_file(self.config_icon_full)
gobject.GError: Datei »/usr/local/lib/awn/applets/stacks/icons/stacks_full.svg« konnte nicht geöffnet werden: No such file or directory
[Q]



The icon seems not to be found. Running Gutsy Beta
[Q]

Score: 0 points
Any particular reason?
#13480 by Timon (1.0000) posted on 7:39am Sunday, October 14th, 2007
Photon said:
The icon seems not to be found. Running Gutsy Beta
[Q]



Sorry, I made a mistake: "_" instead of "-". Is fixed in bzr 91
[Q]



Score: 0 points
Any particular reason?
#13484 by c.atterly (0.9959) posted on 7:54am Sunday, October 14th, 2007
Cool, does this fix the icon size issue a bunch of us were experiencing?
[Q]



By the way, does anyone know why 'bzr update' doesn't work in the folder? It says 'Tree is up to date at revision 87.' What am I doing wrong?
[Q]

--
-Chaz

*Edited at 7:55am, 10/14/07
Score: 0 points
Any particular reason?
#13500 by Photon (0.6711) posted on 9:39am Sunday, October 14th, 2007
( no avatar )
Ok, it's working now. :)
[Q]

Score: 0 points
Any particular reason?
#13503 by plunn (1.0000) posted on 10:25am Sunday, October 14th, 2007
Timon said:
Sorry, I made a mistake: "_" instead of "-". Is fixed in bzr 91
[Q]



Yup... great work !
[Q]



Maybe I missed something... ? Choosing "file" as backend ??
How ?
[Q]



[Q]



Score: 0 points
Any particular reason?
#13505 by Timon (1.0000) posted on 10:30am Sunday, October 14th, 2007
plunn said:
Maybe I missed something... ? Choosing "file" as backend ??
How ?
[Q]



Timon said:
Known bugs/issues:
-the monitor on the directory does not react on files copied to the folder, it does on links, move and delete. Weird
-you can choose a type of backend: file (only list of symlinks) -> storing file not implemented yet, or folder (real file operations)
-in the end I used both gnomevfs and shutil (from python). Guess there is no smb support yet.
-used pango to shorten labels (let pango cut them off). Only could not get the labels to be of 2 lines length.
-browsing support is removed
-no real translation support yet
[Q]



Score: 0 points
Any particular reason?
#13509 by plunn (1.0000) posted on 10:57am Sunday, October 14th, 2007
Ok, thanks...
[Q]



I tried to download to my stack folder, I have set that folder
as default download location within Firefox but this folder seems to be "restricted" now... ???
[Q]



I also switched to Debian Sid... :-) so I am a little as
Walt Disneys "Bambi on ice".. :-)
[Q]



EDIT Firefox message
[Q]



/tmp-1 could not be saved, because you cannot change the contents of that folder.
[Q]



Change the folder properties and try again, or try saving in a different location.
[Q]



*Edited at 10:59am, 10/14/07
Score: 0 points
Any particular reason?
#13511 by StrangeQuark (0.3926) posted on 11:09am Sunday, October 14th, 2007
Timon said:
Probably not. Stacks is designed to hold a small amount of items. I tried something with the old version, but it is really hard to implement well (keeping performance and layout good).
[Q]



That'd be a shame. sulk
I know I'm not the only one using stacks as a frontend for avatar-factory. But I've got more albums and movies than can fit my screen.
[Q]

Score: 0 points
Any particular reason?
#13519 by davim (0.9996) posted on 11:19am Sunday, October 14th, 2007
StrangeQuark said:
That'd be a shame. sulk
I know I'm not the only one using stacks as a frontend for avatar-factory. But I've got more albums and movies than can fit my screen.
[Q]



I agree :(
[Q]

Score: 0 points
Any particular reason?
#13534 by Timon (1.0000) posted on 1:40pm Sunday, October 14th, 2007

93. By Timon ter Braak <timonterbraak@gmail.com> 4 minutes ago
[Q]



* stack applet:
-added support for file backends (default)
-do not set dialog title with file backends, allows for small stacks
-altered some preferences
[Q]

Score: 0 points
Any particular reason?
#13540 by c.atterly (0.9959) posted on 1:57pm Sunday, October 14th, 2007
Timon said:

93. By Timon ter Braak <timonterbraak@gmail.com> 4 minutes ago
[Q]



Nice. What about the icon size :)
[Q]




c.atterly said:
By the way, does anyone know why 'bzr update' doesn't work in the folder? It says 'Tree is up to date at revision 87.' What am I doing wrong?
[Q]



Also any ideas on this? Re-downloading it is sub optimal.
[Q]

--
-Chaz
Score: 0 points
Any particular reason?
#13541 by Timon (1.0000) posted on 2:02pm Sunday, October 14th, 2007
c.atterly said:
Nice. What about the icon size :)
[Q]



Cannot figure out the problem. In my setup the stack applet icon sizes along with the bar. It can get bigger and smaller (i.e. I tried 24px, 48px and 96px).
The icons are exact the same height as given as parameter to the applet.
[Q]

Score: 0 points
Any particular reason?
#13553 by spanella47 (0.4119) posted on 4:23pm Sunday, October 14th, 2007
with the folder backend: would be kinda cool if you could drag the popup away from the bar causing nautilus to open the current folder whether it be the assigned folder or folder navigated to
[Q]

Score: 0 points
Any particular reason?
#13560 by ryancr (1.0000) posted on 5:53pm Sunday, October 14th, 2007
This is working great. The only other thing I can see having is a way to remove a single file from the stack.
[Q]



Maybe if using File based handling, if you drag a icon out of the stack it just removes it instead of copying it.
[Q]



Or maybe a small trash icon in the stack that you can drag a stack item to.
[Q]



*Edited at 5:53pm, 10/14/07
Score: 0 points
Any particular reason?
#13563 by Sewage (0.6605) posted on 6:07pm Sunday, October 14th, 2007
This applet isn't working for me, I get this error when I load AWN through terminial and add the applet.
[Q]



"OSError: [Errno 2] No such file or directory: '/home/lee/.awn/stacks'"
[Q]



*Edited at 6:11pm, 10/14/07
Score: 0 points
Any particular reason?
#13564 by ryancr (1.0000) posted on 6:10pm Sunday, October 14th, 2007
Sewage said:
"OSError: [Errno 2] No such file or directory: '/home/lee/.awn/stacks'"
[Q]



I was wondering where the file for stacks was stored.
[Q]



Instead of making another hidden directory in the users home directory why not put it in something like ~/.config/awn/stacks
[Q]



Plus you will always know the user has the ~/.config/awn directory
[Q]



*Edited at 6:11pm, 10/14/07
Score: 0 points
Any particular reason?
#13565 by Sewage (0.6605) posted on 6:12pm Sunday, October 14th, 2007
It would be nice if for the most part AWN related items were held in the same area.
[Q]

Score: 0 points
Any particular reason?
#13579 by Timon (1.0000) posted on 11:03pm Sunday, October 14th, 2007
ryancr said:
Maybe if using File based handling, if you drag a icon out of the stack it just removes it instead of copying it.
[Q]



That is supposed to work. You can drag an item from the stack to for example the trash.
[Q]



ryancr said:
Instead of making another hidden directory in the users home directory why not put it in something like ~/.config/awn/stacks
[Q]



Ow, well. I will change the directory. On my computer there was a ".awn" directory already, holding the custom icons. Guess that dir was a leftover from having almost every bzr rev. that was out there... :D
[Q]

Score: 0 points
Any particular reason?
#13580 by ryancr (1.0000) posted on 11:13pm Sunday, October 14th, 2007
Timon said:
That is supposed to work. You can drag an item from the stack to for example the trash.
[Q]



Well right now if I drag a file out of the stack on to the trash it removes it from the stack but it also deletes the original file.
[Q]



Where it would be nice for it to just remove it from the stack and leave the original alone.
[Q]



(I am using the file based stack)
[Q]



*Edited at 11:14pm, 10/14/07
Score: 0 points
Any particular reason?
#13581 by Timon (1.0000) posted on 11:42pm Sunday, October 14th, 2007
ryancr said:
Well right now if I drag a file out of the stack on to the trash it removes it from the stack but it also deletes the original file.
[Q]



That is suppose to happen right? Or do I not understand you?
For example: If you drag a file out of the stack onto the desktop and use the appropriate modifier keys (ie. SHIFT) it is moved to the desktop
It might confuse you with the "file operations" set in the preferences? Currently that setting is only for dragging TO the stack, not FROM. I might need to change something there, as well as to provide a default action.
[Q]

Score: 0 points
Any particular reason?
#13582 by ryancr (1.0000) posted on 11:48pm Sunday, October 14th, 2007
Timon said:
That is suppose to happen right? Or do I not understand you?<br />For example: If you drag a file out of the stack onto the desktop and use the appropriate modifier keys (ie. SHIFT) it is moved to the desktop<br />It might confuse you with the "file operations" set in the preferences? Currently that setting is only for dragging TO the stack, not FROM. I might need to change something there, as well as to provide a default action.<br />
[Q]



Yes, if you are using the 'folder' backend with the modifier keys that makes sense.
[Q]



But I am referring to the 'file' backend where all it does is symlink to the folders. In that case if I drag an item out of the stack to the trash I don't want it do delete the original item, just the item in the stack (the symlink). Sort of like "Clear" does, but with just a single item.
[Q]



I know this is just my personal opinion of what I want. As I just want to use 'stacks' as a simple temporary file holder, for projects etc. I don't really need any file management capabilities.
[Q]



*Edited at 11:51pm, 10/14/07
Score: 0 points
Any particular reason?
#13583 by Timon (1.0000) posted on 12:36am Monday, October 15th, 2007
ryancr said:
But I am referring to the 'file' backend where all it does is symlink to the folders. In that case if I drag an item out of the stack to the trash I don't want it do delete the original item, just the item in the stack (the symlink). Sort of like "Clear" does, but with just a single item.
[Q]



Finally I get the point. But I am not sure how to do that. If you drag an icon to the trash, it is not the stack applet that actually deletes the file, but the trash itself. The stack applet only presents a location of the file. Thus the stack applet does not know the difference between a trash and for example firefox.
[Q]

Score: 0 points
Any particular reason?
#13605 by ryancr (1.0000) posted on 8:41am Monday, October 15th, 2007
Timon said:
Finally I get the point. But I am not sure how to do that. If you drag an icon to the trash, it is not the stack applet that actually deletes the file, but the trash itself. The stack applet only presents a location of the file. Thus the stack applet does not know the difference between a trash and for example firefox.
[Q]



Ah gotcha, that makes sense. Well at least we know we understand each other ;)
[Q]



Thats why I proposed an alternative way of removing a single item.
1. Dragging it out of the stack.(This may not be possible either, this one comes from my days of using YzDock)
2. Create a small stack based trash icon that you can drag a file to
3. Right click a file and select "Remove"
[Q]



There may be other better ideas, but those are the ones I can come up with now.
[Q]



*Edited at 8:43am, 10/15/07
Score: 0 points
Any particular reason?
#13607 by Photon (0.6711) posted on 9:01am Monday, October 15th, 2007
( no avatar )
How do I switch between the backends? :) Btw, the encoding of file names doesn't work properly. I. e. if I put in a file named "new file" I get "new%20file".
[Q]

Score: 0 points
Any particular reason?
#13622 by spanella47 (0.4119) posted on 12:09pm Monday, October 15th, 2007
ryancr said:
Thats why I proposed an alternative way of removing a single item.
1. Dragging it out of the stack.(This may not be possible either, this one comes from my days of using YzDock)
2. Create a small stack based trash icon that you can drag a file to
3. Right click a file and select "Remove"
[Q]



#3 seems to make the most sense. using a trash icon resembles deleting files too much. and pulling out of the stack would make more sense to either move the file or create new link where it is dragged.
[Q]

Score: 0 points
Any particular reason?
Pages: 1 2 3 4 5
Thread Listing » AWN Applets » Stacks again, but now in python

Post A Reply:

Anonymous posting has been disabled. Please register first before attempting to post.
Powered by Metaforum ©2004-2010
Get your own Free AJAX Forum Messageboard by visiting the offical site.
.