|
2009-03-30
, 06:17
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#53
|
- I can't get that hal method to show anything except '100'.
- I wish you could show me how to make a box pop up when you click on the icon...
- After the warning box, the icon disappears!
|
2009-03-30
, 23:24
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#54
|
But I never claimed I was a programmer. I just hack and spit-and-string whatever it takes together to make stuff work. Sometimes that means ugly dialogue boxes, other times that means derision from Real Programmers...
|
2009-04-11
, 21:09
|
Posts: 289 |
Thanked: 83 times |
Joined on Jul 2006
|
#55
|
|
2009-04-11
, 23:06
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#56
|
|
2009-04-12
, 00:59
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#57
|
daperl: The best thing about my N800 is that it is an ultra-portable Cave. I can retreat to my cave anywhere
Oh, and can you show me how to get a menu to pop up when you tap a system tray icon?
...wish I had your awk script....
|
2009-04-12
, 02:42
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#58
|
It was in the last tar file I attached. But no matter; I've attached a new tar with the xpm files and the awk script. Inside of batt-stat.py, the line that pops up the dialog reads:
self.statusIcon.connect('activate', self.on_activate)
|
2009-04-12
, 04:18
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#59
|
I'm sorry, my request was subtly different; I want a menu, not a dialog. I would like to make something nicer to run maemo apps than that ugly 9menu I'm using now, and I thought a pop-up menu from the system tray would be super-cool. But I don't know how to do that...
|
2009-04-12
, 09:30
|
Posts: 289 |
Thanked: 83 times |
Joined on Jul 2006
|
#60
|
delaroca: I confess that I haven't tried Skype (or anything else that uses the mic). Perhaps jaeezzy's suggestion about not disabling multimediad might fix things for you...
Tags |
chroot, debian, easy debian, lxde, replacement |
|
EDIT: LOOKED IT UP! Hahaha, "To downplay or misrepresent one's ability in a game or activity in order to deceive (someone), especially in gambling" ... I told you I used Google, I looked up how to run a shell command in Python; 5 forum threads later, I found my answer. Cut and paste, move on. I needed to find out how to look for a string inside a string. That was pretty fast. I then found I had to convert my string to an integer. This time, it only took two forums and a reference work. I then realized you had only 5 pictures (I still have no idea how you make text files into pictures, that's cool), so I had to take my percentage number and divide it by 20 to get a number /5. Oh, and I had to figure out how to do if-then statements. I discovered that indenting is important in Python. So anyway, if hacking your script makes you think I'm a master programmer or something, that is hilarious!
Original post continues below:
But I never claimed I was a programmer. I just hack and spit-and-string whatever it takes together to make stuff work. Sometimes that means ugly dialogue boxes, other times that means derision from Real Programmers...
If I shouldn't have messed with your code, I'm sorry...
NOTES:
- I can't get that hal method to show anything except '100'.
- I wish you could show me how to make a box pop up when you click on the icon...
- After the warning box, the icon disappears!
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2009-03-30 at 03:22. Reason: Found out what sandbagging is. Hahaha!