Re: [Vala] Get default terminal emulator?

2012-06-22 Thread Thomas Jollans
On 06/22/2012 10:33 PM, PCMan wrote: On Fri, Jun 22, 2012 at 6:46 PM, Thomas Jollans wrote: Hi list, How do I get the user's default terminal emulator with GLib/GIO? I would assume it involves GLib.AppInfo in some way, but it's not as straightforward as that since there isn't really a MIME typ

Re: [Vala] Get default terminal emulator?

2012-06-22 Thread Stefan Risberg
On Sat, Jun 23, 2012 at 04:33:27AM +0800, PCMan wrote: > On Fri, Jun 22, 2012 at 6:46 PM, Thomas Jollans wrote: > > Hi list, > > > > How do I get the user's default terminal emulator with GLib/GIO? I would > > assume it involves GLib.AppInfo in some way, but it's not as straightforward > > as that

Re: [Vala] Get default terminal emulator?

2012-06-22 Thread PCMan
On Fri, Jun 22, 2012 at 6:46 PM, Thomas Jollans wrote: > Hi list, > > How do I get the user's default terminal emulator with GLib/GIO? I would > assume it involves GLib.AppInfo in some way, but it's not as straightforward > as that since there isn't really a MIME type associated with opening a > t

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Stefan Risberg
Ahh thats true. Stefan On Fri, Jun 22, 2012 at 02:00:40PM +0200, Thomas Jollans wrote: > On 06/22/2012 01:09 PM, Stefan Risberg wrote: > >But isn't that how notifications are made by some notification library? > > It is possible to disable window decorations (Gtk.Window.decorated > property),

[Vala] Updating Indicator Menu Items

2012-06-22 Thread Bruce Reidenbach
Hello, Long time listener, first time caller :) I have a problem that I can't seem to solve involving updating items on a menu connected to a system Indicator. I have two classes defined: one that gathers info, and one that displays it. The flow of the program is - Create a status object an

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Thomas Jollans
On 06/22/2012 01:09 PM, Stefan Risberg wrote: But isn't that how notifications are made by some notification library? It is possible to disable window decorations (Gtk.Window.decorated property), and then draw your own, but you can't directly influence what the window manager does, not in det

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Mariano Gaudix
http://fotos.subefotos.com/db2e5a8be0a21c26f620bd4adde20c5fo.png 2012/6/22 Mariano Gaudix > In thePOPUP MENUand COMBOBOX ... has these effects > ... > > If you activate a combo-box or menu ..and then you clicked > the button maximize or mini

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Mariano Gaudix
In thePOPUP MENUand COMBOBOX ... has these effects ... If you activate a combo-box or menu ..and then you clicked the button maximize or minimize of the window ... this always happens 1). First .Clicking the maximize or minimize bu

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Stefan Risberg
But isn't that how notifications are made by some notification library? Stefan On Fri, Jun 22, 2012 at 01:03:04PM +0200, Thomas Jollans wrote: > On 06/22/2012 01:47 AM, Mariano Gaudix wrote: > >Hello How I can make the buttons are inactive , the buttons of > >the window (Buttons :

Re: [Vala] Vala (Gtk 3.0 ) inactive buttons (Buttons : maximize , minimize , close )

2012-06-22 Thread Thomas Jollans
On 06/22/2012 01:47 AM, Mariano Gaudix wrote: Hello How I can make the buttons are inactive , the buttons of the window (Buttons : maximize , minimize , close ) or without focus when the pointer isover them ? You can't. It's the window manager's job to

[Vala] Get default terminal emulator?

2012-06-22 Thread Thomas Jollans
Hi list, How do I get the user's default terminal emulator with GLib/GIO? I would assume it involves GLib.AppInfo in some way, but it's not as straightforward as that since there isn't really a MIME type associated with opening a terminal window as far as I know. Is there even a freedesktop-