Re: [gtk-osx-devel] [PATCH] Update location of gstreamer and plugins

2017-10-25 Thread Matthew J. Francis
On 24/10/2017 21:55, John Ralls wrote: Don’t send patches to the list. File a bug with the patch attached or make a Github PR. Patches attached to bug reports should be created from a git commit using git format-patch. Done, https://bugzilla.gnome.org/show_bug.cgi?id=789505 Thanks for all

RE: EXT :Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Orton, Steven J (IS)
Have you heard of glade? Glade is a GTK application creator that will allow drag and drop of widgets into various widget containers. It also allows for resizing and supports widget events. This is just a GUI creator and this will create a .glade file. It does not provide a way to alter

RE: Insert Various GTKWidgets into a dlg_window

2013-06-28 Thread Orton, Steven J (IS)
Oooh. No. To use glade, you'll have to recreate the window(s) there and cut and paste your existing code into the new code that uses the glade file. This sounds like more than you want to do. Sorry. I'm fairly new to GTK, so I can't really help with GTK specific widget control API use.

[gtk-wayland v2 PATCH 1/3] update wl_visual related operations to eglconfig

2011-11-07 Thread juan . j . zhao
From: Juan Zhao juan.j.z...@intel.com Because wl_visual related interfaces are removed in wayland, the code can not be compiled. We should replace them by the use of egl configs or shm format tokens. We also need to certificate the eglconfig before creating the egl context. Use environment

[gtk-wayland v2 PATCH 2/3] gtk-wayland: update interfaces bindings and display sync APIs

2011-11-07 Thread juan . j . zhao
From: Juan Zhao juan.j.z...@intel.com The code can not be compiled, because the wl_display related interfaces are changed in wayland. Update wl_display_sync_callback APIs to wl_callback_add_listener and wl_display_roundtrip for display sync. Because wl_xxx_create is removed in wayland. Update

[gtk-wayland v2 PATCH 3/3] ignore the windows updates with wrong width and height

2011-11-07 Thread juan . j . zhao
From: Juan Zhao juan.j.z...@intel.com When running applications over wayland, like testcombo. We meet segment fault according to the wrong width and height. Ignore these window's updates. https://bugzilla.gnome.org/show_bug.cgi?id=663550 --- gdk/gdkwindow.c |3 +++ 1 files changed, 3

RE: Patch for updating gtk over wayland interface

2011-11-07 Thread Zhao, Juan J
] On Behalf Of Benjamin Franzke Sent: Wednesday, November 02, 2011 7:05 PM To: Zhao, Juan J Cc: Kristian H?gsberg; gtk-devel-list; wayland-de...@lists.freedesktop.org Subject: Re: Patch for updating gtk over wayland interface For review its always better to git send-email, and since

Patch for updating gtk over wayland interface

2011-11-01 Thread Zhao, Juan J
Hi there, These days I built gtk+ in my platform and updated the interface and fixing some problems with the help from wayland-devel. Now the first step is done: some simple applications in gtk+/test can work well now. So I send this patch to gtk-devel for review and asking for

Re: Merged treemodel-fix branch

2011-08-22 Thread J. Ali Harlow
On Mon, 22 Aug 2011 21:48 +0200, Kristian Rietveld k...@gtk.org wrote: Unit testing - All GtkTreeModel.* unit tests have been put into a single binary (named treemodel). - Many unit test clean ups, improvements and additions in order to be able to refactor parts of the code.

Re: Merged treemodel-fix branch

2011-08-22 Thread J. Ali Harlow
On Mon, 22 Aug 2011 22:30 +0200, Kristian Rietveld k...@gtk.org wrote: Having an automatic tester for generic GtkTreeModels to test for conformance is still something I would love to have and have been thinking about before. It would be a module in which you plug your own implementation of

Re: disable screensaver

2011-06-06 Thread Dr. Michael J. Chudobiak
On 06/06/2011 02:59 PM, Nicolas Soubeiran wrote: Hi all, I want to know if there is a way to disable screensaver while my app is running : the main window is visible and does not need user interaction (it works like a video player). Thanks Here is one example:

Re: Please fill out the GtkLabel questionnaire

2011-04-09 Thread J. Ali Harlow
(resent from a subscribed address; sorry, Benjamin) My answers, fwiw: properties characters requested wrapellipsize width_chars max_width_chars minimum natural false false -1 -1 10 10 truefalse

Re: Gvfs/gphoto2 problem

2011-04-04 Thread Dr. Michael J. Chudobiak
Sorry if my question is off-topic here. But as far as I know there is no separate mailinglist for gvfs. And because glib/gio issues are discussed here, I assumed gvfs questions would be on-topic too. If this mailinglist is not the right place, do you know where I should send my question? Hi

