Re: setuid / setgid

2009-03-02 Thread Dave Howorth
John Emmas wrote: It gives a link to a web page for more information (http://www.gtk.org/setuid.html) but to be honest, it doesn't explain the situation very well. It doesn't explain what a setuid program is, nor why a program that was never previously a setuid program would suddenly become

Re: setuid / setgid

2009-03-02 Thread John Emmas
Hi Dave, That wiki page filled in the missing gaps and I've now managed to fix the problem. Thanks for your help. John ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

re: tuning widgets base size

2009-03-02 Thread Garth's KidStuff
But this doesn't work. What is the right solution of my problem? Finaly I want make widgets smaller than default widgets, like toolbox widgets in The GIMP. void LXDialog::ShrinkWidgetFont( Gtk::Widget* pCtrl, // [in] Control to shrink the text of real scale) // [in] scale factor

Re: tuning widgets base size

2009-03-02 Thread Alexander
On Monday 02 March 2009, Garth's KidStuff wrote: But this doesn't work. What is the right solution of my problem? Finaly I want make widgets smaller than default widgets, like toolbox widgets in The GIMP. void LXDialog::ShrinkWidgetFont( Gtk::Widget* pCtrl, // [in] Control to shrink

GTK+ 2.15.5 released

2009-03-02 Thread Matthias Clasen
GTK+ 2.15.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.15/ http://download.gnome.org/sources/gtk+/2.15/ gtk+-2.15.5.tar.bz2 md5sum: aa010d3fa57cba96f32db352eb35754f gtk+-2.15.5.tar.gz md5sum: e12fb6a3fa38f92072621f7885d541f7 Yet another development release leading up to

Re: GLib plans for the next cycle

2009-03-02 Thread Mark Doffman
Hello Everyone, There has been some discussion about an IDL for EggDBus. I have also recently started working on a D-Bus IDL so would like to get some feedback on the syntax and how well the IDL would fit when generating EggDBus bindings. I have been working on D-Bus AT-SPI and the IDL is born

Re: GLib plans for the next cycle

2009-03-02 Thread Mikkel Kamstrup Erlandsen
2009/3/2 Mark Doffman mark.doff...@codethink.co.uk SNIP Methods are declared by: method methodName { enumName anenum; } reply { structName astruct; } throws (ErrorOne, ErrorTwo); If you are so keen on clearing out that this is not really a 'method' then why is it

Re: GLib plans for the next cycle

2009-03-02 Thread Mark Doffman
Hi Mikkel SNIP Methods are declared by: method methodName { enumName anenum; } reply { structName astruct; } throws (ErrorOne, ErrorTwo); If you are so keen on clearing out that this is not really a 'method' then why is it declared as such? Why not call it

Re: Gtk+ 3.0 Theming API Hackfest Minutes

2009-03-02 Thread Behdad Esfahbod
Alberto Ruiz wrote: * All drawing funcitions to use a cario context and hide GtkWidget and GdkWindow (Strong request from 3rd party toolkits) When we discussed this before, I among others suggested that this is wrong as it hardcodes cairo as the only supported drawing system in the API. For

Re: GLib plans for the next cycle

2009-03-02 Thread Havoc Pennington
Hi, On Mon, Mar 2, 2009 at 3:40 AM, Mark Doffman mark.doff...@codethink.co.uk wrote: Both the throws and reply clauses are optional, but if a method does not have a reply it should not have a throws clause. This is perhaps a misunderstanding. All methods have replies (in the wire protocol).

DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-02 Thread Mark Doffman
Hi Havoc, Thanks for the reply. I have also changed the subject of this which I should have done in the initial e-mail. Hi, On Mon, Mar 2, 2009 at 3:40 AM, Mark Doffman mark.doff...@codethink.co.uk wrote: Both the throws and reply clauses are optional, but if a method does not have a

Re: GLib plans for the next cycle

2009-03-02 Thread Colin Walters
On Mon, Mar 2, 2009 at 3:40 AM, Mark Doffman mark.doff...@codethink.co.uk wrote: Hello Everyone, I think the DBus list would be interested too. I feel that the D-Bus introspection XML is used badly. For writing a D-Bus specification there is too little information to understand a protocol.

Re: DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-02 Thread Brian J. Tarricone
Mark Doffman wrote: I understand that there is no difference on-the-wire between a function-call and message passing. The difference is in peoples perceptions and expectations. When I read CORBA IDL and see: int AFunction (int, int); Because of the connotations provided to me by years of

GTK+ 2.15.5 released

2009-03-02 Thread Matthias Clasen
GTK+ 2.15.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.15/ http://download.gnome.org/sources/gtk+/2.15/ gtk+-2.15.5.tar.bz2 md5sum: aa010d3fa57cba96f32db352eb35754f gtk+-2.15.5.tar.gz md5sum: e12fb6a3fa38f92072621f7885d541f7 Yet another development release leading up to

Re: DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-02 Thread Rob Taylor
Brian J. Tarricone wrote: Mark Doffman wrote: I understand that there is no difference on-the-wire between a function-call and message passing. The difference is in peoples perceptions and expectations. When I read CORBA IDL and see: int AFunction (int, int); Because of the

Re: DBus IDL (Was Re: GLib plans for the next cycle)

2009-03-02 Thread Mark Doffman
Hi Brian, Thanks for your reply, I understand that there is no difference on-the-wire between a function-call and message passing. The difference is in peoples perceptions and expectations. When I read CORBA IDL and see: int AFunction (int, int); Because of the connotations provided to

Re: extending Pango Attributes

2009-03-02 Thread Behdad Esfahbod
Paul Plaquette wrote: Hello, for a project I have to add specific tag that come with attributes. I also have to support pango span tag and its attributes as the set of pango facility markups. Looking at PangoAttributes, I am thinking to use that data structure as a basis and to extend

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread Behdad Esfahbod
august wrote: hey y'all, I'm just getting started with cairo and pango and trying to figure out how to render text within a non-rectangular bounding shape? I can already render stuff to screen and bound a text segment by width and heightbut still haven't

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
august, I can already render stuff to screen and bound a text segment by width and height I guess you tried PangoLayout and friends. how to render text within a non-rectangular bounding shape? Can someone point me in the right direction? If I were you, I'd be using

Re: pango layout in irregular (non-rectangular) bounding shape

2009-03-02 Thread august
In addition, I'd like to render text inside a polygon shape. This is not possible yet. Here is the bug tracking this issue: http://bugzilla.gnome.org/show_bug.cgi?id=435706 Behdad, How far did you get with that? I also see you were looking at

PangoCairo help

2009-03-02 Thread Ricchetti, Andrea
Hi, I'm very new user of Linux World. I'm doing a program for rendering text using pango cairo. I need rendered text on the Video Memory. I've developd a class to access to the frame buffer, and it's work correctly. Which is the correct way to start? I mean I've to created a cairo

GTK+ 2.15.5 released

2009-03-02 Thread Matthias Clasen
GTK+ 2.15.5 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.15/ http://download.gnome.org/sources/gtk+/2.15/ gtk+-2.15.5.tar.bz2 md5sum: aa010d3fa57cba96f32db352eb35754f gtk+-2.15.5.tar.gz md5sum: e12fb6a3fa38f92072621f7885d541f7 Yet another development release leading up to

text view and right-click copy

2009-03-02 Thread Wesley Smith
Hi list, I have a widget with a GtkTextView. When text is in it and I right click to copy the selected characters, I'm getting all kinds of assertion errors and SIGABRT signals. I haven't modified any default behavior of the widget and my text writing functions are always ending by scrolling the

Re: text view and right-click copy

2009-03-02 Thread Wesley Smith
Let me add a few comments to this. Everything in Gtk is working fine until I start opening up other X11 windows procedurally. Somehow these windows are leading to a situation where the Gtk window I've created somehow frequently calls SIGABRT. For example when I try to use an accelerator or

wipping of widgets

2009-03-02 Thread nishit sharma
Hi All, I am trying to find out the way using which i can wipe a widget from parent window which is visible for sometime and after that time it goes back as we used to see on sports channels. The ranking window comes from one end of the screen and disappears in the same end. Can anybody tell me

Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread January Weiner
Hello, I am trying to add a small notification feature for a program that I wrote. This program runs in background and at regular intervals does something. I have added a Gtk2::StatusIcon to let the user know what is going on. The idea is that the icon changes when the program starts doing its

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread zentara
On Mon, 2 Mar 2009 13:33:54 +0100 January Weiner january.wei...@gmail.com wrote: Hello, Problem: 1) when the icon is changed, the icon first disappears completely from the notification area, and then it appears again. Throughout this process, the notification area flickers (adapts to the

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread January Weiner
Your script runs fine here, as is; BTW what I forgot to mention is that I am using Ubuntu 8.10 with Gnome 2.24.1 and perl-gtk 1:1.183.1. The strange behaviour happens when I am doing something in the foreground (like typing, clicking, moving windows whatever). BUT having a sleep 5 in the main

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread January Weiner
One more thing. When other programs are updating their notification icons in the notification tray, it is smooth. When my program changes the icon, the even if that succeeds, the whole tray blinks as if the tray had received two signals: 1) remove item #x (refresh the whole tray) 2) add item #x

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread Quentin Sculo
On Mon, 2009-03-02 at 13:33 +0100, January Weiner wrote: Hello, I am trying to add a small notification feature for a program that I wrote. This program runs in background and at regular intervals does something. I have added a Gtk2::StatusIcon to let the user know what is going on. The

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread Kevin Ryde
January Weiner janu...@uni-muenster.de writes: 1) toggle icon to busy number (1) does not seem to work, I am not able to seamlessly toggle two icons. What you posted works for me too, with stalonetray or trayer (not actual gnome). This is strange, because I thought that calling

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread January Weiner
Hi, I think, based on how Gtk2::TrayIcon worked, that, at least on linux, Gtk2::StatusIcon works by creating a widget. And, like other widgets, drawing the widget, and responding to resize event, is done in the main loop of your program. To make things worse, the widget interacts with

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread zentara
On Mon, 2 Mar 2009 20:49:05 +0100 January Weiner january.wei...@gmail.com wrote: Here is similar code, that does not use sleep. I sped it up to 3 secs for visual effect. Sleep will get you into trouble in eventloop apps do not design with it, unless you really know what is happening behind

Re: Problem setting icon for Gtk2::StatusIcon

2009-03-02 Thread January Weiner
Here is similar code, that does not use sleep. I sped it up to 3 secs for visual effect.  Sleep will get you into trouble in eventloop apps do not design with it, Dear Zentara, I am well aware of the problems with sleep() and I use it here only for demonstration purposes only. I