Forum: Development
2011-01-03, 14:42
|
Replies: 7
Views: 3,417
|
Forum: Development
2011-01-03, 10:54
|
Replies: 7
Views: 3,417
Re: set LD_LIBRARY_PATH esbox
I think waelfarouk0 means some IDE.
Which operating system?
As Joorin said, try to start your IDE using
$ LD_LIBRARY_PATH=/opt/appname/lib qtcreator
If you want it to always do it, put...
|
Forum: Development
2010-12-10, 14:27
|
Replies: 2
Views: 2,120
Re: GTK+ window -> XID fails
realize the image.
Then:
XID winxid=GDK_WINDOW_XID(GTK_WIDGET(drawing)->window);
Note that GdkWindow is not the same as GtkWindow.
|
Forum: Applications
2010-11-07, 15:32
|
Replies: 109
Views: 67,672
Re: I'm Porting Blackberry Messenger on the N900
ossipena:
>patent means that the protocol is protected.
What does "protected" mean here?
If you mean that you can't write your own implementation, patents are bad but they are not that bad...
|
Forum: Development
2010-10-21, 10:12
|
Replies: 6
Views: 1,821
Re: How to start web browser from within the code?
Or for a non-security-problem-way, use spawnvp(), which won't have problems with spaces and/or weird quotes and/or mistaking commands for environment variables / bash commands / .... like system()...
|
Forum: Development
2010-09-27, 15:18
|
Replies: 1
Views: 2,071
Re: WAZE for N900 / Maemo5
A quick look revealed that half of it is in unix style already.
You probably just have to port the "ssd" directory which is their widget library. You can just remove directories "libpng",...
|
Forum: Development
2010-09-27, 15:12
|
Replies: 13
Views: 4,613
|
Forum: Development
2010-09-13, 13:57
|
Replies: 2
Views: 2,431
Re: ctypes and osso-abook
#!/usr/bin/env python
import ctypes
import sys
import gtk # needed, otherwise abook won't work.
import glib
import osso
def from_GList(native, B_free_list, B_unref_items):
"""
|
Forum: Development
2010-09-13, 09:25
|
Replies: 4
Views: 2,645
Re: Strange behaviour from gtk_widget_destroy
I don't know, maybe you messed up something with the refcounting or it is a bug in the maemo version of gtk? Code? :-)
I tried the worst possible scenario and that works:
#include <gtk/gtk.h>
...
|
Forum: Development
2010-09-13, 09:10
|
Replies: 1
Views: 2,030
Re: How to compile hildon-desktop?
install scratchbox. In the FREMANTLE_ARMEL target, do
apt-get source hildon-desktop
Then
dpkg-buildpackage -rfakeroot
That will give dependency errors, install those too.
|
Forum: Development
2010-09-04, 14:11
|
Replies: 14
Views: 12,214
|
Forum: Development
2010-09-04, 13:51
|
Replies: 23
Views: 5,840
Re: Arm eabi
http://gcc.gnu.org/install/old.html
>A canonical configuration name has three parts, separated by dashes. It looks like this: `cpu-company-system'. (The three parts may themselves contain dashes;...
|
Forum: MeeGo / Harmattan
2010-09-04, 12:58
|
Replies: 28
Views: 8,426
Re: hildon will be supported?
Well, I think the preference of PyGtk is because of Python.
Of course comparing Python and C&GObject, C&GObject loses. It's like comparing a modern train and a horse carriage.
C++ and C&GObject,...
|
Forum: MeeGo / Harmattan
2010-09-04, 12:12
|
Replies: 28
Views: 8,426
Re: hildon will be supported?
efa:
Use what you think is right. Programming languages aren't that important and if it comes to porting it from one low-level language like C to another low-level language like C++, they're all...
|
Forum: Development
2010-09-03, 21:41
|
Replies: 23
Views: 5,840
Re: Arm eabi
yes, it does. see http://maemo.org/maemo_release_documentation/maemo4.1.x/Maemo_Diablo_Reference_Manual_for_maemo_4.1.pdf Page 96.
|
Forum: Development
2010-08-29, 17:49
|
Replies: 1
Views: 2,354
|
Forum: Development
2010-08-29, 17:35
|
Replies: 9
Views: 4,297
Re: /dev/mixer on N900 ?
verrnum, Yes, "/dev/mixer" is the device the rest of the world uses for OpenSoundSystem audio on UNIX and UNIX-like systems.
However, because of licensing problems in the past (OSS went closed...
|
Forum: Development
2010-08-26, 13:18
|
Replies: 4
Views: 2,645
|
Forum: Development
2010-08-24, 21:47
|
Replies: 3
Views: 2,524
Re: Little help to make a python table clickable
Hm... is that a trick question?
self.connect("notify::is-on-current-desktop", self.callback_function)
or without the scaffolding:
self.connect("notify::is-on-current-desktop", lambda *args,...
|
Forum: Development
2010-08-21, 19:35
|
Replies: 54
Views: 18,071
Re: SMS-based stolen phone locator
Hi...
You have transferred a file (probably from a Windows computer) containing a carriage return (or 30) to the UNIX platform and while Windows ignores it, UNIX actually knows such arcane...
|
Forum: Development
2010-08-21, 13:47
|
Replies: 54
Views: 18,071
Re: SMS-based stolen phone locator
Usually, all your shell variables are known only to the current shell.
If you want the actual _programs_ you start to also get them, you have to export them to the (current process', that is, the...
|
Forum: Development
2010-08-21, 13:38
|
Replies: 43
Views: 19,934
Re: Web Tracking/Anti theft/loss Tool
Hi,
The only variable in "trackerconstants.py" that seems to warrant a configuration option is "c_password". What does that do? Having the login password *stored on the stolen device* with...
|
Forum: Development
2010-08-21, 13:25
|
Replies: 25
Views: 7,550
Re: Shell one-liner challenge
What the...
How is removing all your files "not doing anything"?
Actually, files whose names start with "." in the root directory of the filesystem tree will stay then.
|
Forum: Development
2010-07-15, 19:42
|
Replies: 2
Views: 3,065
Re: Python/gtk/hildon: zoom buttons
See http://talk.maemo.org/showthread.php?t=21182&highlight=headset+dbus
In short:
bus = dbus.SystemBus()
headset = bus.get_object('org.freedesktop.Hal',...
|
Forum: Development
2010-07-15, 19:27
|
Replies: 32
Views: 30,836
|