high light/selection color from

2008-02-27 Thread Steve Splonskowski
Hello, I would like to get the selection/high light color for the currently selected UI theme (as setup in the Appearance Preferences panel). Can someone point me to how I can get this color via GTK? thanks, steve ___ gtk-app-devel-list mailing

Re: Printing

2008-02-27 Thread Bastiaan Veelo
Bastiaan Veelo wrote: Enrico Tröger wrote: 8) When exporting to PDF on Windows, trying to overwrite an existing file, the program crashes (oops!). This works fine on Linux. I can't reproduce this, on my Windows 2000 box I can overwrite existing files as expected.

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread Mark Rodriguez
James, When doe s the error occur? 0. When program starts 1. When shutting down 2. When creating the text_view the first time 3. When creating the text_view the Nth time I will assume it happens durin shutdown (#1). Yes you are correct. In the real application, the application

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: James, When doe s the error occur? 0. When program starts 1. When shutting down 2. When creating the text_view the first time 3. When creating the text_view the Nth time I will assume it happens durin shutdown (#1).

Re: Text View Complaining about Double Free or Corruption

2008-02-27 Thread James Scott Jr
g_object_ref_sink() replaces gtk_object_sink() Please make this substitution James, On Thu, 2008-02-28 at 00:04 -0500, James Scott Jr wrote: On Wed, 2008-02-27 at 21:03 -0500, Mark Rodriguez wrote: James, When doe s the error occur? 0. When program starts 1. When

GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug? Test program: #include gtk/gtk.h gint main(gint argc, gchar **argv) { GtkBuilder

Re: GtkBuilder bug?

2008-02-27 Thread Mike Massonnet
On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug? Test program: #include

Re: GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
No, application crashes on gtk_builder_add_from_file(). Mike Massonnet wrote: On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in

GdkWindow clean up for offscreen redirection

2008-02-27 Thread Emmanuele Bassi
hi all; the original offscreen redirection patch[1] introduced a clean up work for GdkWindow[2] in order to implement the offscreen GdkWindow object. since this affects the various GDK backends, I think it should go through a round of discussion first. the offscreen redirection patch needs to

Re: GtkBuilder bug?

2008-02-27 Thread Brian J. Tarricone
Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug? Test program: [snip] Gtk-ERROR **: Invalid type: Unknown

Mystery code in gtkmenu.c

2008-02-27 Thread Jon Shemitz
I;m trying to fix a bug where, in a touch-screen environment, you can touch a GtkComboBox to drop down its menu and - sometimes - one of the top two items (which happen to popup over the combo box) will be selected. Even though I've pushed MENU_SHELL_TIMEOUT (gtkmenushell.c) up to 900

Re: GtkBuilder bug?

2008-02-27 Thread Mikkel Kamstrup Erlandsen
On 27/02/2008, Brian J. Tarricone [EMAIL PROTECTED] wrote: Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in UI-file, then application crashes. Is it a GtkBuilder bug?

Re: GtkBuilder bug?

2008-02-27 Thread Ross Burton
On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote: Hmmm. This sounds like a very narrow minded decision to me. I have been planning to write write a framework where one can send GtkBuilder XML snippets to a DBus service and have that service embed this as out of process

Re: GtkBuilder bug?

2008-02-27 Thread Emmanuele Bassi
On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote: On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote: Hmmm. This sounds like a very narrow minded decision to me. I have been planning to write write a framework where one can send GtkBuilder XML snippets to a DBus service

Re: GtkBuilder bug?

2008-02-27 Thread Yevgen Muntyan
On Feb 27, 2008, at 15:32 , Mikkel Kamstrup Erlandsen wrote: On 27/02/2008, Brian J. Tarricone [EMAIL PROTECTED] wrote: Pavel Syomin wrote: Hi, all! I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora 8. I have found, that if there is reference to unknown type in

Re: GtkBuilder bug?

2008-02-27 Thread Yevgen Muntyan
On Feb 27, 2008, at 16:31 , Emmanuele Bassi wrote: On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote: On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote: Hmmm. This sounds like a very narrow minded decision to me. I have been planning to write write a framework where one

Re: GtkBuilder bug?

2008-02-27 Thread Peter Clifton
On Wed, 2008-02-27 at 17:38 -0600, Yevgen Muntyan wrote: On Feb 27, 2008, at 16:31 , Emmanuele Bassi wrote: On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote: On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote: Hmmm. This sounds like a very narrow minded decision to

GtkTransform - a data transform interface for GTK+

2008-02-27 Thread Davyd Madeley
This is an idea that was bounced around the office today. We don't have patches, but it doesn't seem like it would be too hard to implement. I just thought I'd get people's thoughts first. GtkTransform - a data transform interface for GTK+ ==

Re: GtkBuilder bug?

2008-02-27 Thread Tristan Van Berkom
On Wed, Feb 27, 2008 at 8:58 PM, Peter Clifton [EMAIL PROTECTED] wrote: It can be user-data... I've experimented with using libglade to add user-defined widgets to a schematic editor's canvas, and a crash / abort is NOT what we want when the user hand-edits the XML and makes a mistake.

Re: GtkBuilder bug?

2008-02-27 Thread Pavel Syomin
I have added a record into bugzilla - 519199. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GtkBuilder bug?

2008-02-27 Thread Andrew Cowie
On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote: I don't believe that any data passed to a library should result in a fatal warning, surely a GError return would be a far better option here. Isn't GError for conditions that can be reported to the *user*, and that said user can do something