GLib may busy loop on invalid file descriptors

2017-12-22 Thread Benjamin Berg
Hi, I ran into an issue the other day where abrtd was polling an invalid file descriptor. Obviously, there must be a bug in abrtd which closed the wrong FD even though it was still registered with the mainloop using g_io_channel_unix_new and g_io_add_watch. However, the failure mode of GLib to

gtk-style-context notes

2010-10-13 Thread Benjamin Berg
Hello, So, some notes about the gtk-style-context branch. The gtk-style-context branch mirrors the current drawing functions very closely. I know that this requires quite some work, but there are some things that can easily be changed now: * Make focus just a simple flag (that can also be

Cups print backend fixes

2010-09-04 Thread Benjamin Berg
Hello, some time ago I have looked into the printing stack to sanely support a new MFP on GNOME. There were some annoying issues that need to be solved. So I would love to get these issues fixed. Attachment #168505[1] is the most important patch (bug #599664[2]). It fixes the non-blocking

Re: Notes and thoughts on the GTK+ meeting at GUADEC

2009-08-20 Thread Benjamin Berg
On Wed, 2009-08-19 at 22:42 +0100, Thomas Wood wrote: On Fri, 2009-08-14 at 12:40 +0100, Alberto Ruiz wrote: There's the issue of CSS though. Would it be acceptable to deprecate gtkrc's in the middle of the 3.0 cycle in favor of CSS theming files? This is an area where I'm pretty much

Re: Decorating scales

2009-01-06 Thread Benjamin Berg
On Tue, 2009-01-06 at 13:07 -0500, Tristan Van Berkom wrote: Some requirements we had: - allow the knob to be an rgba pixbuf (we would just composite it when it changed position in the trough, could we achieve nice round-edged sliders with a child widget knob ? that would be ideal I

Re: Theming API Hackfest

2008-08-29 Thread Benjamin Berg
Hello, On Thu, 2008-08-28 at 21:33 +0200, Robert Staudinger wrote: While working on the gtk-css-engine for the last couple of weeks I've had some discussions with Benjamin Berg regarding the theming issues. Well, lets argue some more ;-) Here's what I learned so far: - The biggest issue

Re: Gtk new theming API BoF scheduled

2008-07-09 Thread Benjamin Berg
Hello, On Wed, 2008-07-09 at 14:45 +0200, Kristian Rietveld wrote: Actually the general state of GTK+ talk has been moved to this slot (Thu, 14:30) instead. This was decided last week and was on the schedule until this morning when it was reverted to the version that has also been printed

Re: simple widget to draw on ?

2008-03-05 Thread Benjamin Berg
Hello, On Sun, 2008-03-02 at 13:33 -0500, Havoc Pennington wrote: Hi, (Though, I also wonder if there's a bug in either the use of DrawingArea or the theme shown in your screenshot; looking at the gtk code, the drawing area's background should be set on theme change and on realize, so maybe

Re: GTK+ Theming improvements

2007-09-01 Thread Benjamin Berg
On Fri, 2007-31-08 at 13:26 +0200, Lieven van der Heide wrote: As for the general rendering of widgets, I think the current way of letting the widget itself do the drawing, using a bunch of primitives (ie. boxes, frames, etc.), and then letting the theme engines theme just those primitives,

Re: GTK+ Theming improvements

2007-09-01 Thread Benjamin Berg
On Sat, 2007-01-09 at 16:32 +0200, Mathias Hasselmann wrote: Why not use the most obvious solution for the problem: Keep the theming engine as is, but instead of using one single theming detail string, let's attach a theming class property in the spirit of CSS class names to widgets:

Re: GTK+ Theming improvements

2007-08-31 Thread Benjamin Berg
On Fri, 2007-31-08 at 02:42 +0100, Alberto Ruiz wrote: 2007/8/30, Milosz Derezynski [EMAIL PROTECTED]: The point about spatial awareness hit it right on the spot really; just as a throw in, i think something like this here should (should as in, it

Re: GTK+ Theming improvements

2007-08-31 Thread Benjamin Berg
On Fri, 2007-31-08 at 20:01 +0100, Peter Clifton wrote: Could a sensible (IE - like it is at present) tree-view header be constructed out of similarly conjoined buttons, or is there further themeing required? (Assuming we could switch off the corner rounding and pre-lighting at will). Maybe I

GTK+ Theming improvements

2007-08-29 Thread Benjamin Berg
Hello, So here finally an E-Mail about the GTK+ theming discussion we had at the start of GUADEC and some things I picked up. In the discussion CSS had been mentioned a lot of times to a large extend because of the matching abilities that it has. It is possible to match on the hierarchy and also

Re: color of gtk widget

2007-08-03 Thread Benjamin Berg
On Fri, 2007-03-08 at 16:17 +0100, [EMAIL PROTECTED] wrote: On 8/3/07, Prasanna Kumar K [EMAIL PROTECTED] wrote: I have a GtkWidget Button. I want the color of the button should be complete red. You can do it with a gtkrc. For example, set this resource file: widget *red_widget style

Re: Blacklisting themes?

2007-07-04 Thread Benjamin Berg
On Wed, 2007-04-07 at 01:48 +0200, Milosz Derezynski wrote: Reminds me all of http://bugzilla.gnome.org/show_bug.cgi?id=326249 I'm not sure this ever got a proper audit and all themes in general could need one. s/themes/engines/ ! And none of the engines in gtk-engines is exporting

Re: Blacklisting themes?

2007-06-22 Thread Benjamin Berg
On Thu, 2007-21-06 at 20:25 -0500, Federico Mena Quintero wrote: On Tue, 2007-06-19 at 15:08 -0400, Morten Welinder wrote: The application programmer has no choice in the matter and cannot really test with all kinds of themes and all kinds of versions of them. But the resulting crashes

Re: [PATCH] for hovering over activated togglebutton makes it look like a non activated togglebutton

2005-06-20 Thread Benjamin Berg
On Mo, 2005-06-20 at 10:00 +0100, Jon Dowland wrote: On Sun, Jun 19, 2005 at 01:13:28PM +0200, David Christian Berg wrote: On Mon, 2005-06-13 at 22:43 +0200, Jaap Haitsma wrote: Hi, If you hover over a toggle button the button becomes bright gray. It doesn't matter if the button