Re: Creating GObject/GTK bindings for language

2010-03-02 Thread Brian J. Tarricone
On 03/01/2010 10:07 PM, Tristin Celestin wrote: I apologize for being so terse. I was grasping at straws, trying to think of a specific question regarding GTK binding to get me started. There have been plenty of bindings to scripting languages in the past, so I thought asking about them in

buttons in GtkMenus, and GtkUIManager

2010-02-23 Thread Brian J. Tarricone
So I have a bit of a weird request. I'm creating a menu based on several merged UI descriptions at runtime, using GtkUIManager. This part works great. The problem is that our user experience guys want a sort of toggle-button-like radio selector at the top of the menu (this will be for a

Re: glib *nix signals

2010-02-06 Thread Brian J. Tarricone
On 02/04/2010 11:11 AM, Thomas Stover wrote: I'm looking for some notes / advise on catching SIGTERM in a glib main loop based program. Mainly on linux, but other kernels would be nice. This article: http://www.linuxjournal.com/article/2121 for instance, recommends masking all signals

Re: How To Enable X Root Window PropertyNotify Event (property-notify-event signal?) In GTK+?

2010-01-06 Thread Brian J. Tarricone
On 01/05/2010 01:36 PM, Daniel Yek wrote: I want to receive X's PropertyNotify event for _NET_WORKAREA and _NET_CURRENT_DESKTOP root window properties. How can I enable them? Can they be received as property-notify-event signal? Or do I need to use lower level event interface? I usually

Re: Creating an aggregating GtkContainer

2009-11-18 Thread Brian J. Tarricone
On Wed, Nov 18, 2009 at 10:35, Per Hermansson hermansson@bredband.net wrote: My question is if someone knows a good way to implement this. I've tested with estimating the widgets size and if the sum of all children is larger then the container the next sub-container is used. One problem

using doxygen to document gobject/gtk classes?

2009-11-16 Thread Brian J. Tarricone
Hi all, I'm in a situation where I'd like to use doxygen (and not gtk-doc) to document some GObject-derived classes. Does anyone have any experience with this and knows of any tricks to use to make the output more useful? I found one link via google[1] that referred to this, but it didn't have

Re: GIO will link with -pthread soon

2009-11-12 Thread Brian J. Tarricone
On 11/11/2009 08:10 PM, Ryan Lortie wrote: libdbus links against libpthread. Hmm: $ ldd /usr/lib/libdbus-1.so.3.4.0 linux-vdso.so.1 = (0x7fff8ebff000) libc.so.6 = /lib/libc.so.6 (0x00350100) /lib64/ld-linux-x86-64.so.2 (0x0034ffa0) Although: $ nm

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-10-05 Thread Dr. Michael J. Chudobiak
On 10/03/2009 02:08 PM, Mark wrote: So what's the conclusion? The existing Nautilus code is OK, except that it should be threaded? That sounds like a good conclusion for now but are we going to do something with it? I'm not a Nautilus developer, but I'd guess that a benchmarked patch

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-10-02 Thread Dr. Michael J. Chudobiak
The one with just 21 seconds is where all my images are in cache. That's also where all my cores are working at 100% The other thread benchmark (70 seconds) vauses all cores to work at ~40% So what's the conclusion? The existing Nautilus code is OK, except that it should be threaded? - Mike

Re: Are Out-of-Tree Widgets Second-Class Citizens?

2009-10-02 Thread Brian J. Tarricone
On 10/02/2009 07:17 AM, Allin Cottrell wrote: On Thu, 1 Oct 2009, Cody Russell wrote: On Mon, 2009-09-28 at 15:12 -0400, Morten Welinder wrote: This is a consequence of the halfway G_SEALing that was done. Insofar G_SEAL is a good idea, it should apply to GTK+ itself, i.e., GtkLabel has

Re: Are Out-of-Tree Widgets Second-Class Citizens?

2009-10-02 Thread Brian J. Tarricone
On 10/02/2009 12:27 PM, Paul Davis wrote: On Fri, Oct 2, 2009 at 1:53 PM, Brian J. Tarricone bj...@cornell.edu wrote: On 10/02/2009 07:17 AM, Allin Cottrell wrote: These two responses (Cody's and Brian's) don't jive. Any more clarification available? Thanks. Sure they do... Cody said apps

Re: Error in gthread.h?

