how to use hildon_banner_show_progress()
Hi, I am tring to use progress banner to show a searching progress status. But when the banner automatically disappeared after it launched. Anyone knows how to correctly show progress banner, regards Cheng code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); g_timeout_add(main-data-mx_value*1000, (gpointer)on_banner_idle, banner); } ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
On Fri, 2009-05-08 at 11:34 +0100, Luo Cheng wrote: code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); You don't need to call gtk_widget_show() on the banner, hildon_banner_show_progress() will show it for you. In any case, for Fremantle it's discouraged to use progress banners. Prefer hildon_gtk_window_set_progress_indicator() if possible. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
Hi, I tried to remove gtk_widget_show(), but banner still automatically disappeared. Actually I am developing something for maemo 4.0 SDK, so can I still use hildon_gtk_window_set_progress_indicator()? regards Cheng On Fri, May 8, 2009 at 12:09 PM, Claudio Saavedra csaave...@igalia.comwrote: On Fri, 2009-05-08 at 11:34 +0100, Luo Cheng wrote: code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); You don't need to call gtk_widget_show() on the banner, hildon_banner_show_progress() will show it for you. In any case, for Fremantle it's discouraged to use progress banners. Prefer hildon_gtk_window_set_progress_indicator() if possible. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
On Fri, May 8, 2009 at 1:27 PM, Luo Cheng richard.luoch...@gmail.comwrote: Hi, Actually I found the reason casue progress banner disappeared. I have another functioned called right after create_progress_banner(), if i comment it out, the progress banner shown correctly. So why this happend? I pursume it's the g_timeout_add(), here is more code for the function all create_progress_banner() =code snippet void interface_search_dialog_new(AppUIData *main_view, gint mode) { GtkWidget *dialog /*add some widget to dialog*/ result = gtk_dialog_run(dialog); swtich(result) { } } On Fri, May 8, 2009 at 1:17 PM, Luo Cheng richard.luoch...@gmail.comwrote: Hi, I tried to remove gtk_widget_show(), but banner still automatically disappeared. Actually I am developing something for maemo 4.0 SDK, so can I still use hildon_gtk_window_set_progress_indicator()? regards Cheng On Fri, May 8, 2009 at 12:09 PM, Claudio Saavedra csaave...@igalia.comwrote: On Fri, 2009-05-08 at 11:34 +0100, Luo Cheng wrote: code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); You don't need to call gtk_widget_show() on the banner, hildon_banner_show_progress() will show it for you. In any case, for Fremantle it's discouraged to use progress banners. Prefer hildon_gtk_window_set_progress_indicator() if possible. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
Hi, Actually I found the reason casue progress banner disappeared. I have another functioned called right after create_progress_banner(), if i comment it out, the progress banner shown correctly. So why this happend? I pursume it's the g_timeout_add(), here is more code for the function all create_progress_banner() =code snippet void interface_search_dialog_new(AppUIData *main_view, gint mode) { GtkWidget *dialog } On Fri, May 8, 2009 at 1:17 PM, Luo Cheng richard.luoch...@gmail.comwrote: Hi, I tried to remove gtk_widget_show(), but banner still automatically disappeared. Actually I am developing something for maemo 4.0 SDK, so can I still use hildon_gtk_window_set_progress_indicator()? regards Cheng On Fri, May 8, 2009 at 12:09 PM, Claudio Saavedra csaave...@igalia.comwrote: On Fri, 2009-05-08 at 11:34 +0100, Luo Cheng wrote: code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); You don't need to call gtk_widget_show() on the banner, hildon_banner_show_progress() will show it for you. In any case, for Fremantle it's discouraged to use progress banners. Prefer hildon_gtk_window_set_progress_indicator() if possible. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
sorry, send by mistake. here is the full code =code snippet void interface_search_dialog_new(AppUIData *main_view, gint mode) { GtkWidget *dialog /*add some widget to dialog*/ result = gtk_dialog_run(dialog); swtich(result) { } gtk_widget_destroy(dialog); create_progress_bar(main_view); create_result_dialog(main_view); } On Fri, May 8, 2009 at 1:17 PM, Luo Cheng richard.luoch...@gmail.comwrote: Hi, I tried to remove gtk_widget_show(), but banner still automatically disappeared. Actually I am developing something for maemo 4.0 SDK, so can I still use hildon_gtk_window_set_progress_indicator()? regards Cheng On Fri, May 8, 2009 at 12:09 PM, Claudio Saavedra csaave...@igalia.comwrote: On Fri, 2009-05-08 at 11:34 +0100, Luo Cheng wrote: code snippet static gboolean on_banner_idle(GtkWidget *banner) { gtk_widget_destroy(banner); return FALSE; } static void create_progress_banner(AppUIData *main) { GtkWidget *banner; banner = hildon_banner_show_progress(GTK_WIDGET(main-data-window), NULL, Searching...); hildon_banner_set_fraction(HILDON_BANNER(banner), 0.2); /*TODO, need update func*/ gtk_widget_show(GTK_WIDGET(banner)); You don't need to call gtk_widget_show() on the banner, hildon_banner_show_progress() will show it for you. In any case, for Fremantle it's discouraged to use progress banners. Prefer hildon_gtk_window_set_progress_indicator() if possible. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
On Fri, 2009-05-08 at 13:31 +0100, Luo Cheng wrote: sorry, send by mistake. here is the full code Banners are temporary windows, meaning they will be closed when other non temporary windows are shown. The dialog you are creating is not temporary, therefore, your banner is closed. Hence, don't show a banner before opening a new window. I tried to remove gtk_widget_show(), but banner still automatically disappeared. Actually I am developing something for maemo 4.0 SDK, so can I still use hildon_gtk_window_set_progress_indicator()? No, that API is new in hildon 2.2. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
On Fri, May 08, 2009 at 04:27:27PM +0300, Claudio Saavedra wrote: Banners are temporary windows, meaning they will be closed when other non temporary windows are shown. Note that this is not true anymore in Maemo 2.2: https://git.maemo.org/projects/hildon/gitweb?p=hildon;a=commitdiff;h=558f9bc4 Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: how to use hildon_banner_show_progress()
On Fri, 2009-05-08 at 15:37 +0200, Alberto Garcia wrote: On Fri, May 08, 2009 at 04:27:27PM +0300, Claudio Saavedra wrote: Banners are temporary windows, meaning they will be closed when other non temporary windows are shown. Note that this is not true anymore in Maemo 2.2: Heh, well. Maemo 5.0 you mean ;). But yes, this was fixed in the current development version; I was just pointing out the behavior for Diablo and before. Claudio ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Maemo modules
Hi all, I'm need some modules for maemo, and a still search and I tried in several places and the only thing that find are people loading the modules that I need. I wonder where can I find the following modules for OS2008: - usbcore - ehci_hcd - ohci_hcd Thank's -- -- Antonio Ramos de Carvalho Júnior Estudante de Bacharel em Ciência da Computação - FUCAPI Mobile Development Center - INDT/FUCAPI Ninguém além de nós mesmos pode libertar as nossas mentes ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
[Fwd: [Novalug] SouthEast LinuxFest]
All, fyi. Info concerning upcoming LInux event in the US: Clemson, South Carolina. Best Regards, John Holmblad Acadia Secure Networks, LLC * * Original Message Subject:[Novalug] SouthEast LinuxFest Date: Tue, 05 May 2009 23:44:56 -0400 From: greg pryzby Reply-To: To: NOVALUG nova...@calypso.tux.org From: Kevin Jones commun...@southeastlinuxfest.org The SouthEast LinuxFest (SELF) is a community event that is open to everyone who is interested in Linux and Free Open Source Software. SELF will be held at the Clemson University Hendrix Student Center in Clemson, SC on June, 13th 2009. We have an all-star line-up of F/LOSS speakers who have generously offered to commit their time, and to share their knowledge and insight to help us grow Linux in the GNU/South. The following speakers have (barring any issues which may arise) confirmed their attendance: - Chris DiBona, Google (http://en.wikipedia.org/wiki/Chris_DiBona) - Brian Leonard, Sun Microsystems (http://weblogs.java.net/blog/bleonard/) - Wendy Seltzer, EFF (http://wendy.seltzer.org/ ) - Mark Spencer, Digium (http://en.wikipedia.org/wiki/Mark_Spencer) - Icculus a.k.a., Ryan Gordon (http://en.wikipedia.org/wiki/Ryan_C._Gordon) - Paul Frields, Fedora (http://fedoraproject.org/wiki/PaulWFrields) - Michael DeHaan, Red Hat (http://www.redhatmagazine.com/author/mdehaan/) - Russel Bryant, Digium (http://www.russellbryant.net/blog/) - Robbie Workman, Slackware (http://rlworkman.net/) - Pete Granger, Canonical/Ubuntu (http://www.canonical.com) - Joe Zonker Brockmeier, openSUSE (http://www.opensuse.org) - Wade Olson, KDE (http://wadejolson.wordpress.com/) While we are making spirited progress, we cannot do this without the support of other LUG's and LoCo's in the Southeast. Having strong LUG support is vital to the success of our event, both in it being a memorable and enjoyable experience, and in our seeking additional sponsorship. You can begin supporting this event now by: posting the SELF banner on your blogs, wikis, and Web sites; printing copies of the SELF flyers (http://southeastlinuxfest.org/sites/default/files/SELF-Flyer.pdf and http://southeastlinuxfest.org/sites/default/files/self_flyer.png) and distributing them at your meetings and around your community; and by asking your members to register on the SELF Web site. Feel free to appoint someone from your LUG to join our mailing list, and to attend our weekly IRC meetings (every Tuesday night at 9pm EST on #southeastlinuxfest), so that they can keep your LUG up to date on our plans as we move forward. We are looking for sponsors! Businesses, non-profits, and educational institutions interested in sponsoring SELF should direct inquiries to i...@southeastlinuxfest.org mailto:i...@southeastlinuxfest.org. A vendor prospectus is available on our Web site. Please visit http://www.southeastlinuxfest.org to: - Get event updates. - Submit technical papers for peer review. - Register for the event (please let us know if you are interested in presenting a breakout or BoF session on a particular topic of interest.) - Reserve a table space for your LUG if you'd like to showcase your group and it's activities. - Get audio and visual materials to help promote the event...and much more! Help us to spread the word about SELF '09 to your local businesses, non-profits, colleges and universities, and anywhere else you might find Linux users, supporters, and newbies. We want this event to be fun and educational for Linux users of all skill-levels. There will be a number of breakout sessions held throughout the day where users can learn tips and tricks, as well as pick up useful skills and information from their peers. If members of your LUG or LoCo are interested in hosting a breakout session or setting up a booth to showcase your efforts in the community, please contact commun...@southeastlinuxfest.org mailto:commun...@southeastlinuxfest.org. Don't miss out on this event! Register today at http://www.southeastlinuxfest.org/register. If you have any questions, comments, or suggestions, please let us know via our IRC channel, or by joining our mailing list at http://www.southeastlinuxfest.com/mailman/listinfo/southeastlinuxfest. We look forward to seeing you in June! Kevin Jones Community Coordinator SouthEast LinuxFest http://www.southeastlinuxfest.org -- greg pryzby _ Novalug mailing list nova...@calypso.tux.org http://calypso.tux.org/cgi-bin/mailman/listinfo/novalug ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Maemo modules
2009/5/8 Antonio Júnior branki...@gmail.com: Hi all, I'm need some modules for maemo, and a still search and I tried in several places and the only thing that find are people loading the modules that I need. I wonder where can I find the following modules for OS2008: - usbcore Built-in into kernel in maemo (as far as I know) - ehci_hcd PC/x86 specific - ohci_hcd PC/x86 specific Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: application not starting from menu
Am Donnerstag 07 Mai 2009 schrieb Cornelius Hald: On Thu, 2009-05-07 at 14:47 +0200, Guenther Meyer wrote: Am Donnerstag 07 Mai 2009 schrieb Cornelius Hald: The format should not matter, only it needs to be unique on the device. it shopuld be unique. Do you have a matching X-Osso-Service entry in your .desktop file? yes. Well, then unfortunately I have no clue :( thanks anyway. You could try to post more infos or give a pointer to the code. Then maybe someone can help you. no problem, what do you need? signature.asc Description: This is a digitally signed message part. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: application not starting from menu
Am Freitag 08 Mai 2009 schrieb Faheem Pervez: You have a DBUS Service file installed in /usr/share/dbus-1/services/? The format of this file is very simple - just open up one of the existing files already in there on your tablet. /usr/share/dbus-1/services/gpsdrive.service: [D-BUS Service] Name=gpsdrive Exec=/usr/bin/gpsdrive /usr/share/applications/hildon/gpsdrive.desktop: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=GpsDrive Comment=GpsDrive Exec=/usr/bin/gpsdrive Terminal=false Icon=gpsdrive X-Osso-Type=application/x-executable X-Osso-Service=gpsdrive inside the code: osso_context = osso_initialize (gpsdrive, VERSION, TRUE, NULL); I guess this should be right this way? signature.asc Description: This is a digitally signed message part. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
How to get complete maemo window on xephyr with side buttons
Hi, I have installed maemo-fremantle sdk and qt packages from diablo extras as no qt package is available in frementle.I am getting only the output screen on running qt application without the sidebar or menubar.I am not getting any default screen on running af-sb-init.sh start.After running an application, I am getting the gui output on xephyr window.So, If i run two qt applications simultaneously,it is overlapping on xephyr window as the toggle button is not avaible.How to get the complete window with menubar on xephyr server? Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition * Click here! Cricket on your mind? Visit the ultimate cricket website. Enter now! Cricket on your mind? Visit the ultimate cricket website. Enter now! Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: How to get complete maemo window on xephyr with side buttons
Hi, Qt packages are in the fremantle extras-devel repos. Qt for Fremantle is different from Qt for Diablo. You are a very very lucky man if you are able to don't crash the hildon-desktop all the time with Diablo Qt in Fremantle. Maemo applications don't have menubars. Instead of them, we have a popup that is shown when you click the titlebar. Diablo Qt can't grab the click on the freemantle title bar. Please update your libs. BR, Antonio On Sat, May 9, 2009 at 1:13 AM, diptiman roy roy.dipti...@yahoo.co.inwrote: Hi, I have installed maemo-fremantle sdk and qt packages from diablo extras as no qt package is available in frementle.I am getting only the output screen on running qt application without the sidebar or menubar.I am not getting any default screen on running af-sb-init.sh start.After running an application, I am getting the gui output on xephyr window.So, If i run two qt applications simultaneously,it is overlapping on xephyr window as the toggle button is not avaible.How to get the complete window with menubar on xephyr server? -- Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition * Click here!http://in.rd.yahoo.com/tagline_firefox_1/*http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox -- Cricket on your mind? Visit the ultimate cricket website. Enter now!http://in.rd.yahoo.com/tagline_cricket_1/*http://beta.cricket.yahoo.com -- Cricket on your mind? Visit the ultimate cricket website. Enter now!http://in.rd.yahoo.com/tagline_cricket_1/*http://beta.cricket.yahoo.com -- Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! Edition * Click here!http://in.rd.yahoo.com/tagline_firefox_1/*http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers -- Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers