Re: [maemo-developers] Why hildon-lgpl

2005-11-11 Thread Markku Vire
Hi, Murray Cumming wrote: Why does hildon-lgpl have the license in the name? Why isn't is part of hildon-libs? Yeah, historical reasons. At some point it was unclear whether all the widgets would be open or not. It can happen that they'll be merged some day. Markku Vire

Re: [maemo-developers] No gtk-config in Maemo 1.1 RC5 ?

2005-11-17 Thread Markku Vire
Hi, gtk-config is old configure system for gtk 1.2. For gtk2 you certainly want to use pkg-config. Older gtk version is not supported. Markku Vire Movial Luca Donaggio wrote: I'm trying to port some gtk stuff to maemo, but I was stucked to configure not being able to find gtk-config

Re: [maemo-developers] Identifiers instead of English strings

2006-02-17 Thread Markku Vire
Hi, Murray Cumming wrote: Is there some explanation somewhere about the use of these strange identifiers instead of English strings in the maemo source code. What is the advantage? As far as I know the motivation was that this quaranteed that no ambiguity is present. Same words could mean

Re: [maemo-developers] Playing wav sounds using hildon

2006-03-08 Thread Markku Vire
Hi, Steven Hill wrote: I am using hildon sounds to play sounds through: hildon_play_system_sound(ui-key_press.wav); You probably would like to use absolute path here. when this line is executed I get the following errors: Audio File Library: could not open file 'ui-key_press.wav' [error

Re: [maemo-developers] Too much sensibilities in my application

2006-06-07 Thread Markku Vire
Hi, Sorry about bit misleading information. notify::value is not working on maemo 1.x series, since value is not a property! (as you can see from af svn repository). This issue is fixed in later versions... -Markku- ___ maemo-developers mailing

Re: [maemo-developers] gtk_image_new_from_file returns wrong type of GtkImage

2006-06-09 Thread Markku Vire
Hi, Corentin BARON wrote: I'd like to load some images as menu icons in a GtkComboBox. So I load my images in a GtkImage and then build the ListStore with pixbufs extracted from the gtkimages. This works well on PC, but on the 770 it doesn't want to extract the pixbufs arguing that the

Re: [maemo-developers] no file icon in context panel and navigation panel when using hildon-fm lib

2006-08-03 Thread Markku Vire
Hi, HildonFileSystemModel needs a widget pointer in order to provide icons for upper layers (that model you use when creating file selection). So, you need to do something like: model = g_object_new(HILDON_TYPE_FILE_SYSTEM_MODEL, ref-widget, some_widget, NULL); fsel =

Re: OS 2007 / 770 hacker edition with sound and video

2007-03-07 Thread Markku Vire
Hi, I have not tried this particular combination, but the following ones seem to work at least: 770 = N800 770 = Hacker 770 However, I don't see why this one couldn't work as well... -Markku- Alessandro Pasotti wrote: I'm trying the hacker edition and it's really nice, just a question:

Re: [maemo-developers] Problem with Home plugin

2007-03-07 Thread Markku Vire
Hi, I wonder if the Home is already using GTypePlugin interface and dynamic types to handle the types registered by the plugins. That would be the right (tm) way to handle this in the scope of GObject... In the case of register_static one can newer unload the modules. -Markku- Johan Bilien

Re: Getting the device name from the 'Device' CP applet

2007-03-23 Thread Markku Vire
Hi, There is a dbus-service for this purpose. You can check how hildon-fm does this form maemo svn (hildon-file-system-settings.c). Note that the dbus interface has changed between versions and the service in question is not available within scratchbox. So, you'll only see that working on

Re: maemo-mapper crashes on os2007 hacker edition

2007-04-10 Thread Markku Vire
Hi, Rainer Dorsch wrote: Am Freitag, 6. April 2007 17:28 schrieben Sie: thanks for the quick reply. I tried removing and recreating the cache dir. No change. Did you try to start mm from the command line? If yes, did you get an illegal instruction? Are you on the 770 hacker edition of

Re: IT2007 Hacker Edition - First impression

2007-04-10 Thread Markku Vire
Hi, Krischan Keitsch wrote: Or is it possible to upgrade the hacker edition via apt-get? Has anyone tried to merge the hacker edition with the latest n800 firmware? Most likely attempting to apt-get upgrade will break everything :( Well, those packages that doesn't contain anything N800

Re: X-terminial lauching problem

2007-04-23 Thread Markku Vire
Hi, I remember I have experienced a similar situation couple of times in the past. The reason appeared to be that X-terminal contains some libraries statically compiled in (ugly but true). When a dynamic copy of the same library is loaded (as a dependency for some libtool library, for

Re: Continuous reboot problem with the N770 hacker edition

2007-04-25 Thread Markku Vire
Hi, Hacker edition is based on same software than the _original_ N800 release. The first update for N800 is likely to contain many updated packages. RSS applet was not modified for hacker edition, so if it's causing problems, you might be able to replace the old binary by new one just by

Re: Continuous reboot problem with the N770 hacker edition

2007-04-27 Thread Markku Vire
Hi, There is a convenient way to achieve this write temporary and rename behaviour, at least for small configuration files: g_file_set_contents does this for you! Yeah, I know that it's blocking operation and don't use GnomeVFS (so, no notifications in maemo env), but I think that's good

Re: Xsp pixel-doubling solutions for Nokia 770?

2007-05-03 Thread Markku Vire
Hi, Eero Tamminen wrote: Hi, ext Matthew Allum wrote: ...clip... I really think using xrandr for this wont buy you much though (in fact you'll probably loose) as you really only want the single topped app to notice the display has shrunk not everything server wide (as randr is intended).

Re: Image format supported in maemo

2007-05-23 Thread Markku Vire
Hi, GdkPixbuf provides easy-to-use image loading capabilities. You can check the capabilities from: /usr/lib/gtk-2.0/2.4.0/loaders/ There is a plugin for each supported image format. -Markku- anurag swarnkar wrote: Hi, Just want to know what all image formats are supported in maemo??

Re: Image format supported in maemo

2007-05-23 Thread Markku Vire
Hi, The svg loader is at least on the device (libsvg_loader.so is located in the loader directory). However, my sbox installation didn't include it by default, but one can always install it manually. -Markku- anurag swarnkar wrote: one more doubt i have just checked all the loaders

Re: Error in ui

2007-06-21 Thread Markku Vire
Hi, You seem to have problems with Sapwood theme engine: It has either not started of has crashed for some reason? Sapwood should paint all the themed UI components, but if it's not running, you'll see the background only. -Markku- Jose Antonio Vacas Martinez wrote: In the first place,

Re: Finding the mmc cards

2007-08-30 Thread Markku Vire
Hi, MMC_MOUNTPOINT variable was present on 770 already and the device had one (external) mmc slot only. N800 added a second memory card slot (the internal one) and respective variable... -Markku- David Hazel wrote: You can also use the environment variables MMC_MOUNTPOINT and

Re: using gstreamer in a hildon control panel applet

2007-10-03 Thread Markku Vire
Hi, Many Maemo applications are actually multi-threaded, since async operations within GnomeVFS use threads internally. Anyway, using GStreamer in control panel applet sounds dangerous. This is because gstreamer cannot be unloaded cleanly (when execute-function returns, your module is unloaded

Re: How to replace HildonGrid and HildonGridItem

2007-11-30 Thread Markku Vire
Hi, Try using GtkIconView. -Markku- Fred wrote: Hi, I try to compile pwsafe for OS2008 and those 2 have disappeared. What is the best replacement (GTK I suppose) for HildonGrid and HildonGridItem) ? Thanks Fred ___ maemo-developers

Re: HildonCalendar

2008-01-15 Thread Markku Vire
Hi, As your option two describes: Previous versions of Hildon contained a patch for GtkCalendar that made it fit better to the environment. Now this custom implementation is known as HildonCalendar. Other (non-hildon) environments can continue to use GtkCalendar as earlier. Too bad that this

Re: C - Hildon - Memory usage

2008-02-11 Thread Markku Vire
Hi, HildonFileChooser can temporarily allocate large amounts of memory. This goes away after all references to the chooser are removed. However, the heap can shrink only when the topmost allocation is free'd. This means that XXX.Y the last allocation (Y) is preventing

Re: Differences between scratchbox and real OS2008 tablets

2008-02-12 Thread Markku Vire
Hi, Alsa on N800 is configured to use DSP-chip, which doesn't exist on your pc (and inside scratchbox). However, it should be enough to change your alsa configuration to use your host system's sound hw instead (application doesn't need to know if the sound is routed through dsp or not). Take a

Re: Assertion failed unexpectedly

2008-02-25 Thread Markku Vire
Hi, The problem behind changing parameters is that you are attaching wrong type of singal handler to signal (i.e. the number/type of parameters don't match). I didn't actually try your code, but at least you cannot connect callback_do_test (3 parameters) to clicked signal (2 parameters). This

Re: how to add filter to HildonFileChooserDialog

2008-03-06 Thread Markku Vire
Hi, Use normal gtk_file_chooser_set_filter In order to setup the filter matching image files, you can use gtk_file_filter_add_pixbuf_formats Hope this helps, -Markku- Yuan Jiang wrote: anyone can tell me how to add file type filter to HildonFileChooserDialog. I just want to show

Re: Fwd: Multithreaded program for N800..

2008-03-17 Thread Markku Vire
Hi, Yes it does. Actually most applications that belong to OS2008 are multithreaded. This is because they use gnome-vfs, which uses threads to implement async file operations. You can use GThread module from glib to write threaded applications. -Markku- nisha jain wrote: Does OS2008 supports

Re: No column titles in list store on Maemo

2008-11-21 Thread Markku Vire
Hi, You're right, this is one of the incompatibles with maemo-gtk and normal gtk. You can check the source from https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+/gtk/gtktreeview.c in gtk_tree_view_init function. If you use the same code for both maemo environment and desktop

Re: Gtk widget background, gradient, or image possible ?

2008-12-04 Thread Markku Vire
Hi, The background of the toolbar itself can be changed, since GtkToolbar calls the theme engine to paint the background. So, everything good at this point. The bad thing is that Maemo environment usually embeds the toolbar into HildonWindow and the toolbar borders that you can see are part of