2009-09-30 Thread Brian J. Tarricone
On 09/30/2009 04:57 PM, John Coppens wrote: On Wed, 30 Sep 2009 16:38:10 -0700 Brian J. Tarricone bj...@cornell.edu wrote: That's odd. Are you sure you don't have mixed versions of glib installed somehow? I was convinced that I hadn't, because I installed both from Slackware 13.0 (32

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-09-30 Thread Dr. Michael J. Chudobiak
On 09/30/2009 09:27 AM, Philip Van Hoof wrote: You want to override GdkPixbuf's support for Jpeg and thumbnail all JPEG images using EPeg. It'll beat GdkPixbuf by 5 times or something. That's because afaik does EPeg use libjpeg in a way that it skips rows and columns, and that way performs

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-09-29 Thread Dr. Michael J. Chudobiak
On 09/29/2009 12:00 PM, Mark wrote: Well, the benchmarks ran above are resizing 1927 wallpaper sized images to a max width or height of 200 and that function clearly loses. The solution to this is extremely simple. Grab this file:

Re: Are Out-of-Tree Widgets Second-Class Citizens?

2009-09-28 Thread Brian J. Tarricone
On 09/28/2009 06:11 PM, Allin Cottrell wrote: I'm not sure if the solution Morten advocates -- namely, applying the GSEAL principle internally -- is the best one, although maybe it is. It's not even necessary. Gtk can access struct members directly if desired (for performance reasons, or

Re: libeggdbus v. libdbus-glib

2009-09-24 Thread Brian J. Tarricone
On 09/22/2009 02:59 PM, Denys Vlasenko wrote: I looked into the code just now. I wanted to check, maybe I'm really horribly wrong? Maybe it's a beautifully tight, slim and efficient code after all? This is an example I found in about 2 minutes: [...] These DBUS_TYPE_BYTE_AS_STRING are

Re: Idle Function Not Getting Called

2009-09-04 Thread Brian J. Tarricone
On 09/04/2009 08:12 PM, Marshall Lake wrote: What stops an idle function from being executed? ... pending events, right? I have a situation where an idle function does NOT get called with the following code: g_idle_add ((GSourceFunc) idlefunc, NULL); Well, that works fine for me,

[patch] batch scanlines when loading JPEG...

2009-09-01 Thread Daniel J Blueman
reducing the batch size to the original limit of 4). Many thanks, Daniel Signed-off-by: Daniel J Blueman daniel.blue...@gmail.com -- Daniel J Blueman diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index 680a209..77a37e6 100644 --- a/gdk-pixbuf/io-jpeg.c +++ b/gdk-pixbuf/io-jpeg.c

Re: [patch] batch scanlines when loading JPEG...

2009-09-01 Thread Daniel J Blueman
Hi Federico, On Sat, Aug 29, 2009 at 12:27 AM, Federico Mena Quinterofeder...@ximian.com wrote: On Fri, 2009-08-28 at 16:12 +0100, Daniel J Blueman wrote: I've written and tested a small patch that increases efficiency (particularly in small-cache systems) of loading JPEG images: override

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-31 Thread Dr. Michael J. Chudobiak
On 08/30/2009 09:51 AM, jcup...@gmail.com wrote: able to supply pixels at a certain size. In particular, libjpeg can do a very quick load-at-1/8th-size read where it just decompresses enough to be able to get the DC component of each 8x8 block. If you use libjpeg like this you can expect around

Re: Speeding up thumbnail generation (like multi threaded). Thoughts please.

2009-08-31 Thread Dr. Michael J. Chudobiak
On 08/31/2009 09:03 AM, jcup...@gmail.com wrote: a very quick load-at-1/8th-size read where it just decompresses enough to be able to get the DC component of each 8x8 block. If you use libjpeg like this you can expect around a 100x speedup of the decompress step. The gdk-pixbuf jpeg loader

Re: file chooser: known bug?

2009-08-28 Thread Dr. Michael J. Chudobiak
On 08/27/2009 03:36 PM, Allin Cottrell wrote: I wonder if this is a known bug or if I should report it? I use gtk_file_chooser_dialog_new() with an action of GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, and I pre-select the directory that I think will most likely be wanted, using

Re: Webkit-gtk and MacOSX

2009-08-26 Thread Brian J. Tarricone
On 08/25/2009 06:04 PM, John Ralls wrote: Thank you both for hashing this out for me. I'll persevere with getting Webkit-Gtk to build with quartz, then. I'm not sure I agree that it's not that big: WebKit.framework clocks in at 78M. Presumably WebKit.framework includes WebCore. Would it be

Re: widget_class-event not working

