DTDs and other fun

2012-01-26 Thread Shaun McCance
Ryan asked me to look at the DTDs for the menu markup and GtkBuilder interface definitions, since he merged everything over to GtkBuilder. Here's the old menumarkup.dtd: http://git.gnome.org/browse/glib/tree/gio/menumarkup.dtd?id=4e9f59bff8adc59fd8fde5bdee9879b8c3e4e55b And here's what our docs

Re: DTDs and other fun

2012-01-26 Thread Shaun McCance
On Thu, 2012-01-26 at 17:01 -0500, Matthias Clasen wrote: On Thu, Jan 26, 2012 at 3:25 PM, Shaun McCance sha...@gnome.org wrote: Ryan asked me to look at the DTDs for the menu markup and GtkBuilder interface definitions, since he merged everything over to GtkBuilder. Here's the old

Re: i18n of app menus

2012-01-23 Thread Shaun McCance
On Mon, 2012-01-23 at 06:36 -0500, Matthias Clasen wrote: On Sun, Jan 22, 2012 at 3:13 PM, Olav Vitters o...@vitters.nl wrote: How can those app menus be translated? Is anyone on the gnome-i18n mailing list? The same way gtkbuilder xml files can be translated. Specify the domain when

Re: i18n of app menus

2012-01-23 Thread Shaun McCance
On Mon, 2012-01-23 at 09:11 -0500, Shaun McCance wrote: On Mon, 2012-01-23 at 06:36 -0500, Matthias Clasen wrote: On Sun, Jan 22, 2012 at 3:13 PM, Olav Vitters o...@vitters.nl wrote: How can those app menus be translated? Is anyone on the gnome-i18n mailing list? The same way

Re: GMenuModel has landed

2011-12-09 Thread Shaun McCance
On Fri, 2011-12-09 at 09:14 -0500, Ryan Lortie wrote: The bad news is this: I don't expect this to be supported on a per-application basis or to be possible to use at all from the menubars of an application. We need to make sure menus will continue to work on all platforms (including the mac

Re: RFC: boxes

2011-11-16 Thread Shaun McCance
On Wed, 2011-11-16 at 19:01 +0100, Benjamin Otte wrote: So, next idea. I'm pretty sure about this one actually and have talked to it with people on IRC a lot. Again I have no idea how it will look in detai, but I know I want to get there. This one is all about layouting complex widgets. It

More work on GHelp API

2011-07-20 Thread Shaun McCance
Hi all, I posted about the GHelp API I'm working on back in April: http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00141.html I started working on this again. I've got all my work on gitorious, so I don't have to pass tons of patches around. https://gitorious.org/ghelp To test

Re: About gsettings aborting on unkown schemas

2011-05-30 Thread Shaun McCance
On Fri, 2011-05-27 at 17:09 -0400, Havoc Pennington wrote: Hi, Man, how many times has this thread happened? At least fifty. On Fri, May 27, 2011 at 10:57 AM, Shaun McCance sha...@gnome.org wrote: try: load_some_extension() except: warn(This extension sucks. I'm disabling

Re: About gsettings aborting on unkown schemas

2011-05-27 Thread Shaun McCance
On Fri, 2011-05-27 at 15:34 +0100, Emmanuele Bassi wrote: On 2011-05-27 at 14:59, ecyrbe wrote: and then what? abort the application? gracefully terminate with a warning on the console? No, you can gracefully show a popup to the user that something is broken and to the right

Re: About gsettings aborting on unkown schemas

2011-05-27 Thread Shaun McCance
On Fri, 2011-05-27 at 17:02 +0100, Emmanuele Bassi wrote: On 2011-05-27 at 10:57, Shaun McCance wrote: On Fri, 2011-05-27 at 15:34 +0100, Emmanuele Bassi wrote: On 2011-05-27 at 14:59, ecyrbe wrote: and then what? abort the application? gracefully terminate with a warning

Re: Initial work on a help API

2011-05-18 Thread Shaun McCance
On Wed, 2011-05-18 at 11:29 +0200, Rodrigo Moya wrote: On Thu, 2011-04-21 at 16:16 -0400, Shaun McCance wrote: Hi all, I had a project called Squawk I was working on last year. I chatted a bit with Ryan Lortie about it at the recent help hackfest, and decided to work on it again

Re: Initial work on a help API

2011-05-18 Thread Shaun McCance
On Wed, 2011-05-18 at 19:12 -0400, Ryan Lortie wrote: On Wed, 2011-05-18 at 09:29 -0400, Shaun McCance wrote: With some GApplication work, we could get applications to read something from their .desktop file. Then it could be explicit, e.g. X-Launchpad-ID= You'd still have to patch

Re: migration document missing

2011-02-10 Thread Shaun McCance
On Fri, 2011-02-11 at 10:00 +1100, Andrew Cowie wrote: On Thu, 2011-02-10 at 22:24 +0100, Tadej Borovšak wrote: http://library.gnome.org/devel/gtk3/unstable/gtk-migrating-2-to-3.html Any reason not to have the URLs at .../gtk/3.0/... ? It's there now. It takes library.gnome.org a little

Re: migration document missing

2011-02-10 Thread Shaun McCance
On Fri, 2011-02-11 at 14:03 +1100, Andrew Cowie wrote: On Thu, 2011-02-10 at 19:47 -0500, Shaun McCance wrote: On Fri, 2011-02-11 at 10:00 +1100, Andrew Cowie wrote: On Thu, 2011-02-10 at 22:24 +0100, Tadej Borovšak wrote: http://library.gnome.org/devel/gtk3/unstable/gtk-migrating-2

Re: High-resolution scroll events

2010-11-17 Thread Shaun McCance
a field to GdkEventScroll will trip up a lot of developers. -- Shaun McCance http://syllogist.net/ ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: padding cleanup

2010-09-01 Thread Shaun McCance
-end, rather than -left and -right, and have it do the right thing in RTL locales? I've often wished CSS did it that way, and GTK+ does do most things with start and end already. -- Shaun McCance http://syllogist.net/ ___ gtk-devel-list mailing list gtk

Scrollable interface for 3.0?

2010-05-17 Thread Shaun McCance
http://library.gnome.org/devel/gtk/stable/GtkScrolledWindow.html#ftn.id1043260 The scrolled window installs GtkAdjustment objects in the child window's slots using the set_scroll_adjustments_signal, found in GtkWidgetClass. (Conceptually, these widgets implement a Scrollable interface;

Re: Deprecations for 3.x

2010-05-12 Thread Shaun McCance
On Wed, 2010-05-12 at 09:29 +0200, Cody Russell wrote: 2/ Corner resize grips. I want to add support for this directly to GtkWindow anyway. Is anybody actively working on this? Are there ways of doing this that don't a) require vertical padding a'la GtkStatusBar, or b) unilaterally cover up

