Re: maemo.org Extras autobuilder updated to PR1.3

2010-10-25 Thread Alberto Garcia
On Mon, Oct 25, 2010 at 05:18:04PM +0200, Niels Breet wrote: The autobuilder has been updated to the PR1.3 SDK. If you experience any problems, please let me know. QStarDict appeared to stop working after this upgrade, I guess I'll need to install a newly-compiled version? Berto

Re: [mafw-lastfm-devel] [ANN] maemo-scrobber 1.0 for last.fm + libre.fm

2010-06-03 Thread Alberto Garcia
On Thu, Jun 03, 2010 at 04:10:28PM +0300, Felipe Contreras wrote: mafw-lastfm: last.fm: scrobble: yes, now playing: yes libre.fm: scrobble: no, now playing: no maemo-scrobbler: last.fm: scrobble: yes, now playing: no libre.fm: scrobble: yes, now playing: no [...] now playing is a

Re: show existing StackableWindow second time

2010-05-19 Thread Alberto Garcia
On Tue, Feb 16, 2010 at 02:18:26PM +0200, Max Usachev wrote: You need to connect to the delete-event of the subwindow and invoke hide() in there to hide the window. Your delete callback must return True to signalize that the windows is not to be destroyed. See also

Re: How to resize HildonPannableArea child widgets

2010-05-19 Thread Alberto Garcia
On Mon, Mar 01, 2010 at 05:57:45PM +0100, Luca Donaggio wrote: Which is the best way to resize widgets inside a PannableArea? I'm writing a callback function to be called when the device orientation changes and I noticed that PannableAreas retain their former width, so widgets inside aren't

Re: HildonTouchSelector

2010-04-09 Thread Alberto Garcia
On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: HildonTouchSelector has methods to append/prepend items but none to remove them. GTK does. Ok, I understand this is arguable, but since you can access the model directly, I don't think HildonTouchSelector needs to provide

Re: HildonTouchSelector