2009-08-21 Thread Brian J. Tarricone
On 08/20/2009 10:27 PM, Patrick M. Rutkowski wrote: I've written a test case that anybody can compile and run: http://www.rutski89.com/static/event_test.c It contains the following line of code in the any_event() function: printf(IT WORKS!\n); That currently does not get printed. If

Re: widget_class-event not working

2009-08-20 Thread Brian J. Tarricone
On 08/20/2009 05:36 PM, Patrick M. Rutkowski wrote: I've got the following code: http://www.rutski89.com/static/gtkevent.cpp I do indeed do this: widget_class-event = any_event_r but then any_event_r() never subsequently get's called, and I'm certain that the widget_class-event =

Re: GZip{In,Out}putStream in GIO?

2009-07-31 Thread Brian J. Tarricone
On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote: From the looks of it, it should be straight forward to write GZip{In,Out}putStream classes based on zlib I'd say call it GCompressed{In,Out}putStream and have it either auto-detect the compression type, or have a param in the API to

Re: GZip{In,Out}putStream in GIO?

2009-07-31 Thread Brian J. Tarricone
On 07/31/2009 01:59 PM, Mikkel Kamstrup Erlandsen wrote: 2009/7/31 Brian J. Tarriconebj...@cornell.edu: On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote: From the looks of it, it should be straight forward to write GZip{In,Out}putStream classes based on zlib I'd say call

Re: GZip{In,Out}putStream in GIO?

2009-07-31 Thread Brian J. Tarricone
On 07/31/2009 01:17 PM, Alberto Ruiz wrote: 2009/7/31 Brian J. Tarriconebj...@cornell.edu: On 07/31/2009 05:48 AM, Mikkel Kamstrup Erlandsen wrote: From the looks of it, it should be straight forward to write GZip{In,Out}putStream classes based on zlib I'd say call it GCompressed{In,Out

Re: Widget realization with respect to current theme

2009-07-21 Thread Brian J. Tarricone
On Tue, Jul 21, 2009 at 17:57, Brian Tietzsdbti...@yahoo.com wrote: I noticed that if I create a GtkButton, call gtk_widget_show for the button, then call gtk_widget_size_request, it returns a guesstimate.  With my current theme selection, this turns out to be a few pixels too small. If I

Re: GTK clipboard on OS X

