Recurrence in seconds, in python-alarm

2009-11-23 Thread Jonathan Blake
Hey all,

I've been wracking my brains the last few days trying to figure out how to
use alarm to set up recurrence in seconds, with an infinite amount of
recurrences.

My ideal result is being able to exec command every X seconds (where X is a
large number of seconds), indefinitely.

Does anybody have any idea of how one would do this in python-alarm?

Thanks!
Jon
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Left high-and-dry by Nokia/Ovi store :(

2009-11-17 Thread Jonathan Blake
I'm cross posting this from the TMO forums after suggestion, apologies to
anyone who has already read what I have to say.
--

Having faithfully paid the 50 euros to register with Ovi Publishers several
days ago, I have been happily working on my upcoming application, preparing
for the release of the new N900 store which I was assured is in the last
stages of finalization.

I have spent many years in Canada operating doing very legitimate and legal
development as a sole proprietor, as long as one pays taxes, there is no
necessity to incorporate as a company, as this is recognized as an important
element of trade (not everyone who does business can or will incorporate).


Today my Nokia Store / Ovi Publisher account was disabled and locked out,
because I am not a corporation.

Nokia does not recognize individuals or sole proprietorship as valid
business entities, and as such only corporations may publish through the Ovi
store. Needless to say, as a legitimate businessman, I feel incredibly let
down by Nokia, and the Ovi policies. These policies are going to prevent 95%
of application developers from publishing through nokia, leaving only the
choice of giving our work away for free (which is fine if you're into that),
or trying to establish an independent distribution channel which is going to
be incredibly difficult.

Nokia should ensure that they either recognise sole proprietorships as
legitimate business entities, or make it very clear - and i mean 72px font
clear, that they do not allow individuals to publish through the store.

I moved over from Apple because of their policies and increasingly
corporation-centric publishing rules. I'm really sad to say that it looks
like I made a mistake, and without a distribution channel, Nokia has left
me, and many other future application developers high and dry.


I know I'm feeling emotional, but right now I just feel like forgetting I
ever heard about the N900. This sucks
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Problems Panning/Clicking with GtkIconView

2009-11-13 Thread Jonathan Blake
The solution to this, thanks to zaheerm on talk.maemo.org -
http://talk.maemo.org/showthread.php?t=34369:


1st change your event connection to be item-activated not selection-changed
2nd no need to set the selection mode
3rd don't add the grid with add_with_viewport, instead use add


Cheers!
Jon

On Mon, Nov 9, 2009 at 4:04 PM, Jonathan Blake code...@gmail.com wrote:
 Hi everyone,

 I am having a hell of a time trying to get an GtkIconView working correctly
 with the pannable area widget. Using hildon.GtkIconView I am able to pan by
 using the scrollwheel on my mouse, but if i click anywhere to start panning,
 it immediately activates whatever was clicked on. gtk.IconView does pretty
 much exactly the same thing. Removing the connect function obviously allows
 you to pan freely.

 Code is as follows (I've left in various settings etc for completeness'
 sake):
 
 pan_area = hildon.PannableArea()
 model = gtk.ListStore(str, gtk.gdk.Pixbuf)

 for item in xmlf:
     thumbnail_data = gtk.gdk.pixbuf_new_from_file(
 cache_path_thumbs + item[filename])
     model.append([str(item['name']), thumbnail_data])

 grid = hildon.GtkIconView(gtk.HILDON_UI_MODE_NORMAL, model)
 grid.set_selection_mode(gtk.SELECTION_SINGLE)
 grid.set_pixbuf_column(1)
 grid.set_columns(4)
 grid.set_item_width(190)
 grid.set_spacing(thumbnail_spacing)
 grid.connect('selection-changed', self.thumbnailSelect, model, window)
 pan_area.add_with_viewport(grid)
 

 Points of note: I'm using the Vmware SDK. I know that has a few bugs so
 maybe this is one of them. As mentioned, the scrollwheel does pan the area,
 so pannable area is working as intended.

 Does anyone have any ideas? this is a pretty critical issue and I don't know
 of anyone else who's managed to get this working.

 What am I doing wrong?

 Thanks!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Preferred way to set timed events in fremantle?

2009-11-13 Thread Jonathan Blake
Hi all,

So I'm wondering what the preferred way to set up a timed event (like
a cronjob) in fremantle is? I've seen various mentions of alarm and
cron, etc, but I'm not sure what to use. I'd like to be able to modify
these events too, such as changing the time period in which they
happen.

What would be the best and easiest, and most power efficient way of doing this?

thanks all,
Jonathan
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Problems Panning/Clicking with GtkIconView

2009-11-10 Thread Jonathan Blake
Hi Daniel,

I'm using the PreFinal from http://maemovmware.garage.maemo.org/ -
Does that sound like it would be the cause of my problems?

Cheers
Jon



On Tue, Nov 10, 2009 at 12:15 AM, daniel wilms daniel.wi...@nokia.com wrote:

 Hi Jonathan,

 which VMWare image and SDK are you using? This was an issue in the Beta SDK 
 and with the Final SDK it should work.

 Cheers Daniel

 ext Jonathan Blake wrote:

 Hi everyone,

 I am having a hell of a time trying to get an GtkIconView working correctly 
 with the pannable area widget. Using hildon.GtkIconView I am able to pan by 
 using the scrollwheel on my mouse, but if i click anywhere to start panning, 
 it immediately activates whatever was clicked on. gtk.IconView does pretty 
 much exactly the same thing. Removing the connect function obviously allows 
 you to pan freely.

 Code is as follows (I've left in various settings etc for completeness' 
 sake):
 
 pan_area = hildon.PannableArea()
 model = gtk.ListStore(str, gtk.gdk.Pixbuf)

 for item in xmlf:
    thumbnail_data = gtk.gdk.pixbuf_new_from_file(
 cache_path_thumbs + item[filename])
    model.append([str(item['name']), thumbnail_data])
           grid = hildon.GtkIconView(gtk.HILDON_UI_MODE_NORMAL, model)
 grid.set_selection_mode(gtk.SELECTION_SINGLE)
 grid.set_pixbuf_column(1)
 grid.set_columns(4)
 grid.set_item_width(190)
 grid.set_spacing(thumbnail_spacing)
 grid.connect('selection-changed', self.thumbnailSelect, model, window)
 pan_area.add_with_viewport(grid)
 

 Points of note: I'm using the Vmware SDK. I know that has a few bugs so 
 maybe this is one of them. As mentioned, the scrollwheel does pan the area, 
 so pannable area is working as intended.

 Does anyone have any ideas? this is a pretty critical issue and I don't know 
 of anyone else who's managed to get this working.

 What am I doing wrong?

 Thanks!

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Problems Panning/Clicking with GtkIconView

2009-11-09 Thread Jonathan Blake
Hi everyone,

I am having a hell of a time trying to get an GtkIconView working correctly
with the pannable area widget. Using hildon.GtkIconView I am able to pan by
using the scrollwheel on my mouse, but if i click anywhere to start panning,
it immediately activates whatever was clicked on. gtk.IconView does pretty
much exactly the same thing. Removing the connect function obviously allows
you to pan freely.

Code is as follows (I've left in various settings etc for completeness'
sake):

pan_area = hildon.PannableArea()
model = gtk.ListStore(str, gtk.gdk.Pixbuf)

for item in xmlf:
thumbnail_data = gtk.gdk.pixbuf_new_from_file(
cache_path_thumbs + item[filename])
model.append([str(item['name']), thumbnail_data])

grid = hildon.GtkIconView(gtk.HILDON_UI_MODE_NORMAL, model)
grid.set_selection_mode(gtk.SELECTION_SINGLE)
grid.set_pixbuf_column(1)
grid.set_columns(4)
grid.set_item_width(190)
grid.set_spacing(thumbnail_spacing)
grid.connect('selection-changed', self.thumbnailSelect, model, window)
pan_area.add_with_viewport(grid)


Points of note: I'm using the Vmware SDK. I know that has a few bugs so
maybe this is one of them. As mentioned, the scrollwheel does pan the area,
so pannable area is working as intended.

Does anyone have any ideas? this is a pretty critical issue and I don't know
of anyone else who's managed to get this working.

What am I doing wrong?

Thanks!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Changing Freemantle Desktop Backgrounds

2009-10-21 Thread Jonathan Blake
First post here, so greetings, etc. :)

As some of you may know, I'm currently developing a wallpaper management
application (python) that ties into n900wallpapers.com. However, the big
roadblock I've come up across so far is actually changing the user's desktop
background.

The only information I can find on this is a bug report from 2008 (
https://bugs.maemo.org/show_bug.cgi?id=3030) and some C code, also from 2008
for hildon 2.0 (
http://timeless.justdave.net/mxr-test/os2008/source/hildon-desktop-2.0.6/background-manager/background-manager.c
).

Can anybody point me in the right direction?

Thanks!
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers