Showing results 1 to 25 of 56 @ 0.19 seconds. Search: Posts Made By: dannym
Forum: Development 2011-01-03, 14:42
Replies: 7
Views: 3,314
Posted By dannym
Re: set LD_LIBRARY_PATH esbox

Yes, or append the path to /etc/ld.so.conf
Forum: Development 2011-01-03, 10:54
Replies: 7
Views: 3,314
Posted By dannym
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,049
Posted By dannym
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: 65,685
Posted By dannym
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,729
Posted By dannym
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,023
Posted By dannym
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,415
Posted By dannym
Re: Manual placement of .desktop file... no icon ?

Call "update-desktop-database".
See also http://freedesktop.org/wiki/Software/desktop-file-utils
Forum: Development 2010-09-13, 13:57
Replies: 2
Views: 2,383
Posted By dannym
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,575
Posted By dannym
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: 1,987
Posted By dannym
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: 11,518
Posted By dannym
Re: [Announce] Hildon-Extras eases the life of developers

fpp: HildonPannableArea is a GtkBin (which can just have one child), so if your want to put more in it, put a vbox in the pannable area and the other stuff into the vbox.
Forum: Development 2010-09-04, 13:51
Replies: 23
Views: 5,633
Posted By dannym
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,160
Posted By dannym
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,160
Posted By dannym
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,633
Posted By dannym
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,305
Posted By dannym
Re: sb-conf: No such target: FREMANTLE_X86

I think it was called sb-menu or something where you could create targets.

Or:
http://www.scratchbox.org/documentation/user/scratchbox-0.9.7/usage/
Forum: Development 2010-08-29, 17:35
Replies: 9
Views: 4,143
Posted By dannym
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,575
Posted By dannym
Re: Strange behaviour from gtk_widget_destroy

Is the button within that vbox?
Hard to say...
Why call gtk_widget_destroy manually at all? What are you trying to do?
Forum: Development 2010-08-24, 21:47
Replies: 3
Views: 2,460
Posted By dannym
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: 17,443
Posted By dannym
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: 17,443
Posted By dannym
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,154
Posted By dannym
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,241
Posted By dannym
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: 2,964
Posted By dannym
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: 29,383
Posted By dannym
Re: HOWTO: Python auto-rotation (Portrait mode) on Maemo 5

As a user or developer?
As a user, http://talk.maemo.org/showpost.php?p=538748&postcount=21
As a developer, https://bugs.maemo.org/show_bug.cgi?id=5026 Comment#3
Note that you need to have version...
Showing results 1 to 25 of 56



 
Forum Jump

All times are GMT. The time now is 14:16.