2009-07-19 Thread Brian J. Tarricone
On 07/19/2009 05:48 PM, Allin Cottrell wrote: GtkTargetEntry rtf_targets[] = { { application/rtf, 0, TARGET_RTF }, { application/x-rtf, 0, TARGET_RTF }, { text/rtf, 0, TARGET_RTF }, { text/richtext, 0, TARGET_RTF }, { STRING,0, TARGET_STRING

Re: client-side-windows merged

2009-07-12 Thread Brian J. Tarricone
On 07/12/2009 01:02 PM, Frederic Peters wrote: Alexander Larsson wrote: The client-side-windows branch has now been merged into master. The http://git.gnome.org/cgit/gtk+/commit/?id=0b586a5a change to gdkdrawable.h: @@ -100,6 +100,7 @@ struct _GdkDrawableClass void (*draw_drawable)

Re: GTK on Macintosh OSX

2009-07-11 Thread Brian J. Tarricone
On 2009/07/11 11:14, John Ralls wrote: I'm concerned, though, about how committed the gtk development team is to completing and maintaining the internal parts. There are some serious holes (pasting and drag-and-drop don't work, just as a particularly egregious example). Richard told me that he

Re: g_spawn_async_with_pipes() ssh based IPC

2009-07-10 Thread Brian J. Tarricone
On 2009/07/09 13:25, Michael Cronenworth wrote: SSH is great for remote terminal sessions, but not much more. I think the sshfs guys might beg to differ with you on that one. As would anyone who uses subversion or git (etc.) over ssh. Or anyone who's tunneled various protocols using ssh's

Re: usb plug/unplug notifications

2009-07-10 Thread Brian J. Tarricone
On 2009/07/09 15:38, Garth's KidStuff wrote: Hi All, I'd like to know how to intercept usb events. Right now, I'm polling for changes, but that isn't the right way to handle device discovery. Is there a way to get a notification when something happens in the usb world? Not really on-topic

Re: g_spawn_async_with_pipes() ssh based IPC

2009-07-09 Thread Brian J. Tarricone
On 2009/07/09 13:25, Michael Cronenworth wrote: SSH is great for remote terminal sessions, but not much more. I think the sshfs guys might beg to differ with you on that one. As would anyone who uses subversion or git (etc.) over ssh. Or anyone who's tunneled various protocols using ssh's

Re: Bringing a GtkWindow to the current desktop with libwnck

2009-07-03 Thread Brian J. Tarricone
On 2009/07/02 23:27, Jim George wrote: I tried to get around this using libwnck. I call wnck_window_get(GDK_WINDOW_XID(main_window-window)), but the WnckWindow returned is always NULL. The X window ID seems to make sense (it's a large integer), so what am I doing wrong? Try this: WnckScreen

Re: glib uses wrong prefix for base-2 units

2009-06-04 Thread Brian J. Tarricone
On 06/03/2009 05:36 PM, Paul LeoNerd Evans wrote: Yes; we messed up 30 years ago and said k when we meant Ki. Oops. Sorry about that. Well, no, 30 years ago there was no Ki. So people did the logical thing and picked the prefix that represented the correct *magnitude* of the value. Lets

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Brian J. Tarricone
Benjamin Drung wrote: Hello, g_format_size_for_display uses the wrong prefixes for units that are counted in power of two. The SI defines following prefixes: k = 1000 M = 1000 k G = 1000 M ... Please use the IEC standard for binary prefixes: Ki = 1024 Mi = 1024 Ki Gi = 1024 Mi ... Oh god,

Re: Stop alt-spacebar window menu

2009-05-28 Thread Brian J. Tarricone
On 05/28/2009 11:51 AM, Bill Farmer wrote: The reason for wanting to capture the alt-spacebar combination is because the keyboard is being played as a musical instrument using the function keys on one side, and the control, alt, and spacebar on the other side. So, every time the user presses

Re: Stop alt-spacebar window menu

2009-05-27 Thread Brian J. Tarricone
Bill Farmer wrote: I am porting a native windows application to linux gtk. I want to stop the alt-spacebar key combination popping up the application window menu. This can be done in windows by capturing the WM_SYSCHAR message. After searching though the gtk documentation and sources, the only

Re: Stop alt-spacebar window menu

2009-05-27 Thread Brian J. Tarricone
On 05/27/2009 09:45 PM, Emmanuel Rodriguez wrote: On Wed, May 27, 2009 at 9:04 PM, Brian J. Tarriconebj...@cornell.eduwrote: Bill Farmer wrote: I am porting a native windows application to linux gtk. I want to stop the alt-spacebar key combination popping up the application window menu

Re: global menubars in GTK+

2009-05-25 Thread Brian J. Tarricone
On 05/25/2009 09:22 AM, Yu Feng wrote: On Mon, 2009-05-25 at 20:17 +0800, Davyd Madeley wrote: OTOH, if GTK+ had API for this, a backend could be written to power the gnome2-globalmenu applet from this API. However, the reason why GGM is using GtkWidgets in favor of GtkActions is that there

Re: global menubars in GTK+

2009-05-25 Thread Brian J. Tarricone
On 05/25/2009 02:04 AM, Nemes Sorin wrote: global menu bar from Usability point of view ... I am a designer interested in Man - Machine interaction. Regarding global menu in Gnome, I spent a 2 weeks using globalmenubar being curious to find in which mode my workflow will be affected (Speed ?

Re: the one true gphoto method?

2009-05-22 Thread Dr. Michael J. Chudobiak
Most apps still use libgphoto2 to import photos, and it works just fine, with the minor proviso that it locks the camera while in use. That has nothing to do with GTK+, use the gvfs list instead. Whoops, sorry, I clicked the wrong button... - Mike

the one true gphoto method?

2009-05-21 Thread Dr. Michael J. Chudobiak
Hi all, How are gnome photo apps supposed to import photos these days? Most apps still use libgphoto2 to import photos, and it works just fine, with the minor proviso that it locks the camera while in use. However, some distros are shipping with the gvfs backend for gphoto, which means that

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: glist manipulation and reference count

2009-05-14 Thread Brian J. Tarricone
[Note that your question is probably more appropriate for gtk-app-devel-list or gtk-list; this list is for the development *of* glib/gtk itself, not about developing apps that *use* glib/gtk.] On 05/14/2009 08:47 PM, walty wrote: However, one thing that surprised me is that, when I do

Re: GVariant for prez!

2009-05-07 Thread Brian J. Tarricone
On Thu, 7 May 2009 23:32:05 -0400 Matthias Clasen wrote: - Find a more suitable name for GVariant, maybe. Havoc had 'GBinaryValue' earlier... GSerializedValue? A bit long... GFlatValue? GComplexValue? (eh.) -brian ___ gtk-devel-list

Re: Size of scrolled window

2009-04-30 Thread j . romildo
On Wed, Apr 29, 2009 at 11:00:51PM -0400, Feng Yu wrote: Hi Jose, What do you mean by as much of as possible? Do you mean 'as much as possible unless it exceeds the screen height?' Yes, that is it. Then perhaps you can get the treeview's size requisition, compare it with the screen

Re: Problems using/understanding drag-and-drop.

2009-04-30 Thread Brian J. Tarricone
sledge hammer wrote: In my app I want the user to drag-n-drop files from nautilus, then the application should open them. I am using as Targets: 1. STRING 2. text/plain You probably want to also (or maybe instead) handle text/uri-list. 2. spaces in the filename are represented as %20

Application for Account

2009-04-29 Thread William J Giddings
HI there, I'm the maintaner of Gnocl, the Tcl/Gtk bindings and I see that we're no longer on the list. Perhaps this was because the past update was for Gtk2.6. Could I have an account so that I can keep the Gtk community informed on the state of play with regard to Gnocl. If you want to check

Re: GLib plans for the next cycle

2009-04-21 Thread Brian J. Tarricone
Alexander Larsson wrote: On Mon, 2009-04-20 at 18:45 -0400, Allin Cottrell wrote: On Mon, 20 Apr 2009, Alexander Larsson wrote: gvfs needs a session bus, not a system bus, so you're falling back to a non-gvfs system. Thus no http support. OK, I suppose I can get this working on my own

Re: gtk_widget_get_allocation

2009-04-17 Thread Brian J. Tarricone
Cody Russell wrote: On Thu, 2008-09-25 at 02:02 +0200, Christian Dywan wrote: * gtk_widget_get_allocation Removed in 2.14.1 The prototype of this function was not agreed upon among the core developers. So the decision was deferred to the next Gtk version. It had to be removed

Re: Gtk+ 3 Roadmap Draft

2009-04-09 Thread Dr. Michael J. Chudobiak
I'd like to see a gdk-pixbuf that can support something other than 8 bits per pixel. Can arbitrary bpp (or at least 1-32) be made a goal for gtk+ 3, to provide decent support for things like modern raw digital camera files? - Mike ___ gtk-devel-list

Re: Cross-compiling GLib 2.18 with arm-linux.

2009-03-31 Thread Brian J. Tarricone
On Fri, 27 Mar 2009 13:00:52 +0200 Felipe Contreras wrote: 2009/3/23 John Peterson j0...@comcast.net: Hello – I’m not sure I’ve got the right mailing list for this question, but I thought I’d try. I have downloaded glib-2.18.0 on Linux FC4, and am trying to cross-compile with an

Re: getting system UI defaults

2009-03-19 Thread Dr. Michael J. Chudobiak
Chuck Crisler wrote: How do you get system default values such as text color, window background color, desktop color, etc? Thank you, Chuck You read the gconf settings. For example, in vala: public static string getSystemDefaultMonospaceFont() { string value = ; var gc =

is this good code?

2009-03-18 Thread Dr. Michael J. Chudobiak
I've never fully understood the timing issues with signals and callbacks. Is this good or evil (vala) code? public bool ensureConnected () { /* try to connect, if not already connected */ if (!connectButton.get_active()) connectButton.set_active(true); /* are we connected

Re: is this good code?

2009-03-18 Thread Dr. Michael J. Chudobiak
Tristan Van Berkom wrote: Anyway, I guess the question is: has all code tied to the set_active(true) signal executed before the last line? I dont know vala at all and I can tell you yes this code is perfectly safe, assuming the signal is implemented as a GSignal, which is a pretty safe

Re: Background color problem

2009-03-16 Thread Brian J. Tarricone
Vlad Volodin wrote: The canvas is white, and it doesn't have some kind of transparency. So, as I thought, I decided to fill it's background with color, got from it's GtkStyle. After some experiments I realized, that widgets (main window, container and GtkClutterEmbed) don't have needed color:

Re: fsync in glib/gio

2009-03-14 Thread Brian J. Tarricone
On Sat, 14 Mar 2009 13:16:45 +0100 Alexander Larsson wrote: On Fri, 2009-03-13 at 14:34 -0700, Brian J. Tarricone wrote: I think you are conflating two issues. No, I don't think I am. I think I'm just replying to a subset of the email that's slightly off topic. Or rather, the fact that I'm

Re: fsync in glib/gio

2009-03-14 Thread Brian J. Tarricone
On Sat, 14 Mar 2009 20:10:32 -0400 Morten Welinder wrote: This is crazy. People are actually advocating that thousands upon thousands of applications need to be changed. If they're behaving incorrectly, yes. But I don't think most of them are. The only case where *not* doing an fsync()

Re: fsync in glib/gio

2009-03-13 Thread Brian J. Tarricone
Sven Neumann wrote: It seems wrong to work around broken file-systems on the application level. That only takes away pressure from the file-system developers to address the problem properly. How is the file system broken? Read the man page for write(). If you want to guarantee that file

Re: fsync in glib/gio

2009-03-13 Thread Brian J. Tarricone
Alexander Larsson wrote: On Fri, 2009-03-13 at 11:11 -0700, Brian J. Tarricone wrote: Sven Neumann wrote: It seems wrong to work around broken file-systems on the application level. That only takes away pressure from the file-system developers to address the problem properly. How

Re: GObject Introspection as part of the GNOME platform

2009-03-11 Thread Brian J. Tarricone
Johan Dahlin wrote: In my opinion, supporting cross-compilation shouldn't be a blocker for integration into glib proper. It's more of a 'nice feature' to support. As long as that means glib will still cross-compile, just the introspection stuff gets disabled, I'm ok with that. Otherwise...

Re: DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-03 Thread Brian J. Tarricone
On Tue, 03 Mar 2009 10:55:33 +0100 Alexander Larsson wrote: On Mon, 2009-03-02 at 22:26 +, Rob Taylor wrote: Brian J. Tarricone wrote: Whether or not the object is local (in-process) or not is irrelevant. Whether or not the method call is sync or async is also irrelevant. It's

Re: DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-02 Thread Brian J. Tarricone
Mark Doffman wrote: I understand that there is no difference on-the-wire between a function-call and message passing. The difference is in peoples perceptions and expectations. When I read CORBA IDL and see: int AFunction (int, int); Because of the connotations provided to me by years of

Re: examples/list.c

2009-01-22 Thread Brian J. Tarricone
Hi Deron, Please don't reply to me directly. The entire list should be able to benefit from this discussion. Deron Kazmaier wrote: I'm sure he know that, but is it available or not? I would think it should still be functional otherwise it would not be binary compatible with existing

Re: examples/list.c

2009-01-21 Thread Brian J. Tarricone
Don't use GtkList or GtkTree. They've been deprecated for... I dunno... 7 or 8 years now, and are unmaintained. You should be using GtkTreeView in conjunction with a GtkTreeStore or GtkListStore. -brian Dave Luttinen wrote: 2nd post. I'm just getting warmed up g. Compile with

saving window size?

2009-01-20 Thread Dr. Michael J. Chudobiak
Hi all, Suppose I have an app, and I would like to save the window size when when quitting. This is easy to do if the user selects File-Quit, but what if they click window-close? By the time you get the destroy signal, the true width/height values are gone. (You seem to get the default

Re: saving window size?

2009-01-20 Thread Dr. Michael J. Chudobiak
Tadej Borovšak wrote: I think you need to save your window's size from within the delete-event callback. Docs: http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-delete-event Thanks! That did the trick. - Mike ___ gtk-app-devel-list

Re: saving window size?

2009-01-20 Thread Dr. Michael J. Chudobiak
don't *ever* use GConf to store the window size. it's *not* a user preference, and the GConf can very well be not writable. use a file inside a directory like the user cache directory as established by the XDG base dir specification. Hmm. Could you expand on this (or point me to the docs that

Re: Bikeshedding the invisible-char

2009-01-19 Thread Brian J. Tarricone
Federico Mena Quintero wrote: openSUSE has a patch that changes the invisible-char to ● (Unicode 0x25CF BLACK CIRCLE). What happens when the current font is missing that character? Will it try to find another font that has it, or will there be a manual fallback that uses '*' instead? The

Re: gparamspecs.c param_double_validate() doesn't support NaN/Inf?

2009-01-10 Thread Brian J. Tarricone
On Sat, 10 Jan 2009 13:42:31 +0200 Andrew W. Nosenko wrote: First at all, could you provide any real-world example, where min/max restriction on GParamSpec could be usefull? The reason is simple: when validation fails, the application has no way to know about it and, therefore, to do

use gvfs mount points

2008-12-20 Thread Dr. Michael J. Chudobiak
Is it normally safe to assume (and choke on a g_assert) that ~/.gvfs mounts are available for non-local-path files (like sftp://whatever...)? Or is that bad behaviour? Is there an elegant way for an app to demand that .gvfs mount points be made available? What's best practice here? - Mike

Re: Top-level include files

2008-12-17 Thread Brian J. Tarricone
Cosimo Cecchi wrote: On Wed, 2008-12-17 at 09:17 -0500, Morten Welinder wrote: So: what header files are meant to be included by applications? Where is this information documented? AFAIK it's not clearly documented anywhere, but in addition to the toplevel headers, you should always include

Re: win32: get notified when gtk+ app gets killed?

2008-12-08 Thread Brian J. Tarricone
Brian J. Tarricone wrote: [EMAIL PROTECTED] wrote: For non-console apps, MSDN says I need to set up a WindowProc callback to catch WM_QUERYENDSESSION messages. But to register it, it seems I need hWnd from the main window which is somewhere hidden by gtk+... That's odd -- on X11, you can

Re: gtk_entry question (example from faq)

2008-12-06 Thread Brian J. Tarricone
On Sun, 07 Dec 2008 04:06:55 +0300 Vasiliy G Tolstov wrote: I'm try to use exmaple from faq http://library.gnome.org/devel/gtk-faq/stable/x842.html But then i'm try to compile - i see this error... How can i add to entry ability to insert only digits? window.cpp:214: error: invalid

checking for gdk/gdkx.h

2008-11-12 Thread Dr. Michael J. Chudobiak
What is the correct way to check for the presence of gdkx.h on a system? This doesn't work for me: +# Checks for GDK X11 support; GDK GTK on Mac OS X do not provide X11 +# extensions if compiled to use the Quartz backend. +# +HAVE_GDKX=no +AC_CHECK_HEADER(gdk/gdkx.h, +

Re: Fixing EMail Addresses in GLib/Gtk+ bugzilla components

2008-10-30 Thread Brian J. Tarricone
Johan Dahlin wrote: b) We *always* use a @gnome.bugs alias as the Default Assignee for all Gtk+ components, using a standard, for instance: [EMAIL PROTECTED] Then what happens when someone takes the bug and assigns it to him/herself? Not allowing that seems pretty annoying...

Re: handling of keyboard under darwin (quartz)

2008-10-30 Thread Brian J. Tarricone
Arnaud Charlet wrote: Hello, The current code in gdk/quartz/gdkkeys-quartz.c uses a deprecated (since 10.5) API to handle keyboard layout on darwin, which is not available to x86-64 applications. Here is a possible patch that uses the new TIS API. Is the TIS API available in 10.4? If not,

Re: Theming API hackfest: last call

2008-10-15 Thread Brian J. Tarricone
On Wed, 15 Oct 2008 13:48:47 +0200 Robert Staudinger wrote: Relatedly I am thinking of a sane way to import styling into CSS blocks to aid widget mimicking. Imagine you want to mimick a GtkButton with your own wonderful implementation FooButton, but unrelated in the GType hierarchy (not

Re: pre-summit introspection status

2008-10-15 Thread Gustavo J. A. M. Carneiro
on this. The plan is to make a decision on at the summit, we'll discuss this proposal there. Cool. behdad ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list -- Gustavo J. A. M. Carneiro

Re: pre-summit introspection status

2008-10-10 Thread Gustavo J. A. M. Carneiro
, the __attribute__ stuff is only easier to parse if you use something like GCC-XML (with its associated problems) to parse the header files. Otherwise the current gtk-doc syntax appears to me much simpler to parse for a simple python/perl/whatever script. -- Gustavo J. A. M. Carneiro [EMAIL

Re: g_utf8_validate() and NUL characters

2008-10-07 Thread Brian J. Tarricone
Behdad Esfahbod wrote: Havoc Pennington wrote: On Mon, Oct 6, 2008 at 4:42 PM, coda [EMAIL PROTECTED] wrote: Is there any reason not to support NUL/U+ in strings? The point of not allowing nul in g_utf8_validate() I think is that nul is not valid text. It may be valid unicode in some

Re: Minutes of the GTK+ Team Meeting - 2008-09-23

2008-09-25 Thread Brian J. Tarricone
Alexander Larsson wrote: On Thu, 2008-09-25 at 11:38 -0500, Mike Kestner wrote: If the motivation for removing the types is that, things aren't as beautiful as they could be then that argument doesn't really outweigh the pain of porting existing code. Especially when the cost of supporting

Re: [Usability] Print and page setup dialogs are very unusable

2008-09-09 Thread Dr. Michael J. Chudobiak
Maxim Levitsky wrote: If I want to print on anything but standard paper, I have first to open page setup, select a printer there, select page size close this dialog, and only then select print. It would be much better to have one more option in print dialog to select page size there, and

Re: quarks

2008-09-01 Thread Brian J. Tarricone
On Mon, 01 Sep 2008 02:20:35 -0300 Martin (OpenGeoMap) wrote: Someone knows like quarks works in glib. I can not find the source code, only the header. Itś suppose we don need free the string inside a static string of a quarks. But how is that???. Where is the string saved?. The

  1   2   3   4   >