Re: GtkNotebook scrolling usability

2010-03-10 Thread Shaun McCance
very annoying for them. And I'm sure there are people who love this feature. So, you know, trade-off. -- Shaun McCance http://syllogist.net/ ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel

Re: GConverter commited

2009-11-24 Thread Shaun McCance
On Tue, 2009-11-24 at 09:36 +0100, Alexander Larsson wrote: On Mon, 2009-11-23 at 21:57 -0600, Shaun McCance wrote: I'll be using the bzip2 and lzma converters in Yelp. I'm not sure about the magic converter. I might just throw it away and go off the file name. The magic detection

Re: GConverter commited

2009-11-24 Thread Shaun McCance
On Tue, 2009-11-24 at 16:22 +, Bastien Nocera wrote: On Tue, 2009-11-24 at 10:09 -0600, Shaun McCance wrote: snip I don't disagree. Is there a place to plop this code for people to pick it up? I'll be putting at least the bz2 and lzma converters into Yelp soon (or possibly an xv

Re: GConverter commited

2009-11-24 Thread Shaun McCance
On Tue, 2009-11-24 at 17:20 -0500, Behdad Esfahbod wrote: On 11/24/2009 11:09 AM, Shaun McCance wrote: So with my implementation, by the time you get to the magic, you've already set up a GConverterInputStream with the magic decompressor. If the stream turns out to be uncompressed

Re: GConverter commited

2009-11-23 Thread Shaun McCance
On Mon, 2009-11-23 at 16:30 +0100, Alexander Larsson wrote: I just commited GConverter to glib master (in gio). GConverter is a generic interface for streaming data conversion. Shipping with gio are converters based on iconv and zlib compression/decompression. Additionally there is

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Shaun McCance
On Mon, 2009-11-09 at 12:17 +0100, Alexander Larsson wrote: On Sun, 2009-11-08 at 12:01 +0100, Martin Nordholts wrote: On 11/08/2009 10:54 AM, Alexander Larsson wrote: I've been working on some API for gio (more details later) that involves having an API for (de)compression. Having this

Re: RFC: Adding zlib dependency to libgio

2009-11-08 Thread Shaun McCance
On Sun, 2009-11-08 at 12:01 +0100, Martin Nordholts wrote: On 11/08/2009 10:54 AM, Alexander Larsson wrote: I've been working on some API for gio (more details later) that involves having an API for (de)compression. Having this as a public API makes zlib a mandatory dependency for libgio

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Shaun McCance
On Wed, 2009-10-14 at 18:52 -0700, Daniel B. Thurman wrote: I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only top-level directories/files populated in the TreeStore. You would think that doing something

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

2009-08-17 Thread Shaun McCance
On Sat, 2009-08-15 at 10:07 -0400, Morten Welinder wrote: FWIW, Sugar uses zip quite extensively to bundle content and software and we would love to move from using python's zipfile to something glib-based. Why all this reinvent-the-wheel effort? libgsf gives you access to zipfiles and

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

2009-08-14 Thread Shaun McCance
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}putStream and have it either auto-detect

Re: Suggested even/odd convention for the micro version numbers (like cairo)

2007-12-11 Thread Shaun McCance
On Tue, 2007-12-11 at 10:37 +0200, Tor Lillqvist wrote: I humbly suggest that the versioning recommendation for the GTK+ stack and GNOME in general is amended for the third micro part of the version numbers to match the convention used in cairo. See

Re: gtk_show_help and gtk_show_url

2007-10-26 Thread Shaun McCance
On Thu, 2007-10-25 at 17:36 -0700, Matthew Paul Thomas wrote: Sorry to come in here wildly late, but ... On Oct 8, 2007, at 8:34 AM, Shaun McCance wrote: - What sort of information does the Mac help system need? ... http://urlx.org/apple.com/d50c3 Help buttons in Mac OS X

Re: gtk_show_help and gtk_show_url

2007-10-08 Thread Shaun McCance
On Sun, 2007-10-07 at 17:10 -0400, Havoc Pennington wrote: Hi, Sketching out an API here, prototype attached. See also http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00139.html Some questions: - in current GNOME, what are the right parameters to open a help file?