Gio library on Debian Lenny

2009-05-15 Thread Richard Shann
Does anyone know if the gio library is working for getting files from the internet in the latest Debian Lenny distribution, x86? I have tried the following code: GError *err = NULL; GFile * file=g_file_new_for_uri (http://www.rshann.plus.com/denemo.html;); GFileInputStream *stream =

Re: How can I update the gdk-pixbuf raw data?

2009-05-15 Thread Andrey Tsyvarev
Hello, Zahra. You can use GdkPixbufLoader for retrieve pixbuf from raw data. Code example: GdkPixbufLoader *loader = gdk_pixbuf_loader_new(); gdk_pixbuf_loader_write(loader, buffer, buffer_size, NULL); gdk_pixbuf_loader_close(loader, NULL); GdkPixbuf* pixbuf =

Re: Gio library on Debian Lenny

2009-05-15 Thread Paul Pogonyshev
Richard Shann wrote: Does anyone know if the gio library is working for getting files from the internet in the latest Debian Lenny distribution, x86? You probably need GVFS package. GIO itself doesn't contain any implementations for remote access, only interfaces and local access, AFAIK. Paul

Re: How can I update the gdk-pixbuf raw data?

2009-05-15 Thread zzojaji
Dear Andrey, Thanks alot for your guidance, but when i change the buffer data, image header is also changed, and when using gdk_pixbuf_loader_write, an error of unrecognized image file format will be arised, this is because that the image format is important for the loader. is it any way to

Re: Gio library on Debian Lenny

2009-05-15 Thread Richard Shann
On Fri, 2009-05-15 at 19:12 +0300, Paul Pogonyshev wrote: Richard Shann wrote: Does anyone know if the gio library is working for getting files from the internet in the latest Debian Lenny distribution, x86? You probably need GVFS package. GIO itself doesn't contain any implementations

Help with Glade-3 and gtk.ScrolledWindow

2009-05-15 Thread asomers
I'm trying to use a Scrolled Window in my application, but without success. Using a TextView as the child widget works, but for any other child widget I get the following error when I run the program: scrolled-win.py:17: GtkWarning: gtk_scrolled_window_add(): cannot add non scrollable widget use

GTK win32 - g_main_context_iteration during WM_WINDOWPOSCHANGED

2009-05-15 Thread jonathan david
Hello all, I set a timer that calls gtk_window_move on a popup window(*1). while the popup window is moving I move the main application window. This leads to immediate processing of WM_WINDOWPOSCHANGED message, which in turn calls g_main_context_iteration during that iteration, additional call to

How can I update the gdk-pixbuf raw data?

2009-05-15 Thread zzojaji
Hello, I am using gdk-pixbuf and have a problem that is: Hello, I am using gdk-pixbuf-0.22 and have a problem: How can I update the pixbuf raw data? There Is a pixbuf constructed from an Image file, I want to change raw data behind It and upload new data back to pixbuf. I am using the

Re: Help with Glade-3 and gtk.ScrolledWindow

2009-05-15 Thread Tadej Borovšak
Hello. There are two kinds of widgets when it comes to adding them in scrolled window: those that support scrolling natively and those who don't. Widgets with native scrolling ability are only four: GtkTextView, GtkTreeView, GtkIconView and GtkViewport. Those widgets should be added to scrolled

Re: Native file chooser dialog on Windows

2009-05-15 Thread Cody Russell
On Thu, 2009-05-14 at 22:46 -0400, David Cantin wrote: is there a plan or any activities regarding using the native file chooser on the Windows platform ? Like the print dialog does. My feeling is that for such dialogs we should perhaps implement a dialog that looks like the native one

Re: Native file chooser dialog on Windows

2009-05-15 Thread Matthias Clasen
On Fri, May 15, 2009 at 1:25 PM, Cody Russell brats...@gnome.org wrote: On Thu, 2009-05-14 at 22:46 -0400, David Cantin wrote: is there a plan or any activities regarding using the native file chooser on the Windows platform ? Like the print dialog does. My feeling is that for such dialogs we

Re: glist manipulation and reference count

2009-05-15 Thread Sven Neumann
Hi, On Thu, 2009-05-14 at 20:47 -0700, walty wrote: However, one thing that surprised me is that, when I do g_list_append or g_list_prepend, it does not automatically add the reference count of the stored GObject (unlike objective-C). It would be nice to have some container implementations

Re: Native file chooser dialog on Windows

2009-05-15 Thread David Cantin
I don't known about this, but from an usability point of view, using native dialog should help applications users because they can use skills they have learned while they were using others applications.. Those details are always sensibles when using a foreign gui toolkit. I will look into what

Re: Review of gnio, round 1

2009-05-15 Thread Stefan Kost
Alexander Larsson schrieb: On Mon, 2009-05-11 at 10:49 -0400, Dan Winship wrote: On 05/11/2009 10:30 AM, Stefan Kost wrote: Alexander Larsson schrieb: GResolver is already in gio, yes. NameResolver isn't really less generic than GResolver though. What else would it resolve but names? Could be

Re: glist manipulation and reference count

2009-05-15 Thread David Zeuthen
On Fri, 2009-05-15 at 19:42 +0200, Sven Neumann wrote: Hi, On Thu, 2009-05-14 at 20:47 -0700, walty wrote: However, one thing that surprised me is that, when I do g_list_append or g_list_prepend, it does not automatically add the reference count of the stored GObject (unlike

Re: Native file chooser dialog on Windows

2009-05-15 Thread Cody Russell
On Fri, 2009-05-15 at 13:51 -0400, David Cantin wrote: I don't known about this, but from an usability point of view, using native dialog should help applications users because they can use skills they have learned while they were using others applications.. Those details are always

Re: Native file chooser dialog on Windows

2009-05-15 Thread Allin Cottrell
On Fri, 15 May 2009, Cody Russell wrote: On Thu, 2009-05-14 at 22:46 -0400, David Cantin wrote: is there a plan or any activities regarding using the native file chooser on the Windows platform ? Like the print dialog does. My feeling is that for such dialogs we should perhaps implement a

Re: Review of gnio, round 1

2009-05-15 Thread Alexander Larsson
On Fri, 2009-05-15 at 20:59 +0300, Stefan Kost wrote: I just wanted to bring up SAT resolvers to just notice that they are called SAT solvers :) http://en.wikipedia.org/wiki/Boolean_satisfiability_problem If noone else has any likely candidate then from my side the name is yours :) We

Re: Native file chooser dialog on Windows

2009-05-15 Thread Jernej Simončič
On Fri, 15 May 2009 14:33:12 -0400 (EDT), Allin Cottrell wrote: IMO this is now pretty much of a non-issue, since the current GTK file selection dialog is sufficiently like Windows (but nicer!). For the values of nicer that match much slower, worse autocomplete behaviour than the native

Re: Native file chooser dialog on Windows

2009-05-15 Thread Brian J. Tarricone
Cody Russell wrote: On Fri, 2009-05-15 at 13:51 -0400, David Cantin wrote: I don't known about this, but from an usability point of view, using native dialog should help applications users because they can use skills they have learned while they were using others applications.. Those details

Re: Native file chooser dialog on Windows

2009-05-15 Thread Jernej Simončič
On Fri, 15 May 2009 13:29:01 -0700, Brian J. Tarricone wrote: (Does the chooser look the same on all versions of Windows if you ignore theming? Win2k? WinXP? Vista? Windows 7?) Vista introduced new open/save dialog boxes, and changed minor details in the classic dialogs as well (only