2010-04-09 Thread Alberto Garcia
On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: /* Get the path to row 0 */ path = gtk_tree_path_new_from_string (0); /* Get the tree iter for that path */ gtk_tree_model_get_iter (GTK_TREE_MODEL (model), iter, path); /*

Re: How to include glib-object.h

2010-03-29 Thread Alberto Garcia
On Mon, Mar 29, 2010 at 02:48:18PM +0530, Martin DeMello wrote: glib-object.h: No such file or directory Try adding -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include to your gcc invocation. Actually you should include `pkg-config --cflags glib-2.0` Berto

Re: GSoC project - Google Reader offline

2010-03-22 Thread Alberto Garcia
On Mon, Mar 22, 2010 at 02:00:10PM -0300, MoRpHeUz wrote: I am interested in the project Google Reader offline. This seems like a must have application :) we already have a not so nice feed reader but it doesn't sync with google reader and you seems well qualified for the job! :D See also

Re: Rows selection in TouchSelector

2010-03-08 Thread Alberto Garcia
On Sun, Mar 07, 2010 at 08:30:16PM +0200, Max Usachev wrote: I use TouchSelector with hildon.TOUCH_SELECTOR_SELECTION_MODE_MULTIPLE mode to select multiple items, but I can't find way to select necessary items (for example, the first and the fourth) at startup (when TouchSelector

Re: Rows selection in TouchSelector

2010-03-08 Thread Alberto Garcia
On Mon, Mar 08, 2010 at 12:45:10PM +0100, Alberto Garcia wrote: gtk_tree_model_get_iter_first (model, iter); Well, this line is not necessary :) Berto ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman

Re: Rows selection in TouchSelector

2010-03-07 Thread Alberto Garcia
On Sun, Mar 07, 2010 at 03:19:36PM +0200, Max Usachev wrote: I use TouchSelector with hildon.TOUCH_SELECTOR_SELECTION_MODE_MULTIPLE mode to select multiple items, but I can't find way to select necessary items (for example, the first and the fourth) at startup (when TouchSelector shows).

Re: Going crazy with HildonPickerButton with multiple selection

2010-02-22 Thread Alberto Garcia
On Fri, Feb 19, 2010 at 09:31:47AM +0200, Alberto Mardegan wrote: BTW, I find the APIs for handling selections rather cumbersome, I have to write about 20 lines of code just to know the selection state of an item (if multiple selection is enabled). If I write a patch that adds gboolean

Re: hildonpickerdialog done button

2010-02-22 Thread Alberto Garcia
On Fri, Feb 19, 2010 at 02:21:31AM -0600, Michael Cronenworth wrote: How does one attach to the Done button when using two HildonTouchSelector columns? If you are using a HildonPickerDialog directly you can use the standard GtkDialog::response signal.

Re: Going crazy with HildonPickerButton with multiple selection

2010-02-18 Thread Alberto Garcia
On Thu, Feb 18, 2010 at 10:33:46PM +0200, Alberto Mardegan wrote: HildonPickerButton with multiple selection seems to be perfect for my need, but unfortunately HildonPickerDialog doesn't allow closing the dialog if no item is selected (why???). I know it's controversial, but that was a design

Re: Is the Diablo autobuilder running?

2010-02-06 Thread Alberto Garcia
On Sat, Feb 06, 2010 at 01:20:14AM -0800, Steven Luo wrote: Is the Diablo autobuilder up and running? It is, but it took me several hour to have my package compiled. But I'm having problems to upload a package to gregale-extras and bora-extras. Are these repositories still supported? Berto

Re: Is the Diablo autobuilder running?

2010-02-06 Thread Alberto Garcia
On Sat, Feb 06, 2010 at 12:31:35PM +0100, Alberto Garcia wrote: Is the Diablo autobuilder up and running? It is, but it took me several hour to have my package compiled. ...but I can't seem to be able to promote it: https://maemo.org/packages/package_instance/view/diablo_extras

Re: Is the Diablo autobuilder running?

2010-02-06 Thread Alberto Garcia
On Sat, Feb 06, 2010 at 05:01:18AM -0800, Steven Luo wrote: Is the Diablo autobuilder up and running? It is, but it took me several hour to have my package compiled. ...but I can't seem to be able to promote it:

Re: Maemo5 SDK slow performance

2010-02-02 Thread Alberto Garcia
On Tue, Feb 02, 2010 at 12:11:20AM +0200, Max Usachev wrote: I have strange problem with Maemo 5 SDK - all graphic manipulations in emulator works very slow. Try this before starting the desktop in Xephyr: export CLUTTER_VBLANK=none Berto ___

Re: GtkTreeView behaviour

2010-01-12 Thread Alberto Garcia
On Mon, Jan 11, 2010 at 11:47:48PM +0300, George Kibardin wrote: In my case for some reason in normal mode I need two taps to get row-activated signal: one tap to select appropriate item and another one to activate it. In edit mode with multiple selection enabled I need to use Ctrl to select

Re: GtkTreeView behaviour

2010-01-12 Thread Alberto Garcia
On Tue, Jan 12, 2010 at 12:39:33PM +0100, Piñeiro wrote: You need to set hildon-mode to one, this is normally done on a rc file. This is not necessary anymore :) Berto ___ maemo-developers mailing list maemo-developers@maemo.org

How to play music in silent mode?

2009-12-20 Thread Alberto Garcia
I want to make Vagalume play music even if the N900 is in silent mode. I also don't want it to be interrupted when I receive a new IM. Summarizing: I want the same behavior as the N900 media player. How do I do that? I'm using GStreamer's pulsesink. Berto

Re: Why is always one textview item selected in HILDON_UI_MODE_EDIT?

2009-12-18 Thread Alberto Garcia
On Fri, Dec 18, 2009 at 12:45:47PM +0100, Till Harbaum wrote: i have a simple treeview inside a pannable area. What i want to achieve is basically simple: I want the user to be able to select one item and that item should stay selected until the user selects a different item. Initially

Re: Find out Maemo version from script

2009-12-15 Thread Alberto Garcia
On Tue, Dec 15, 2009 at 12:21:58PM +0100, Cornelius Hald wrote: While developing inside the SDK I used /etc/maemo_version (which is provided by the package maemo-version) to alter the runtime behavior of some scripts. I think it's simpler to check the version of some installed packages (using

Re: mafw-lasftm: installed, configured, restarted the device, but plugin is not started

2009-12-09 Thread Alberto Garcia
On Tue, Dec 08, 2009 at 09:20:48PM +0100, Andrea Grandi wrote: another idea: what about displaying Listening with Nokia N900 instead of Listening with mafw-lastfm ? The thing is that you can scrobble from the N900 using different apps, and you can also (in theory) use mafw-lastfm from a

Re: N900 GPS Problems

2009-11-30 Thread Alberto Garcia
On Mon, Nov 30, 2009 at 05:52:29PM +0200, Michael Stepanov wrote: It'd be really bad if the GPS chip will be weak as on N810. Cause my device spends a lot of time to find location. In my (short) experience it is _worse_. I have been unable to get a GPS fix using just the internal GPS. I tried

Re: N900 GPS Problems

2009-11-30 Thread Alberto Garcia
On Mon, Nov 30, 2009 at 05:24:11PM +0100, Andrea Grandi wrote: With an internet connection available, though, this one is very fast (10 seconds). And looking at how the Maps application is, I think it's meant to be used with a data plan. Otherwise it's not very useful. same for me, but

Re: Can't debug an application under FREMANTLE_ARMEL target in Scratchbox

2009-11-24 Thread Alberto Garcia
On Tue, Nov 24, 2009 at 07:55:47PM +0300, Burka Victor wrote: I'm trying to debug very simple application under FREMANTLE_ARMEL target and can't do that. The armel target is not meant to actually run or debug applications, but only to compile them to use in the device. If you want to debug

Re: mafw-lastfm 0.0.1

2009-10-05 Thread Alberto Garcia
On Mon, Oct 05, 2009 at 04:55:35PM +0300, Claudio Saavedra wrote: Just excellent! I reviewed it and it is a very good job! I am already working on some patches to add some features, but I'll tell you when they are ready :) /me crosses his fingers for multiscrobble and libre.fm :)

Re: Community widgets for Fremantle

2009-09-29 Thread Alberto Garcia
On Tue, Sep 29, 2009 at 06:19:04PM +0200, Javier Jardón wrote: Hildon could perfectly move forward, with new widgets and all the bug fixes that the community wants to see. If Nokia doesn't react to that, we can perfectly create a parallel installable version of the same library, that the

Re: Community widgets for Fremantle

2009-09-29 Thread Alberto Garcia
On Tue, Sep 29, 2009 at 06:08:00PM +0300, Marius Vollmer wrote: we can perfectly create a parallel installable version of the same library, that the community can maintain in extras and link against in their applications. Yes, but there are some practical problems about that. The first

Re: Community widgets for Fremantle

2009-09-29 Thread Alberto Garcia
On Tue, Sep 29, 2009 at 11:39:37PM +0300, Claudio Saavedra wrote: The first obvious problem is that we would end up having two similar versions of the same library installed, and that means more disk and memory, apart from the inability to use maemo-launcher. Can you elaborate on the

Re: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Alberto Garcia
On Sat, Sep 19, 2009 at 12:00:50PM +0200, Cornelius Hald wrote: In my HildonButton subclass. Instead of setting the GtkCellView using hildon_button_set_image(), I also tried gtk_button_set_image(). The problem with the latter is, that it's just never shown. Probably HildonButton is somehow

Re: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Alberto Garcia
On Sat, Sep 19, 2009 at 11:55:03AM +0200, Cornelius Hald wrote: I'm trying to create a Hildon check button with two labels. The problem is that HildonCheckButton only supports one label. Why? As Mox explained, that check button was designed to have only one label. If we supported two we

Re: New apps for fremantle with Qt?

2009-09-08 Thread Alberto Garcia
On Tue, Sep 08, 2009 at 11:24:05AM +0300, Quim Gil wrote: What about a BOF in the Maemo Summit? I have seen several developers registered that are familiar with GTK+ and Hildon and even upstream maintainers. That's a good idea, I'll talk to the rest of the Hildon team to submit a proposal.

Re: New apps for fremantle with Qt?

2009-09-07 Thread Alberto Garcia
On Sun, Sep 06, 2009 at 07:14:22PM +0200, karoliina.t.salmi...@nokia.com wrote: if you want to have the exact same user experience as the preinstalled Maemo 5 applications have (as seen in all youtube videos and the SDK), then you have much easier time and faster development with

Re: New apps for fremantle with Qt?

2009-09-07 Thread Alberto Garcia
On Mon, Sep 07, 2009 at 05:09:25PM +0300, Kate Alhola wrote: The importance and the goal of Hildon is to provide a set of essential widgets so a) app developers don't have to waste their time in writing them themselves b) there is UI consistency between all applications If

Re: New apps for fremantle with Qt?

2009-09-07 Thread Alberto Garcia
On Mon, Sep 07, 2009 at 08:17:01PM +0200, Attila Csipa wrote: This sounds to me like saying coding for Fremantle is a one-shot affair - you have these specially designed widgets, which are there only on Fremantle and who knows what their future will be That's a very reasonable concern, and

Re: New apps for fremantle with Qt?

2009-09-04 Thread Alberto Garcia
On Fri, Sep 04, 2009 at 03:00:05PM +0200, Murray Cumming wrote: One small example that's been mentioned already in this thread: How do we create a HildonAppMenu with Qt? How do we create a HildonTouchSelector, and/or any of the specific selectors for time or dates, etc. I believe the answer

Re: New apps for fremantle with Qt?

2009-09-04 Thread Alberto Garcia
On Fri, Sep 04, 2009 at 06:18:37PM +0300, Kate Alhola wrote: I have used Maemo 5 and N900 since early prototypes and i don't see lot of important frequently used functionality missing from Qt. I admit that some rarely used widgets like earlier mentioned date and time picker are

Re: New apps for fremantle with Qt?

2009-09-04 Thread Alberto Garcia
On Fri, Sep 04, 2009 at 07:16:43PM +0200, kate.alh...@nokia.com wrote: What people are asking here (among other things) is whether there are Qt widgets similar to HildonAppMenu or HildonPickerButton -which are absolutely essential for creating Fremantle applications- or developers are

Re: Howto enable portrait mode support on Fremantle

2009-08-31 Thread Alberto Garcia
On Mon, Aug 31, 2009 at 11:32:37AM +0200, Cornelius Hald wrote: I´ve updated the wiki page with all the information that was provided in this thread. If something is not clear, please feel free to update the page. http://wiki.maemo.org/Using_Fremantle_Widgets#Automatic_Screen_Rotation

Re: Python + hildon.TouchSelector (with pixbufs)

2009-08-31 Thread Alberto Garcia
On Mon, Aug 31, 2009 at 02:33:44PM -0400, Brent Chiodo wrote: Hmm, .set_image() still isn't working... Are the Python bindings using .set_image() from HildonButton? Unfortunately, GtkButton's set_image() is not virtual, cannot be overriden and is useless for buttons with layouts different from

Re: Howto enable portrait mode support on Fremantle

2009-08-21 Thread Alberto Garcia
On Fri, Aug 21, 2009 at 10:59:32AM +0200, Cornelius Hald wrote: And I think that the use of signal size-changed is not the right way.(IMHO) You will need control real value size of window. You will need control changing to full screen and revert in window and in next Maemo devices size

Re: Howto enable portrait mode support on Fremantle

2009-08-21 Thread Alberto Garcia
On Fri, Aug 21, 2009 at 09:07:15AM +0200, Cornelius Hald wrote: hildon_gtk_window_set_portrait_flags(GTK_WINDOW(win), HILDON_PORTRAIT_MODE_SUPPORT); Use HILDON_PORTRAIT_MODE_SUPPORT | HILDON_PORTRAIT_MODE_REQUEST I assume that HILDON_PORTRAIT_MODE_SUPPORT means that this window is

Re: Howto enable portrait mode support on Fremantle

2009-08-21 Thread Alberto Garcia
On Fri, Aug 21, 2009 at 02:37:14PM +0200, Frantisek Dufka wrote: Not sure what Fremantle provides but in general there are more modes (90 vs 270 degrees, 0 vs 180) which may be important to your application because of position of HW buttons or maybe camera input format (may be upside down)

Re: Howto enable portrait mode support on Fremantle

2009-08-21 Thread Alberto Garcia
On Fri, Aug 21, 2009 at 02:53:01PM +0200, Cornelius Hald wrote: I'll try to summarize how it works (I'm adding Kimmo to Cc in case I'm forgetting something, as the rotating itself is done by the desktop, libhildon only sets a WM hint). Let's suppose we open a new window. Before we open that

Re: Howto enable portrait mode support on Fremantle

2009-08-21 Thread Alberto Garcia
On Fri, Aug 21, 2009 at 02:59:38PM +0200, Andre Klapper wrote: hildon_gtk_window_set_portrait_flags(GTK_WINDOW(win), HILDON_PORTRAIT_MODE_SUPPORT); Use HILDON_PORTRAIT_MODE_SUPPORT | HILDON_PORTRAIT_MODE_REQUEST Maybe you could add a few lines / example code to

Re: App menu not popping up any more after upgrading to Fremantle Beta2

2009-07-27 Thread Alberto Garcia
On Mon, Jul 27, 2009 at 04:42:48PM +0200, Luca Donaggio wrote: After upgrading my SDK to Fremantle Beta2, I'm not able to click on the window title bar of my applications to bring up its menu any more. Make sure that you're showing all menu items. A call to gtk_widget_show_all(menu) after

Re: App menu not popping up any more after upgrading to Fremantle Beta2

2009-07-27 Thread Alberto Garcia
On Mon, Jul 27, 2009 at 05:27:31PM +0200, Luca Donaggio wrote: Thanks Alberto, now it works! I'm wondering why was it working before (Beta1) when I was doing a gtk_widget_show_all() on the main window only? It was a bug in the menu; it was showing the widgets for you. Berto

Re: How to place a button in the fremantle title bar?

2009-07-21 Thread Alberto Garcia
On Tue, Jul 21, 2009 at 11:00:54AM +0100, Andrew Flegg wrote: Yes, I understand that. But a developer, on seeing a screencast, thought it part of the normal WM chrome. Indeed, if you look at the screenshot[1] it looks like any other stacked window, but with a button next to the back arrow.

Re: How to place a button in the fremantle title bar?

2009-07-21 Thread Alberto Garcia
On Tue, Jul 21, 2009 at 12:30:45PM +0100, Andrew Flegg wrote: Presumably one shouldn't allow the user to unfullscreen such a window. Also what about the impact on themeing, menus AppMenus? ...because it *looks* like a window, clicking on the title should open the window's menu. Does

Re: Submenues in Fremantle

2009-07-07 Thread Alberto Garcia
On Sat, Jul 04, 2009 at 08:58:14PM +0200, Till Harbaum / Lists wrote: While i was pretty successful doing the first i still need a submenu here and there. I found this example: http://maemo.org/api_refs/5.0/beta/tutorial/html/ch10.html using seperate windows for this. I think that example

Re: HildonWindow dimensions not updated on unfullscreen in Fremantle SDK beta

2009-07-01 Thread Alberto Garcia
On Wed, Jul 01, 2009 at 03:40:08PM +0200, Luca Donaggio wrote: I'm attaching a callback function to the expose event of my app HildonWindow to detect size changes occurring after a screen orientation change or a fullscreen / unfullscreen button press. 'expose' is generated when a part of the

Re: HildonWindow dimensions not updated on unfullscreen in Fremantle SDK beta

2009-07-01 Thread Alberto Garcia
On Wed, Jul 01, 2009 at 05:57:20PM +0200, Luca Donaggio wrote: But detecting when an event of type GDK_CONFIGURE has occurred shouldn't be more correct? Ah, yes, if you only want to detect changes in the size of the window I think that should be enough :) Berto

Re: Is the HildonAppMenu example correct?

2009-06-28 Thread Alberto Garcia
On Sun, Jun 28, 2009 at 06:15:18PM +0200, Till Harbaum / Lists wrote: fyi: There are examples at maemo.org at http://maemo.org/api_refs/5.0/beta/tutorial/html/ch10.html that don't have the gtk_show_all() call. Following your statements, these examples are thus wrong. You're right, they

Re: Is the HildonAppMenu example correct?

2009-06-26 Thread Alberto Garcia
On Fri, Jun 26, 2009 at 09:49:07PM +0200, Till Harbaum / Lists wrote: i am using HildonAppMenu for the next release of gpxview. I have followed these instructions: http://maemo.org/api_refs/5.0/beta/hildon/HildonAppMenu.html The problem: If i add a menu to a newly created stackable window

Re: How to top a maemo application if it's minimized?

2009-06-20 Thread Alberto Garcia
On Sat, Jun 20, 2009 at 08:42:08PM +0800, Zhihai Wang wrote: DBus method call will wake up an application and top it if this application is not yet started. But if the application is already started and minimized, it won't raise to top. One way to do this is to call hd_wm_top_service, but

Re: Fremantle UI Portrait Mode

2009-06-12 Thread Alberto Garcia
On Fri, Jun 12, 2009 at 10:31:44AM +0200, Murray Cumming wrote: All in all I think that the Gtk-API should be used more, but that the rendering on the screen should just different from the rendering on the desktop. We try to do that where possible. Sometimes it's just a matter of

Re: Fremantle UI Portrait Mode

2009-06-11 Thread Alberto Garcia
On Tue, Jun 02, 2009 at 08:09:36PM +0200, Cornelius Hald wrote: this mail got a bit longer then I expected. And the reply took longer than I expected too :) Please accept my apologies. I think most people who use filters and the portrait mode will have to create a different version of the

Re: Finger friendly context menu in Fremantle

2009-06-10 Thread Alberto Garcia
On Wed, Jun 10, 2009 at 07:47:33PM +0200, Cornelius Hald wrote: using hildon_gtk_menu_new() I can create a menu with finger friendly sized menu items. It works when I'm adding GtkMenuItems to this menu. But if I'm adding GtkImageMenuItems the menu items have stylus size. For example adding

Re: Fremantle UI Portrait Mode

2009-06-01 Thread Alberto Garcia
On Fri, May 29, 2009 at 11:07:32PM +0300, Henrik Hedberg wrote: However, usually developer should not need to know mode but Hildon widgets should adjust themselves as much as possible during the relayout. Unfortunately that seems not to be the case, as Conny demonstrated earlier with some

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 01:48:54PM +0300, Kimmo Hämäläinen wrote: AFAIK, there is automatic relayout only for confirmation dialogs (and maybe application menu as you said), but not much more. So toolbars you have to handle yourself. The toolkit people can give better answers (I'm handling

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 01:22:57PM +0200, Cornelius Hald wrote: The AppMenu looks nice, only the Filters get crippled: http://zwong.de/wp-content/uploads/2009/05/conboy_style_menu_portrait.png This is a bug (already fixed): in portrait, the menu will use the full width of the screen, so in

Re: Fremantle UI Portrait Mode

2009-05-29 Thread Alberto Garcia
On Fri, May 29, 2009 at 09:37:10PM +0200, Murray Cumming wrote: To detect screen orientation changes you can e.g. use the size-changed signal of GdkScreen. This seems like a rather long-winded way to detect landscape or portrait mode, requiring the hard coding of the dimensions. Why do you

Re: GtkAction vs. AppMenu

2009-05-28 Thread Alberto Garcia
On Thu, May 28, 2009 at 04:30:10PM +0200, Cornelius Hald wrote: The implementation can be changed, we're in beta and that means that things can still be fixed. No, Beta generally means that API and UI changes are no longer possible. And I think that's the case with Maemo 5. Could

Re: GtkAction vs. AppMenu

2009-05-25 Thread Alberto Garcia
On Mon, May 25, 2009 at 06:19:35PM +0200, Cornelius Hald wrote: I just tried that, and indeed using hildon_app_menu_add_filter() groups the toggle buttons together into one row. Yes, that's the purpose of that function. As you say, only one filter group is supported, but that's by design.

Re: GtkAction vs. AppMenu

2009-05-25 Thread Alberto Garcia
On Sun, May 24, 2009 at 07:58:26PM +0200, Cornelius Hald wrote: Thanks Berto for all the good input and for explaining the decisions that have been made. Thank you for your feedback :) Another thing is, that if you compare those two menus, you can easily see that the Diablo menu has more

Re: AppMenu, Filters and HIG

2009-05-25 Thread Alberto Garcia
On Mon, May 25, 2009 at 10:50:54PM +0200, Claudio Saavedra wrote: This is the purpose of filters, but you might need to find strings that fit well in the menu. Another option, if you don't find a good way to put all filters there, is to use a Change sort criteria button and pop all available

Re: GtkAction vs. AppMenu

2009-05-24 Thread Alberto Garcia
On Sun, May 24, 2009 at 01:48:11PM +0200, Murray Cumming wrote: However, I'm was asking about the API and implementation, because the Fremantle UI guidelines are really out of our control at this point. The implementation can be changed, we're in beta and that means that things can still be

Re: GtkAction vs. AppMenu

2009-05-23 Thread Alberto Garcia
On Fri, May 22, 2009 at 10:09:49PM +0200, Murray Cumming wrote: if radio buttons are meant to look a certain way in Maemo, why isn't that just a matter of theming or even of making a change in the GTK+ code instead of asking people to use the GTK+ API in an abnormal way? Well, there are

Re: GtkAction vs. AppMenu

2009-05-23 Thread Alberto Garcia
On Sat, May 23, 2009 at 02:33:05PM +0200, Cornelius Hald wrote: gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radio_button), FALSE); To be honest, I also like the _look_ of the toggle button more then the look of the radio button. But I think we really should use radio buttons where it is

Re: GtkAction vs. AppMenu

2009-05-23 Thread Alberto Garcia
On Sat, May 23, 2009 at 10:36:42PM +0200, Murray Cumming wrote: * First, I don't think there's anything abnormal about that API. gtk_toggle_button_set_mode() is there exactly for that purpose and it's trivial to use. I think that function is widely considered to be useless

Re: GtkAction vs. AppMenu

2009-05-23 Thread Alberto Garcia
On Sat, May 23, 2009 at 10:44:50PM +0200, Murray Cumming wrote: Toggle-like radio buttons are quite common too in many user interfaces. Not that I can think of. Well, I haven't made a list :) but out of the blue I can think at least of the GIMP, Audacity, OpenOffice/MS

Re: GtkAction vs. AppMenu

2009-05-22 Thread Alberto Garcia
On Fri, May 22, 2009 at 05:08:08PM +0200, Cornelius Hald wrote: The result now is: - gtk_toggle_button_new() is working but it displays the buttons as toggle buttons not as radio buttons. Well, that's what looks better in the Fremantle UI style. So even if you use gtk radio buttons directly

Re: Aw: Re: Fremantle user interface behaviour and API

2009-05-21 Thread Alberto Garcia
On Tue, May 19, 2009 at 04:51:47PM +0200, Cornelius Hald wrote: When using HildonTextView inside a PanableArea panning is working fine, but I can no longer select text. Are those two mutual exclusive? In HildonTextView you cannot select text with the pointer. This is so by design:

Re: Fremantle user interface behaviour and API

2009-05-21 Thread Alberto Garcia
On Thu, May 21, 2009 at 12:57:00PM +0200, Cornelius Hald wrote: But then, what is the recommend way to produce a finger friendly text view that is editable and scrollable/panable? [...] I thought that panning/selecting would probably work like in the Diablo webbrowser. That is, that you start

Re: GtkAction vs. AppMenu

2009-05-21 Thread Alberto Garcia
On Tue, May 19, 2009 at 05:24:47PM +0200, Cornelius Hald wrote: First of all, sorry for the delay :) 1) The accelerators of my actions don't show up on the menu buttons and they don't work. What do I have to do to get them back? If I create an old school GtkMenuItem out of my GtkAction the

Re: GtkAction vs. AppMenu

2009-05-21 Thread Alberto Garcia
On Thu, May 21, 2009 at 05:28:35PM +0200, Alberto Garcia wrote: Correction: 2) How do I get my GtkRadioActions to work with the HildonAppMenu? I created the the buttons with gtk_radio_button_new() Well, actually in this case you should probably use gtk_toggle_button_new() instead

Re: How to press enter inside the Fremantle SDK

2009-05-19 Thread Alberto Garcia
On Tue, May 19, 2009 at 04:58:44PM +0200, Cornelius Hald wrote: when using the Fremantle SDK I'm having problems pressing the enter-key. If I press the enter-key on my keyboard nothing is happening. I have the same behavior with the Diablo SDK but there the workaround for me was to press the

Re: How to press enter inside the Fremantle SDK

2009-05-19 Thread Alberto Garcia
On Tue, May 19, 2009 at 05:30:53PM +0200, Cornelius Hald wrote: Use the enter key from the numeric keypad (or use NumLock if your computer doesn't have a one). Ahhh thank you very much - that explains a lot :) I never really figured out how to make NumLock work on my Thinkpad. If you have

Re: how to use hildon_banner_show_progress()

2009-05-08 Thread Alberto Garcia
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:

Re: GtkAction vs. AppMenu

2009-04-29 Thread Alberto Garcia
On Wed, Apr 29, 2009 at 07:37:03PM +0200, Cornelius Hald wrote: Or is it possible to create a GtkButton out of a GtkAction? Try this: button = gtk_button_new (); gtk_action_connect_proxy (action, button); Berto ___ maemo-developers mailing list

Re: Using libcurl in a proxy setup?

2008-11-06 Thread Alberto Garcia
On Thu, Nov 06, 2008 at 11:20:24AM +0100, Till Harbaum wrote: i am not sure how to correctly handle a proxy based setting when using libcurl under maemo. libconic is your friend here: http://maemo.org/api_refs/4.0/libconic/index.html -- Alberto García González

Re: Disable auto uppercase on input?

2008-11-05 Thread Alberto Garcia
On Tue, Nov 04, 2008 at 08:26:42PM +0100, Till Harbaum / Lists wrote: i know that this auto uppercase for the first letter can be disabled in the control panel. But how do i disable this from my program? http://maemo.org/api_refs/4.0/gtk/GtkEntry.html#hildon-gtk-entry-set-input-mode

Re: Can't configure a sample project in Maemo 4.1.1

2008-10-17 Thread Alberto Garcia
On Fri, Oct 17, 2008 at 05:48:13AM -0700, Sarah Newman wrote: You want libosso-email-interface-dev. Try 'apt-cache search' with a subset of the lib name maybe (not the exact name libxyz.) 'apt-get build-dep pkg' will help you resolve build dependencies for known packages. Besides that,

Re: GtkPixbuf from Char buffer

2008-10-16 Thread Alberto Garcia
On Thu, Oct 16, 2008 at 05:12:40PM +0300, Arto Karppinen wrote: Hi, were developing an application which is supposed to show user images downloaded from web server using xmlrpc. The problem is that we cant quite figure out how to create a pixbuf from a buffer which contains the RAW contents

Re: Too many categories in Application Manager

2008-06-27 Thread Alberto Garcia
On Fri, Jun 27, 2008 at 07:10:37PM +0200, Andrea Grandi wrote: I noticed a bad thing since a lot of time. Application Manager (or better, packages) has a lot of unusefull categories. For example: Utilities, utilities, utils ecc... What do you think about organize them better to have less

Re: Too many categories in Application Manager

2008-06-27 Thread Alberto Garcia
On Fri, Jun 27, 2008 at 08:46:42PM +0200, Andrea Grandi wrote: I think that the problem is that categories are defined by application developers (Section: field in the debian/control file). yes, you're right. With my mail I did mean: can we decide some general rules that every

Re: Rebuild all chinook source packages on autobuilder

2008-06-17 Thread Alberto Garcia
On Tue, Jun 17, 2008 at 11:33:43AM -0500, Frank Banul wrote: So if your package is failing due to missing dependencies, how does one map the package check to Build-Depends? If I understood your question correctly, dpkg-genbuilddeps might help -- Alberto García González

Re: Maemo Downloads - downloads count went very high..

2008-05-22 Thread Alberto Garcia
On Thu, May 22, 2008 at 03:51:50PM +0200, Aniello Del Sorbo wrote: What happened to the Maemo Download counts ? It was very low as for few days ago and today I see thousands of downloads ? Even my Xournal port skyrocketed from less then 3000 to over 5000, but this is nothing compared to

Re: application closes after sometime ..any guess why?

2008-02-29 Thread Alberto Garcia
On Fri, Feb 29, 2008 at 12:42:53PM -0800, Tripti Gupta wrote: I have made a simple application for N800. My application closes on its own after sometime.. can anyone guess the reason behind? Yes, read this:

Re: How to detect Maemo in automake?

2008-02-21 Thread Alberto Garcia
On Thu, Feb 21, 2008 at 11:15:31AM +0100, Marcin Juszkiewicz wrote: I wonder why this is really needed... If application is for Maemo then it use its libraries (libosso, libhildon) and should check for those libraries not for scratchbox. Yeah, but if your

Re: How to detect Maemo in automake?

2008-02-20 Thread Alberto Garcia
On Wed, Feb 20, 2008 at 02:00:50PM +, Ross Burton wrote: Now for my next question: How do i detect maemo correctly in autoconf? One way is: AC_ARG_ENABLE(maemo,[ --enable-maemo Enable Maemo-specific build options], [enable_maemo=true],

Re: How to detect Maemo in automake?

2008-02-20 Thread Alberto Garcia
On Wed, Feb 20, 2008 at 02:29:18PM +, Ross Burton wrote: What if I want a maemo build on Ubuntu Mobile, or any other system which has the Maemo stack? It's best to make it explicit at configure time because having too much magic means it breaks if your assumptions fail. Indeed, but you

Re: Application closes if launchaed over dbus

2008-02-13 Thread Alberto Garcia
On Wed, Feb 13, 2008 at 03:48:55PM +0100, Pavel Rojtberg wrote: If I start the application this way, everything works, except that the application closes after 20s. Everything works fine w/o the service line. Where should I start debugging? Here :)

Re: FOSDEM 2008 Maemo meeting.

2008-02-05 Thread Alberto Garcia
On Tue, Feb 05, 2008 at 02:18:49PM +0100, Niels Breet wrote: I've created a wiki page to coordinate a meeting at FOSDEM 2008. Please add your name to http://maemo.org/community/wiki/fosdem2008maemomeeting/ if you want to meet with other maemo community members. Good idea, it's worth a post in

Undoing a gtk_widget_tap_and_hold_setup()

2008-01-07 Thread Alberto Garcia
Hi all, is there any way to undo a gtk_widget_tap_and_hold_setup? I mean, at some point, I don't want a button that had a tap and hold menu to show it. I tried a tap_and_hold_setup passing a NULL argument to unset it but it didn't work. Thanks -- Alberto García González

Re: Seeking advice about how to cross-compile 'modest' for bora

2007-12-14 Thread Alberto Garcia
O Venres 14/12/2007 ás 14:51, Norman Ramsey dicía... I downloaded the modest source from their svn repository, and it looks straightforward except that debian/control has a list of build-deps as long as your arm. Have you tried with debian/control.maemo-bora ? -- Alberto García González

Re: New developer - lots of questions

2007-11-16 Thread Alberto Garcia
O Venres 16/11/2007 ás 14:25, [EMAIL PROTECTED] dicía... 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

Re: New developer - lots of questions

2007-11-16 Thread Alberto Garcia
O Venres 16/11/2007 ás 15:27, [EMAIL PROTECTED] dicía... I don't know what is the standard way of detecting which version of Maemo you're using, but you can do it using autoconf and checking the versions of some basic libraries such as libosso and hildon. Are there any symbols that

  1   2   >