Re: change alternate treeview row color with css

2013-02-06 Thread Bernhard Schuster
See example 26 http://developer.gnome.org/gtk3/unstable/GtkCssProvider.html 2013/1/25 Rudra Banerjee rudra.baner...@aol.co.uk: I tried to change alternate row color of TreeView using css as: GtkCssProvider *provider = gtk_css_provider_new (); gtk_css_provider_load_from_data (provider,

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-06 Thread Owen Taylor
Hi Simon, I didn't see this thread earlier. I wanted to chime in to strongly support the view that: * Floating references are C-convenience only * Languages can and should sink floating references when they first touch them. * Any interface or code in libraries that create problems with

Sharing CSS code between Gtk and the Shell

2013-02-06 Thread Giovanni Campagna
Hello Gtk and hello Shell developers, In https://bugzilla.gnome.org/show_bug.cgi?id=687881 I promised I'd try to address one of the big performance problems in the current gnome-shell, which is the St theming system. Currently St does an awful lot of string matching again and again, as neither

[PATCH] icon-theme: fix leak in insert_theme()

2013-02-06 Thread Alex Chiang
We allocate path with g_build_filename() but never free it. --- diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 0520686..cd2d765 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1113,6 +1113,7 @@ insert_theme (GtkIconTheme *icon_theme, const char *theme_name)

Re: Sharing CSS code between Gtk and the Shell

2013-02-06 Thread Jasper St. Pierre
I looked into this a while ago, and one big issue with this is that we can't e.g. implement custom properties that we just fetch from JS. So we couldn't implement any of our -st- properties or any others that we just make up on the spot. I don't know if it would be possible or feasible to add this

Gnome date format issue

2013-02-06 Thread Ashok Chauhan
Hi All, I’m using below code to set the date in gnome date dialog box but getting different results in Centos 6 and Ubuntu 11 operating systems. In Ubuntu, it is showing dates in weekday, day, month-name and year (Saturday 01 December 2012) instead of DD/MM/YY (01/12/12). Please help me because

Fwd: Gnome date format issue

2013-02-06 Thread vivek kumar
** Hi All,** I’m using below code to set the date in gnome date dialog box but getting different results in Centos 6 and Ubuntu 11 operating systems. ** ** In Ubuntu, it is showing dates in weekday, day, month-name and year (Saturday 01 December 2012) instead of DD/MM/YY (01/12/12). **

RE: function in glib/gqueue.c relies on undefined behavour?

2013-02-06 Thread Fox, Kevin M
In order to support varargs ('...', http://en.wikipedia.org/wiki/Stdarg.h) C compilers put function call arguments backwards on the stack. This allows functions that don't care about extra arguments to simply not offset back far enough on the stack to notice them. No modern C compiler excludes

Re: Stable, long term support releases for gtk+

2013-02-06 Thread Jeremy Bicha
On 3 January 2013 09:26, Emmanuele Bassi eba...@gmail.com wrote: I think it would be good to have the same policy for GTK+ and maybe GLib. this means: • identifying the current branch of GTK+ 3.x being used by stable distributions (Ubuntu LTS, OpenSuse, RHEL, Debian stable); • finding a

GIMP/Glib multi user problems

2013-02-06 Thread Meul Wim
We deliver the GIMP (v2.8.2) in our Citrix XenApp 6.0 environment to our students. The GIMP is locally installed on each XenApp Server. As long as only 1 student is using GIMP on a server, everything went good. When more users use GIMP on the same server, GIMP crashes randomly. Always

Re: out of date langage bindings page for D binding

2013-02-06 Thread Mathieu Dupuy
Hello. Time to bump again :) . The D binding supports Gtk up to 3.6. (and 3.4, of course) it seems that a new binding method (probably using gobject-introspection) gives them the ability to immedialty bind new releases of Gtk. BTW, the haskell binding has now an official page, and it is that one

Re: Touch selections

2013-02-06 Thread Gary Martin
Hi Carlos, Just wanted to provide some design feedback after some testing of your patch inside of the GTK3 based Sugar – on an XO-4 Touch. Items are mainly related to the context menu behaviour: On 11 Jan 2013, at 17:24, Carlos Garnacho carl...@gnome.org wrote: Hello GTK+ list, I went

Re: out of date langage bindings page for D binding

2013-02-06 Thread Mathieu Dupuy
Hello Excuse-me, I've been to language bindings page and I can't find the updates I mailed you. D biding still stops at 3.0, and the Haskell page is still the old one ( http://www.haskell.org/haskellwiki/Gtk2Hs instead of http://projects.haskell.org/gtk2hs) Could you update please ? Thank you

Re: bugzilla cleanup

2013-02-06 Thread Florian Müllner
On Feb 4, 2013 4:08 PM, Matthias Clasen matthias.cla...@gmail.com wrote: Just thought I should mention this, so nobody gets upset if their favourite 10 year old bug is WONTFIXed... Did you close the time machine one? ___ gtk-devel-list mailing list

Re: Problems with un-owned objects passed to closures in pygobject (gtk_cell_renderer_text_start_editing)

2013-02-06 Thread Simon Feltman
Owen, Thank you, this will definitely make things easier. Comments below: * Floating references are C-convenience only It might be a convenience for writing code, not necessarily reading or understanding it. Something more reasonable would be explicitly named convenience functions which steal