Re: How to add a rounded border or even framework around items of iconview
Hi Peter, I guess by rounded border you mean the selection border, right? In Maemo GTK+, we applied a patch to make the selection to be drawn around the whole item (image and text) instead of just the text. The respective upstream bug report (with the patch) is here: http://bugzilla.gnome.org/show_bug.cgi?id=382544 One of the patches theme makes it possible to properly theme the selection drawing what would allow you to even use an picture. --lucasr Em Qui, 2007-11-22 às 15:17 +0800, ext Zhu, Peter J escreveu: Hi, How to add a rounded border or even a nice picture around items of iconview? I guess it might a bit of mystery of applying style to widget of iconview. Any one can give an example here? Thank you very much. Best Regards Peter ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: New developer - lots of questions
Hi, 1) Is it possible to have both Maemo 3.x and Maemo 4.x SDKs installed at the same time on one machine? If so, any HOWTO's for that? Any gotchas? Yes, it's possible. Just install scratchbox and then install each SDK. You don't need any HOWTO nor special steps to follow. In fact I installed Maemo 2, 3 and 4 in the same machine without any problems. I'm having a little problem. Following the howto on this page: http://tablets-dev.nokia.com/3.1/INSTALL.txt I used the script to install the SDK, but when I run it I get this error: http://pastebin.ca/793543 Maybe I'm missing something in Scratchbox? N.b: I already have Scratchbox + Maemo SDK 4.0 installed and working fine. Thanks for your support! -- Andrea Grandi email: [EMAIL PROTECTED] website: http://www.ptlug.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: New developer - lots of questions
Hi Yes you are missing something.. I presume you have installed scratchbox by following the instructions for maemo 4.0 SDK.. that installs just the toolchains it needs and not the older Bora toolchains. You are missing those. You can get them from here as debian packages: http://www.scratchbox.org/download/files/sbox-releases/apophis/deb/ scratchbox-toolchain-cs2005q3.2-glibc-arm_1.0.5_i386.deb scratchbox-toolchain-cs2005q3.2-glibc-i386_1.0.5_i386.deb DOH! I think I've just created something unstable on my system :( I modified the Maemo-SDK-3.1 installer script in this way: 18,19c18,19 __target_toolchain=cs2005q3.2-glibc __target_prefix=SDK --- __target_toolchain=cs2005q3.2-glibc2.5 __target_prefix=BORA so, now the BORA_* targets are using cs2005q3.2-glibc2.5 instead of cs2005q3.2-glibc. I try to fix things :) See ya later ;) -- Andrea Grandi email: [EMAIL PROTECTED] website: http://www.ptlug.org ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: How to add a rounded border or even framework around items oficonview
Hi Lucasr, Thanks for replying. It's nice. My question of rounded border means a frame around the item during NORMAL state rather than selection. Any suggestions on this? Best Regards Peter Lucas Rocha wrote: Hi Peter, I guess by rounded border you mean the selection border, right? In Maemo GTK+, we applied a patch to make the selection to be drawn around the whole item (image and text) instead of just the text. The respective upstream bug report (with the patch) is here: http://bugzilla.gnome.org/show_bug.cgi?id=382544 One of the patches theme makes it possible to properly theme the selection drawing what would allow you to even use an picture. --lucasr Em Qui, 2007-11-22 às 15:17 +0800, ext Zhu, Peter J escreveu: Hi, How to add a rounded border or even a nice picture around items of iconview? I guess it might a bit of mystery of applying style to widget of iconview. Any one can give an example here? Thank you very much. Best Regards Peter ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: How to add a rounded border or even framework around items oficonview
Hi, Thanks for replying. It's nice. My question of rounded border means a frame around the item during NORMAL state rather than selection. Any suggestions on this? Another alternative is to write your own pixbuf cell renderer and paint it however you want. Have a look at EOG's source code (based on GNOME Control Center code): http://svn.gnome.org/svn/eog/trunk/src/eog-pixbuf-cell-renderer.c http://svn.gnome.org/svn/eog/trunk/src/eog-pixbuf-cell-renderer.h It's quite simple stuff. --lucasr Lucas Rocha wrote: Hi Peter, I guess by rounded border you mean the selection border, right? In Maemo GTK+, we applied a patch to make the selection to be drawn around the whole item (image and text) instead of just the text. The respective upstream bug report (with the patch) is here: http://bugzilla.gnome.org/show_bug.cgi?id=382544 One of the patches theme makes it possible to properly theme the selection drawing what would allow you to even use an picture. --lucasr Em Qui, 2007-11-22 às 15:17 +0800, ext Zhu, Peter J escreveu: Hi, How to add a rounded border or even a nice picture around items of iconview? I guess it might a bit of mystery of applying style to widget of iconview. Any one can give an example here? Thank you very much. Best Regards Peter ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: debugging spontaneous reboot issues with N800/N810
ext Aleksandr Koltsoff [EMAIL PROTECTED] writes: cat 32wd_to: 2 Question: Does this count the times that the hw-watchdog was triggered so far (after last flash)? Yes. cat sw_rst: 1 Question: Number of times critical 'system' application crashing or being killed by the kernel OOM-killer happened? (quoted text from the wiki page) More like number of reboots issued after a critical system application crashed. More than one critical application can crash at the same time :) cat lifeguard_restarts: /usr/bin/esd : 1 /usr/sbin/multimediad : 1 /usr/sbin/dsp_dld -p --disable-restart \ -c /lib/dsp/dsp_dld_avs.conf : 1 * (line continuation in the last one was made by me) Question: Now this is the interesting part: 1) Am I correct to assume that each line records the name of the program that was running when the hw watchdog triggered? No. This file tells that how many times each application has been restarted. These are not critical system applications in a sense that there is no need to restart (reboot) the whole device, only the application is restarted. If the application crashed many times in a row after the device will be restarted. Or at least I think that's how the things are. DSME terms are a bit confusing and I always mix them up. But here's how I see them: reset = whole device is rebooted restart = application is restarted but device is not rebooted 2) And the number after each records the times that the programs were running when the watchdog tripped? No. It's the number of times an application is restarted. 3) Asterisk marks the application that caused the last wd timeout operation? (so in this case, the spontanous reboot was caused by dsp_dld or it at least seems so?) There is no way to know what cause hardware watchdog reboot. It can be a problem in kernel, or some userspace application taking all the CPU time. So in a summary: 32wd_to: a number of times a watchdog reboot has happened, reason unknown sw_rst: a number of times the device is rebooted due to a critical application crashing lifeguard_resets: detailed statistics which application crashed and how many times have caused device reboot (excluding watchdog reboots) lifeguard_restarts: statistics about which applications have crashed but have not caused device reboot -- Kalle Valo ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: How to add a rounded border or even framework around itemsoficonview
Hi Lucas, Thanks for pointing this. After a brief look at code, it seems that eog uses cell-renderer to deal with state of PRELIGHT/SELECT/ACTIVE of items while uses eog_thumbnail_add_frame to draw a thin frame around each item in its NORMAL state. I'm curious why not just use cell-renderer to draw a thin frame around item? Is it possible? Peter Lucas Rocha wrote: Hi, Thanks for replying. It's nice. My question of rounded border means a frame around the item during NORMAL state rather than selection. Any suggestions on this? Another alternative is to write your own pixbuf cell renderer and paint it however you want. Have a look at EOG's source code (based on GNOME Control Center code): http://svn.gnome.org/svn/eog/trunk/src/eog-pixbuf-cell-renderer.c http://svn.gnome.org/svn/eog/trunk/src/eog-pixbuf-cell-renderer.h It's quite simple stuff. --lucasr Lucas Rocha wrote: Hi Peter, I guess by rounded border you mean the selection border, right? In Maemo GTK+, we applied a patch to make the selection to be drawn around the whole item (image and text) instead of just the text. The respective upstream bug report (with the patch) is here: http://bugzilla.gnome.org/show_bug.cgi?id=382544 One of the patches theme makes it possible to properly theme the selection drawing what would allow you to even use an picture. --lucasr Em Qui, 2007-11-22 às 15:17 +0800, ext Zhu, Peter J escreveu: Hi, How to add a rounded border or even a nice picture around items of iconview? I guess it might a bit of mystery of applying style to widget of iconview. Any one can give an example here? Thank you very much. Best Regards Peter ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
0xFFFF 0.3.1 for ubuntu
I have fixed some issues noticed by Rodrigo Vivi and fixed by Osvaldo Santana. Thanks for the bug report. I have fixed some warning issues noticed by -pedantic, so 0.3.1 is the stable release of the 0.3 one. I have managed to build an ubuntu package and a static-binary build for linux-x86 which are available in the official homepage: http://www.nopcode.org/0x/ and in garage: https://garage.maemo.org/frs/?group_id=482release_id=1169 Enjoy this new release :) Next release will come with major changes. This is just a fixup on 0.3. --pancake ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Chinook: no .deb for some packages in the repository (only .tar.gz)
Hi, I am starting development with maemo Chinook SDK and made some tests this afternoon. I wanted to install osso-xterm but noticed that on the repository there is no .deb package, only sources in .tar.gz. See for example: http://repository.maemo.org/pool/chinook/free/o/osso-xterm/ I tried to do the apt-get build-dep osso-xterm but it does not build the depencies automatically. So I downloaded some dependencies manually and noticed that many stuff under osso* dirs have no .deb package. libvte (under vte dir) is another package without .deb which comes to my mind. Is there any reason for this? I searched the lists archives but without luck... Thanks, Nicolas. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: USB host mode on N800
On Nov 22, 2007 5:58 PM, Dave Sullivan [EMAIL PROTECTED] wrote: Hey All, I've got the modified kernel image for usb host mode, but before I go ahead and try it, what kind of cable hacking is sufficient? I'd assume I could just purchase a USB extension cord (A-type to A-type recepticle), hack off the A-type and stick on a micro-USB connector.. but doesn't it require external power? Hi I have measured the vbus voltage and it was only about 3 volt a opposed to what would be required (5 volt) (there is no active voltage pump). I guess you will often need an external power(if possible just buy yourself a usb gender changer and plug the tablet into a powerd hub). While the patches are available is have not hear of anybody getting the n800 to work in usb-host mode. can somebody confirm a working usb-host on n800 or n810 perhaps? greetings ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Where is the implementation of function hildon_home_window_get_type
Huang Gao wrote: I am now looking into package Maemo-af-desktop, and some strange points make me confused. For instance, hildon_home_window_get_type() is declared as the object type of HOME_WINDOW: #define HILDON_TYPE_HOME_WINDOW (hildon_home_window_get_type ()) However, this function is not implemented in this package, nor can I find it in other any packages. Does anyone know what the mechanism behind this issue is? You'll probably find one of the G_DEFINE_* macros in the source file. That macro will expand to *_get_type() function. See GObject documentation: http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE:CAPS Jussi ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers