Showing results 1 to 11 of 11 @ 0.00 seconds. Search: Posts Made By: farhadi
Forum: Applications 2010-12-01, 20:39
Replies: 31
Views: 18,300
Posted By farhadi
Re: [Announce] Multi-calendar Date Widget (Persian, Islamic/Hijri and other calendars)

CasTTeLLo and meLi,
Have you tried changing language to Arabic?
there is no problem in Arabic.
Forum: Applications 2010-05-17, 06:44
Replies: 31
Views: 18,300
Posted By farhadi
Re: [Announce] Multi-calendar Date Widget (Persian, Islamic/Hijri and other calendars)

Actually I didn't write the calendar algorithms myself. I'm just using libicu for calendar calculations.
The only thing that I could understand from documentations is that the Islamic one is a...
Forum: Applications 2010-05-10, 11:01
Replies: 31
Views: 18,300
Posted By farhadi
Re: [Announce] Multi-calendar Date Widget (Persian, Islamic/Hijri and other calendars)

The application itself is about 200kb
and libicu42 which includes all the calendars and languages is only 700kb
The only problem is that the app is written in python so python interpreter and some...
Forum: Applications 2010-05-10, 04:28
Replies: 31
Views: 18,300
Posted By farhadi
Re: [Announce] Multi-calendar Date Widget (Persian, Islamic/Hijri and other calendars)

Hey guys,

I have just fixed the dependency issue which will be available in the next repository update.

and about arabic font issue.
for a nice look in arabic and persian languages this widget...
Forum: Applications 2010-05-05, 11:07
Replies: 31
Views: 18,300
Posted By farhadi
[Announce] Multi-calendar Date Widget (Persian, Islamic/Hijri and other calendars)

I'm happy to announce that my first maemo widget (Multi-calendar Date Widget) is successfully added to extras-devel repository:
http://maemo.org/packages/view/multical-date-widget/

This widget...
Forum: Development 2010-05-04, 18:27
Replies: 3
Views: 1,442
Posted By farhadi
Re: How to package an app which uses a python module not available in pymaemo

Thanks Rob1n

Can somebody give me instructions on how to package PyICU for autobuilder.
(PyICU source: http://pypi.python.org/packages/source/P/PyICU/PyICU-0.9.tar.gz)
Forum: Development 2010-05-04, 12:24
Replies: 3
Views: 1,442
Posted By farhadi
How to package an app which uses a python module not available in pymaemo

Hi,

I wrote a widget which uses PyICU module.
PyICU is not available in pymaemo packages so I built it myself using fremantle SDK.

Following py2deb instructions I tried to prepare my app for...
Forum: Development 2010-05-01, 20:38
Replies: 5
Views: 1,663
Posted By farhadi
Re: how can I be informed when the date changes in python

I found the solution:

import dbus
from dbus.mainloop.glib import DBusGMainLoop

DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()
bus.add_signal_receiver(self.update_calendar,...
Forum: Development 2010-04-30, 17:21
Replies: 5
Views: 1,663
Posted By farhadi
Re: how can I be informed when the date changes in python

Thanks thp

I've just implemented it using gobject.timeout_add.

And one more question. How can I be informed when user manually changes date?
Forum: Development 2010-04-30, 16:27
Replies: 5
Views: 1,663
Posted By farhadi
Re: how can I be informed when the date changes in python

Thanks for the reply
I found another way using signal module:

signal.signal(signal.SIGALRM, lambda signum, frame: self.update_calendar())
signal.alarm(int(86400 - (time.time() -...
Forum: Development 2010-04-30, 08:23
Replies: 5
Views: 1,663
Posted By farhadi
how can I be informed when the date changes in python

Hi,

I'm writing a calendar widget for maemo5 using python something like datetoday-home-widget and I'm almost done. the only thing remained is that I don't know how to be informed when the date...
Showing results 1 to 11 of 11



 
Forum Jump

All times are GMT. The time now is 23:45.