Re: Getting gnome preferred email-client

2006-06-20 Thread Greg Suarez
For the web-browser: $ gnome-www-browser you can pass a link as a parameter Don't know about the email client. Sorry. I was able to use gnome-open for both web and email: gnome-open www.google.com and gnome-open mailto:[EMAIL PROTECTED] -- Greg Suarez

Re: debugging information

2006-06-20 Thread Andreas Stricker
Yiannis schrieb: Sorry if this is beyond the scope of this list but on the following message (md:2198): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed which is a runtime error I am wondering what is the (md:2198). Yes md is the program name... but

RE: Limiting the number of characters

2006-06-20 Thread Sailaxmi korada
Thanks Nate, I was actually using the same technique and as I'm a new bee to GTK, thought there could be some elegant way to do this. Thanks for taking the pain to explain me. Regards, Sai Laxmi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 19,

Re: debugging information

2006-06-20 Thread Denis
I do not know how to interpret 2198. However, you can debug such thing by running your program under gdb with G_DEBUG=fatal_warnings set in the environment. G_DEBUG=fatal_warnings will cause the program to assert when it will reach the error and then you will be able to call bt (backtrace) in

Interdependent adjustments conundrum

2006-06-20 Thread Daniel Haude
Hello, For argument's sake, let's consider the following situation: There are four GtkAdjustments: A, B, C, D, with corresponding values a, b, c, d, each linked to a GtkSpinButton (which probably doesn't matter). The following condition is supposed to be always true: d = a + b + c. I wrote

Re: Re: debugging information

2006-06-20 Thread cole-anstey
The 2198 is the process id. Regards From: Denis [EMAIL PROTECTED] Date: 2006/06/20 Tue AM 07:14:24 GMT To: Yiannis [EMAIL PROTECTED] CC: gtk-app-devel-list@gnome.org Subject: Re: debugging information I do not know how to interpret 2198. However, you can debug such thing by running

Re: Interdependent adjustments conundrum

2006-06-20 Thread Patrik Fimml
[...] The behavior I need is this: If the user changes any one of A thru C, D is updated accordingly. If he changes D, A thru C are filled with the default split and D is updated to the resulting value without disturbing A thru C another time round. How is this accomplished? I

RE: Limiting the number of characters

2006-06-20 Thread blythe2
No pain at all! Glad I could help :) I'm not so experienced with GTK myself, actually. -Nate Thanks Nate, I was actually using the same technique and as I'm a new bee to GTK, thought there could be some elegant way to do this. Thanks for taking the pain to explain me. Regards, Sai

Re: debugging information

2006-06-20 Thread Yeti
On Mon, Jun 19, 2006 at 05:20:05PM +0100, Yiannis wrote: Sorry if this is beyond the scope of this list but on the following message (md:2198): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed which is a runtime error I am wondering what is the

Re: Startup splash screen..

2006-06-20 Thread Yeti
On Mon, Jun 19, 2006 at 05:47:39PM +0200, Daniel Haude wrote: On Fri, 16 Jun 2006 11:03:41 +0200, Daniel Pekelharing [EMAIL PROTECTED] wrote: I want to implement a simple startup splash screen for my app, a simple border-less window with an image which displays for a few seconds...

Re: Keybindings?!

2006-06-20 Thread blythe2
Check this out: http://www.gtk.org/tutorial/x201.html, connect the right signal and you're on your way. Thank you very much! I was caught up looking through all the keybinding information, which appears on the surface to be what I was looking for. This works perfectly. -Nate

Re: Interdependent adjustments conundrum

2006-06-20 Thread Tristan Van Berkom
Daniel Haude wrote: [...] I looked at g_signal_handler_block(); I do have the signal IDs (using some ugly external global variables) but I can't figure out what the instance argument is supposed to mean. But even if I could I wouldn't know how to use it because where would I put it?

Re: Interdependent adjustments conundrum

2006-06-20 Thread Daniel Haude
On Tue, 20 Jun 2006 14:59:16 +0200, Patrik Fimml [EMAIL PROTECTED] wrote: The instance argument is the object (the GtkAdjustment in your case) on which the signal has been set. You don't need to keep the IDs, it's probably much easier to use g_signal_handlers_[un]block_by_func, which allow

GLib 2.11.4 released

2006-06-20 Thread Matthias Clasen
GLib 2.11.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.11/ http://ftp.gnome.org/pub/GNOME/sources/glib/2.11/ glib-2.11.4.tar.bz2 md5sum: 9d3a94baa4bfcd9a579b45eea6de3a8c glib-2.11.4.tar.gz md5sum: f7768bc7ed524c6b40cb87daccb6c2b2 This is a development release

switch cursor color in libsourceview

2006-06-20 Thread chabayo
Hello, i want to have a red cursor-color on black background in a GtkTextView ( which is a Widget of GtkSourceView ). Therefore i found this: . . gtk_widget_set_name ( GTK_WIDGET ( data-view ) , codeview ); gtk_rc_parse_string ( style \default-codeview\ { GtkTextView::cursor_color = \red\

Send keys to system

2006-06-20 Thread 3saul
I'm wanting the user to be able to click a button in my app which in turn sends specific keystrokes to the 'system'. I'm not sure if GTK itself can do this or if it needs to be an X thing. -- View this message in context: http://www.nabble.com/Send-keys-to-system-t1821711.html#a4967740 Sent from

app launch detection

2006-06-20 Thread rachit goel
i am trying to program an applaunch detection tool or u can say a please wait -- application is starting up utility but don't know where to start . i also read a mailing list http://www.redhat.com/archives/xdg-list/2000-November/thread.html#0 and from this it seems there was some