Re: enerating Shell-0.1.gir with a custom command. FAILED: src/Shell-0.1.gir

2017-09-25 Thread Giovanni Campagna
On Mon, 2017-09-25 at 19:03 +0200, tj...@dds.nl wrote: > Giovanni Campagna schreef op 25-09-2017 17:57: > > On Mon, 2017-09-25 at 12:42 +0200, tj...@dds.nl wrote: > > > System: Linux LFS-like > > > gnome-shell-3.26.0 > > > gobject-introspection-1.54.0 make c

Re: enerating Shell-0.1.gir with a custom command. FAILED: src/Shell-0.1.gir

2017-09-25 Thread Giovanni Campagna
Hello! On Mon, 2017-09-25 at 12:42 +0200, tj...@dds.nl wrote: > System: Linux LFS-like > gnome-shell-3.26.0 > gobject-introspection-1.54.0 make check passed all tests > bash-4.4 with all 12 patches > > cut and paste from xterm > > [...] > Command >

Re: gnome shell themes, extensions, gtk3 themes

2016-07-13 Thread Giovanni Campagna
Hi Marco, On Tue, 2016-07-12 at 22:43 +0200, Marco Martin wrote: > n Tue, Jul 12, 2016 at 9:16 AM, Narcis Garcia > wrote: > > When you look for LXDE themes (and parts), many people recommends > > the > > use of some Gtk3 themes. > > are they actually combined in one

Re: How to adapt colors of SVG icon?

2015-10-28 Thread Giovanni Campagna
On Oct 28, 2015 7:48 AM, "Olaf Leidinger" wrote: > > Dear List, > > some gnome-shell themes have non-black background or > a non-white foreground. When loading a two-colored SVG file, what's the > easiest way to use the current shell theme's foreground and background > color

Re: [Security] Extension reviews

2015-10-08 Thread Giovanni Campagna
On Oct 8, 2015 3:13 AM, "Sam Bull" wrote: > > Am I right in thinking that a reviewer sees the same page as the author > when looking at a new version of an extension, just with the additional > option to approve the extension? > > If this is the case, then it is trivial to

Re: Let extensions access the extensionPrefs HeaderBar

2015-02-09 Thread Giovanni Campagna
On Sun, Feb 8, 2015 at 6:43 AM, Felipe Borges felipebor...@gnome.org wrote: Hi, I've recently reported a bug[0] about my desire of having a more complex preferences dialog for my extension (powered by GtkStacks, stack switchers et al just like modern gnome apps). I understand that letting

Re: Gvc constructor problem

2015-01-01 Thread Giovanni Campagna
On Mon, Dec 29, 2014 at 3:07 PM, ivano borsato iacopodeeno...@gmail.com wrote: hi all, i've a problem to create mine *Gvc.MixerControl* class, i'll try to implement this into my extension in javascript; here is the code i use: http://pastebin.com/6Ea5hgZz when i create the object that remains

Re: 'window-closed' signal?

2014-05-12 Thread Giovanni Campagna
2014-05-12 22:42 GMT+02:00 Diego Fernandez aiguo.fernan...@gmail.com: Hey all, I'm currently messing around with making my first extension https://github.com/aiguofer/return-to-monitor. The idea is to be able to return windows to their original monitor if you plug a monitor back in. Right

Re: 'window-closed' signal?

2014-05-12 Thread Giovanni Campagna
and removed. You can check the code in js/ui/workspace.js or js/ui/workspaceThumbnails.js that deals with window-added/removed on a single workspace, and js/ui/workspacesView.js for keeping the workspace list up to date. Giovanni On Mon, May 12, 2014 at 4:47 PM, Giovanni Campagna scampa.giova

Re: 'window-closed' signal?

2014-05-12 Thread Giovanni Campagna
still stay in the same workspace even if it gets moved while in a single monitor setup). Do I have to explicitly disconnect from the window after it gets the 'unmanaged' signal, or will the object get deleted? On Mon, May 12, 2014 at 5:23 PM, Giovanni Campagna scampa.giova...@gmail.com wrote

Re: Window Positioning

2014-02-28 Thread Giovanni Campagna
2014-02-28 21:40 GMT+01:00 Marshall Neill ramie...@windstream.net: I wonder if it would be too difficult to have the default for positioning windows on startup to be a default of Center Window. In my Windows days of coding in VB and C# it was a check on a flag and if it was set then 1 line of

Re: launching xkill

2014-01-04 Thread Giovanni Campagna
2014/1/4 Megh Parikh meg...@gmail.com: the following code deoes not run (it shows hello but the x arrow does not come) gedit using the same code works. why?? button.connect('button-press-event', Lang.bind(this, function () { if (GLib.spawn_command_line_sync('xkill')) _showHello();

Mutter Wayland 3.10.0.1

2013-09-25 Thread Giovanni Campagna
; #708367] Contributors: Giovanni Campagna, Owen Taylor Download === http://download.gnome.org/sources/mutter-wayland/3.10/mutter-wayland-3.10.0.1.tar.xz 1d4e3086d9ff26f6ae01c844909db1f4050f2e9aaead1b91a8b6b37f2a241560 ___ gnome-shell-list mailing

GNOME Shell Extensions 3.10.0

2013-09-24 Thread Giovanni Campagna
GNOME Shell Extensions 3.10.0 is now available at: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.10 8b56db464530da3cb9450177346874aaa07b14d1d4233d5f620aa3a2fc779595 gnome-shell-extensions-3.10.0.tar.xz About GNOME Shell Extensions GNOME Shell

Mutter Wayland 3.9.92

2013-09-17 Thread Giovanni Campagna
, Giovanni Campagna, Kalev Lember, Pavel Vasin Translations: Мирослав Николић po/sr, s...@latin.po, Мирослав Николић [sr, sr@latin], Chao-Hsiung Liao [zh_HK, zh_TW], Yuri Myasoedov [ru], Ville-Pekka Vainio [fi], Changwoo Ryu [ko], A S Alam [pa], Mattias Põldaru [et], Rūdolfs Mazurs [lv

Re: Debug gnome-shell extension

2013-09-14 Thread Giovanni Campagna
2013/9/14 Baptiste Saleil baptiste.sal...@gmail.com: Hi there. I'm working on a Gnome-Shell extension and would like to port it to 3.8.x I really miss the error tab of looking glass for debug my extension, but it's not available in 3.8 This page[0] says that errors are now on stderr. The

Mutter Wayland 3.9.91

2013-09-05 Thread Giovanni Campagna
for the texture template [Neil; #707458] * Use a more conservative paint volume for obscured windows [Adel] * Misc bug fixes [Giovanni, Colin, Seán, Jasper, Cosimo; #706582, #706598, #706787, #706729, #706825, #707081, #707090, #707267, #706982, #706289] Contributors: Giovanni Campagna, Cosimo Cecchi

Re: [patch] Lock screen before suspend to prevent information leak

2013-05-20 Thread Giovanni Campagna
2013/4/7 Roland Lezuo roland.le...@chello.at: Hi, the problem: after a resume from suspend for a short period of time the content of the desktop appears on the screen before the lock screen is activated (System Settings - Brightness Lock - Require password ... is activated). This is not

Re: Some extensions change Language to english after resume from suspend

2013-05-14 Thread Giovanni Campagna
No, in that case no report is needed. Thanks for investigating! Giovanni On May 14, 2013 8:20 AM, Bazon Bloch bazonbl...@arcor.de wrote: Am 13.05.2013 21:55, schrieb Giovanni Campagna: maybe conflicts with other extensions claiming gnome-shell-extensions gettext domain) thanks

Re: Some extensions change Language to english after resume from suspend

2013-05-13 Thread Giovanni Campagna
2013/5/13 Bazon Bloch bazonbl...@arcor.de: Hello, is the behaviour described in the title known? I searched for that but haven't found something yet. It happens at least with https://extensions.gnome.org/extension/5/alternative-status-menu/ (e.g. my german Bereitschaft becomes Suspend) and

Re: Message Tray design is intrusive

2013-05-12 Thread Giovanni Campagna
2013/5/12 Rahul Jain equites.v...@gmail.com: Hello. This is my first post here as a Shell user. I think the recent design of the message tray is very intrusive. Even in Windows 8, I admire their utilization of hot corners in a manner that is non-intrusive to the work that you are doing. For

Re: logout a session

2013-04-29 Thread Giovanni Campagna
2013/4/29 rastersoft ras...@rastersoft.com: Hi all: Is possible to do a logout from a program in a standard way? This is: allow a program to do a session logout using... dbus? Call org.gnome.SessionManager.Logout(0) on /org/gnome/SessionManager at org.gnome.SessionManager. The 0 is the logout

Re: Problem with Gtk.SpinButton.new_with_range

2013-04-28 Thread Giovanni Campagna
2013/4/28 Thiago Bellini Ribeiro hackedbell...@gmail.com: Hi! 2 people send me error reports about this problem [1] when opening the preferences dialog of my extension [2] on 3.8. One of them said he is using Arch Linux with the latest updates. The error says new_with_range is not a

Technical and security implications of using gnome-shell on KMS+evdev

2013-04-10 Thread Giovanni Campagna
Hello, fellow gnome-shell developers, in the past few weeks I saw that we started laying the plans for gradually moving gnome-shell to wayland, and it's my understanding, based on some wiki pages, that we want to run it straight on KMS/DRM + evdev. I would like to call out for the potential

Re: Gnome-Shell max volume is low

2013-03-30 Thread Giovanni Campagna
2013/3/30 Gabriel Rossetti rossetti.gabr...@gmail.com Hi everyone, I installed GS on a new laptop and noticed that the volume is extremely low when using the speakers. I went into the sound settings and say that there is a 100% on the bar but you can move it higher. This gives the desired

Another year, another summer of code!

2013-03-26 Thread Giovanni Campagna
It's almost April again, and as the new stable release reaches the distributors, we're all looking forward for another exciting round of development. But April means also that the student applications for summer of code are open. So, just like last year, I'm mailing you, GNOME Shell maintainers

Re: Vertically aligning components in St

2013-03-02 Thread Giovanni Campagna
2013/3/2 Jason Heeris jason.hee...@gmail.com: I've been trying to vertically align components in an St.BoxLayout (with vertical = false), but nothing I do seems to have any affect. I've tried setting 'vertical-align' in the CSS for a component, and setting y_align and y_expand on both the

Re: Vertically aligning components in St

2013-03-02 Thread Giovanni Campagna
2013/3/2 Jason Heeris jason.hee...@gmail.com: On 3 March 2013 01:11, Giovanni Campagna scampa.giova...@gmail.com wrote: CSS vertical-align is not implemented, and StBoxLayout doesn't use the standard [xy]_align and [xy]_expand properties. Instead, it uses [xy]_align and [xy]_fill child

Re: Gjs DBus bindings questions (introspection, method names and callbacks)

2013-02-26 Thread Giovanni Campagna
2013/2/26 Jason Heeris jason.hee...@gmail.com: Also, I think that should be Gio.DBusProxy.makeProxyWrapper(). — Jason Right, sorry, that code wasn't tested :) Anyway, by raw Gio.DBusProxy I meant a simple new Gio.DBusProxy({ g_name: '...', g_connection: ... , g_object_path: '...',

Re: Gjs DBus bindings questions (introspection, method names and callbacks)

2013-02-25 Thread Giovanni Campagna
2013/2/25 Jason Heeris jason.hee...@gmail.com: I'm trying to figure out how to use DBus from my Gnome Shell extension. I have the option of using the GLib DBus interface, but then I saw that there's actual Gjs DBus bindings! The Gnome Live Gjs page only has a link to here:

Re: Accessing an extension's namespace in the looking glass

2013-02-23 Thread Giovanni Campagna
Il sab, feb 23, 2013 at 2:51 ,Jason Heeris jason.hee...@gmail.com ha scritto: In Gnome Shell 3.6, is there a way to access the namespace and imports of an extension from the looking glass? For example, to be able to manually call a function defined in an extension? Or say in an extension you have

Sharing CSS code between Gtk and the Shell

2012-12-10 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

Re: Complaints about sound

2012-11-25 Thread Giovanni Campagna
2012/11/25 Javier Domingo javier...@gmail.com: Hello, I just want to say that it is very difficult to configure the sound for 2 cards when there are so many equal names in the preferences panel - sound config- Hardware - profile . Is there any way to reduce/distinguish them? If you upgrade

Re: Write string to file with 3.6

2012-10-20 Thread Giovanni Campagna
2012/10/20 Baptiste Saleil baptiste.sal...@gmail.com: Hi there. I'm trying to update my extension for 3.6 Here is my old code : let f = Gio.file_new_for_path(file); let out = f.replace(null, false, Gio.FileCreateFlags.NONE, null); Shell.write_string_to_stream (out, content); This code

Re: Differences for extension developers 3.4-3.6

2012-10-19 Thread Giovanni Campagna
2012/10/19 Davide Alberelli dadexi...@gmail.com: Hi anyone! Where can I found something like an exhaustive list of differences between 3.4 and 3.6 to update my extension? Just to give an example, my extension uses Main.panel._statusArea. What this has become? It is now

Re: Merging GnomeVolumeControl in libgnome-desktop

2012-10-19 Thread Giovanni Campagna
2012/10/19 Bastien Nocera had...@hadess.net: On Fri, 2012-10-19 at 08:18 +0100, Ross Burton wrote: On Friday, 19 October 2012 at 07:23, Bastien Nocera wrote: I sense much anger and pain in making it a sub-module, but if you're willing to do the work on unbreaking gnome-shell every time I

Re: Merging GnomeVolumeControl in libgnome-desktop

2012-10-19 Thread Giovanni Campagna
2012/10/19 Bastien Nocera had...@hadess.net: On 19 Oct 2012, at 20:33, Giovanni Campagna scampa.giova...@gmail.com wrote: 2012/10/19 Bastien Nocera had...@hadess.net: On Fri, 2012-10-19 at 08:18 +0100, Ross Burton wrote: On Friday, 19 October 2012 at 07:23, Bastien Nocera wrote: I sense much

Merging GnomeVolumeControl in libgnome-desktop

2012-10-18 Thread Giovanni Campagna
Hello Shell and Control Center developers I've stumbled upon https://bugzilla.gnome.org/show_bug.cgi?id=675902, which is a bug about the volume menu in gnome-shell, and I had to update some of the copy-pasted bits from libgnome-volume-control. What I found out is that the trees in gnome-shell and

Re: source.unseenCount's strange behavior

2012-10-14 Thread Giovanni Campagna
2012/10/9 Thiago Bellini Ribeiro hackedbell...@gmail.com: On Sat, Oct 6, 2012 at 11:59 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: Ok after digging a bit, the problem is that .acknowledged is only set for notifications that are in the queue, but (notificationDaemon.js:564) resident

Re: source.unseenCount's strange behavior

2012-10-14 Thread Giovanni Campagna
2012/10/14 Thiago Bellini Ribeiro hackedbell...@gmail.com: On Sun, Oct 14, 2012 at 1:26 PM, Giovanni Campagna scampa.giova...@gmail.com wrote: 2012/10/9 Thiago Bellini Ribeiro hackedbell...@gmail.com: On Sat, Oct 6, 2012 at 11:59 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: Ok

Re: source.unseenCount's strange behavior

2012-10-02 Thread Giovanni Campagna
2012/9/29 Thiago Bellini Ribeiro hackedbell...@gmail.com: Hi all, I'm the developer of Notifications Alert extension[1]. I was updating it to work with 3.6, testing it on ubuntu-gnome-remix[2] that I downloaded today (I'm on Debian Testing and it will take a long time before I can play with

Re: How to use checkBox ?

2012-09-17 Thread Giovanni Campagna
2012/9/17 alok barsode alokbars...@gmail.com: hi, I want to use checkbox is a modal dialog. Here is what i am doing : const checkbox = imports.ui.checkBox; in the modal dialog i do this.check = new checkbox.CheckBox(); this.check.setLabel('Label1'); messageBox.add(this.check);

Re: Communicate over TCP/IP

2012-09-13 Thread Giovanni Campagna
2012/9/13 Baptiste Saleil baptiste.sal...@gmail.com: Hi all. Just a simple question : I'm writing an extension for the shell. So, what's the best way to communicate over TCP/IP with this extension ? Have a look at Gio: http://library.gnome.org/devel/gio/unstable/ It includes GSocket,

Re: Communicate over TCP/IP

2012-09-13 Thread Giovanni Campagna
2012/9/13 Jasper St. Pierre jstpie...@mecheye.net: On Thu, Sep 13, 2012 at 2:04 PM, Giovanni Campagna scampa.giova...@gmail.com wrote: 2012/9/13 Baptiste Saleil baptiste.sal...@gmail.com: Hi all. Just a simple question : I'm writing an extension for the shell. So, what's the best way

Re: Problems with GS logging and extension website

2012-09-09 Thread Giovanni Campagna
There was a gjs bug at some point, causing it to init logging before the shell process set up the necessary env vars. Running with GJS_DEBUG=JS LOG;JS ERROR would fix it. Giovanni On Sep 9, 2012 8:56 PM, Alessandro Crismani alessandro.crism...@gmail.com wrote: Hi Jasper, Il 09/09/2012 20:36,

Re: How to de-register a dbus service

2012-08-30 Thread Giovanni Campagna
2012/8/30 alok barsode alokbars...@gmail.com: hi, I am using GDBus in my gnome extension. I am exporting a dbus service using : const Agent = new Lang.Class({ Name: 'Agent', _init: function() { this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AgentInterface, this);

Re: How to raise a dbus exceptions in GDBus

2012-08-28 Thread Giovanni Campagna
2012/8/28 alok barsode alokbars...@gmail.com: Hi, I am rewriting a dbus based extension in GDBus. Earlier I was using gjs's built-in dbus support (libdbus ?) I need to raise a dbus exception in my extension. With the built-in dbus support I did this: let err = new

Announce: planning to drop maintainership of some extensions

2012-08-22 Thread Giovanni Campagna
Hello community, As you may know, I'm the current maintainer of the gnome-shell-extensions repository at git.gnome.org. This includes various extensions, developed at different times and by different people, that thus have different levels of quality. As time progressed, I tried to improve on the

Re: web page with instructions for getting 'gnome 2' experience back

2012-08-07 Thread Giovanni Campagna
2012/8/7 Bob Frazier b...@mrp3.com: I created a web page specifically to help people get their 'gnome 2' experience back, or at least as much as I could figure out in a couple of days with some significant research. I used Ubuntu 11.10 a few months ago, then later installed debian 'wheezy' to

Re: Gnome-shell segfault: Can't init class Variant

2012-08-06 Thread Giovanni Campagna
2012/8/6 Amy C mathematical.cof...@gmail.com: Hi all, All of a sudden a couple of days ago (4/Aug afternoon AEST) my gnome-shell refused to start with the following error: Exception was: Error: Failed to throw Exception 'Object 0xaf7065b0 proto 0xaf702078 doesn't have a

Re: reload network applet

2012-08-03 Thread Giovanni Campagna
2012/7/30 Pedro Francisco pedrogfranci...@gmail.com: Hello! Since gnome-shell's network applet doesn't work well on 3G device plug ( https://bugzilla.redhat.com/show_bug.cgi?id=745454 ), is there any way to reload the network applet using looking glass or something like that? Or using d-bus?

Re: Problem using gio settings in prefs tool

2012-07-27 Thread Giovanni Campagna
Yes, that's definitely a bug. Report it against gjs for reference, although me Jasper and Colin are all at guadec, so I can poke them directly. (Sent from android, sorry for top posting) Il giorno 26/lug/2012 18.59, Yaa101 yaa...@xs4all.nl ha scritto: I can assure that it is a bug, but I

Re: rookie question - let, scope, and callbacks

2012-05-25 Thread Giovanni Campagna
2012/5/25 Amy C mathematical.cof...@gmail.com: Hi all, I've made myself a whole bunch of PopupSwitchMenuItems and tried to connect their 'toggled' callback to the same function, passing the name of the menu item as a parameter:    this._items = {};    this._toggleNames = {                

Re: Multifile extensions with global variables that are not constant

2012-05-14 Thread Giovanni Campagna
2012/5/14 Amy C mathematical.cof...@gmail.com: I'm writing an extension with multiple .js files, but where some need access to variables in others. These variables are not constant. As an example, in the main `extension.js`, imagine the following occurs: // load the other .js files, theme.js

Re: Setting window properties (always on top, ...) in gnome shell extension

2012-04-26 Thread Giovanni Campagna
Il 26 aprile 2012 16:53, Jasper St. Pierre jstpie...@mecheye.net ha scritto: On Thu, Apr 26, 2012 at 6:55 AM, Amy Chan mathematical.cof...@gmail.com wrote: Thank you. I looked into libwnck which does all this stuff from python (now there's an example of what I wish clutter

Re: retrieving contact list: works in looking-glass, not in extension

2012-04-24 Thread Giovanni Campagna
Il 23 aprile 2012 06:33, Amy C mathematical.cof...@gmail.com ha scritto: Hi gnome-mailing-list, I've recently delved into the world of writing gnome shell extensions. Pretty fun, but quite frustrating. As an introductory exercise I wanted to retrieve a list of all the contacts I have (from

Re: enabling a single gnome shell extension breaks the system

2012-03-04 Thread Giovanni Campagna
Il 03 marzo 2012 23:08, Pavlos Parissis pavlos.paris...@gmail.com ha scritto: On 2 March 2012 16:57, Giovanni Campagna scampa.giova...@gmail.com wrote: Il 02 marzo 2012 16:39, Pavlos Parissis pavlos.paris...@gmail.com ha scritto: On 2 March 2012 13:35, Pavlos Parissis pavlos.paris

Re: enabling a single gnome shell extension breaks the system

2012-03-02 Thread Giovanni Campagna
(sorry for top replying, you mail is too long) Looking at the error, it seems a known and long fixed bug in alternative-status-menu. You should file a bug at your distribution to get the latest upstream version or, better yet, stop using packages and install the extension from

Re: enabling a single gnome shell extension breaks the system

2012-03-02 Thread Giovanni Campagna
Il 02 marzo 2012 16:39, Pavlos Parissis pavlos.paris...@gmail.com ha scritto: On 2 March 2012 13:35, Pavlos Parissis pavlos.paris...@gmail.com wrote: On 2 March 2012 13:19, Giovanni Campagna scampa.giova...@gmail.com wrote: (sorry for top replying, you mail is too long) Looking at the error

Re: Design choice for suspend option only

2012-03-02 Thread Giovanni Campagna
Il 02 marzo 2012 16:43, Josh Leverette coder...@gmail.com ha scritto: I don't care what the reasoning behind it is. Why can't somebody put an option in the settings dialog? why are we forcing this down people's throats? I agree it's the right way forward, but users don't see it that way and

Re: Gnome 3.4 breaks sloppy mouse focus?

2012-03-01 Thread Giovanni Campagna
Il 01 marzo 2012 10:17, Gabriel Rossetti gabriel.rosse...@trafigura.com ha scritto: Hmmm, so technically an extension could be made to display it like in XFCE and not use the application menu at all, this fixing the sloppy mouse focus problem? An extension is not enough. You need to tweak

Re: Selecting a window in Overview with ALT-window_number in GS 3.2

2012-02-29 Thread Giovanni Campagna
Il 29 febbraio 2012 23:27, Marcin Zajączkowski msz...@wp.pl ha scritto: Hi, In Gnome 3.0 in Overview mode (after pressing super key) it was possible to select a given window using keyboard by ALT-window_number. In Gnome 3.2 it doesn't work. Is it possible to do that in some other way (using

Re: Alternate-tab extension: bring each selected window to the front

2012-02-10 Thread Giovanni Campagna
2012/2/6 Pallai Roland d...@magex.hu: Hi, One habit I can't change for Gnome3 is the application based alt+tab. I'm using the alternate-tab extension but I found sometimes is pretty hard to find the right window by title. The alternate-tab extension with the attached patch brings each

Re: Appmenu not hiding menubar

2012-01-17 Thread Giovanni Campagna
2012/1/17 Mark M theblues...@hotmail.com: Hi everyone, I'm running GNOME 3.2 with the following updates from 3.3/3.4: glib 2.31.10, glib-networking 2.31.6, gobject-introspection 1.31.6gtk+ 3.3.8, gnome-themes-standard 3.3.4gjs, mutter and gnome-shell from git Testing the

Re: How to parse .ini file in extension

2012-01-11 Thread Giovanni Campagna
2012/1/11 Emmanuele Bassi eba...@gmail.com: hi Stefano; On 10 January 2012 16:50, Stefano Ciancio s.cian...@gmail.com wrote: I find a GLib object (GKeyFile) that would be suitable for this, but I cannot find doc, code, example on how to use it in shell. Anyone can help me? I am googled for

Re: XML parser under an extension

2012-01-02 Thread Giovanni Campagna
On Sun, Jan 1, 2012 at 2:26 PM, Milan Bouchet-Valat nalimi...@club.fr wrote: Le dimanche 01 janvier 2012 à 15:47 +0330, bijan binaee a écrit : Hi I'm very sorry about my lot's of question I want know how can i parse XML file and extract element in gnome shell extension If the file you want

Re: How do I watch a file for changes using JS/Gnome Shell?

2011-12-21 Thread Giovanni Campagna
Il giorno mer, 21/12/2011 alle 08.51 +0100, Stefano Ciancio ha scritto: Hi all, i have a configuration file written by a little python interface. I want to watch for changes of config file in gnome shell extension. Each time a change occurs I'd like to reload new data in my extension.

Re: How do I watch a file for changes using JS/Gnome Shell?

2011-12-21 Thread Giovanni Campagna
(uri) monitor = file.monitor(Gio.FileMonitorFlags.NONE, cancellable); monitor.connect('changed', function() { print(Something has happened!); }); Giovanni Thanks, Stefano On 12/21/2011 11:15 AM, Giovanni Campagna wrote: Il giorno mer, 21/12/2011 alle 08.51 +0100, Stefano

Re: how to read from UnixInputStream

2011-12-13 Thread Giovanni Campagna
Il giorno mar, 13/12/2011 alle 21.11 +0800, binbin ha scritto: I'm tring to spawn a command and read its output. In the sync way, I find imports.gi.GLib.spawn_command_line_sync is fine. But in the async way, I cannot find any information on dealing with the unix file descriptor. try the

Re: Overriding private functions from extensions

2011-12-11 Thread Giovanni Campagna
On Sun, Dec 11, 2011 at 11:30 AM, Nguyen Thai Ngoc Duy pclo...@gmail.com wrote: Hi, Is overriding functions starting with underscore is forbidden? It used to work with gnome 3.0 but does not seem to work with 3.2. Not forbidden (they're just functions, we do nothing to protect them), just

Re: extensions.gnome.org

2011-12-09 Thread Giovanni Campagna
+0100, Giovanni Campagna a écrit : Il giorno gio, 08/12/2011 alle 23.05 +0100, Bernd Schlapsi ha scritto: Hello, how do I correctly define/create an extension which uses gsettings to store some extension spezific settings? [...] The short answer: you cannot. The long answer

Re: extensions.gnome.org

2011-12-08 Thread Giovanni Campagna
Il giorno gio, 08/12/2011 alle 23.05 +0100, Bernd Schlapsi ha scritto: Hello, how do I correctly define/create an extension which uses gsettings to store some extension spezific settings? I found the weather-extension on github (https://github.com/simon04/gnome-shell-extension-weather)

Heads up: self included extensions and UUID changes

2011-11-19 Thread Giovanni Campagna
Two updates for those of you who use extensions hosted on git.gnome.org. First: I've just pushed a patch for my extensions that makes them completely self-included. This means that, if you're running gnome-shell + glib master, you'll no longer need to install them system-wide to have the correct

Re: What about defined extensions points ?

2011-10-24 Thread Giovanni Campagna
Il giorno lun, 24/10/2011 alle 11.48 +0200, Alexandre Mazari ha scritto: Hi, In its current incarnation, g-s extensions system give total freedom to arbitrary code: extensions have access to the whole environment to tweak with. While great flexibility and freedom are given to extensions

GNOME Shell Extensions 3.2.0 released

2011-10-03 Thread Giovanni Campagna
GNOME Shell Extensions 3.2.0 is now available at: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.2 95c30865d64c649191e2fc0b0320e6c25e75ac098b87c8080e0bc2a9cd7a69c6 gnome-shell-extensions-3.2.0.tar.bz2 dfbd5b7baed71219c6855c1b15c323b6e66a2163af8f9a1c2431d6ce90784f98

Re: Help needed developing a FolderView extension

2011-10-02 Thread Giovanni Campagna
Il giorno dom, 25/09/2011 alle 18.40 -0400, Jasper St. Pierre ha scritto: It will be tough due to how the window actor stacking logic works. We should probably change the background actor to be a separate thing, rather than stacked inside the window group. Still, it wouldn't solve the problem

Re: Notes looking at sweettooth-plugin

2011-09-12 Thread Giovanni Campagna
Il giorno dom, 11/09/2011 alle 16.40 -0400, Owen Taylor ha scritto: On Sun, 2011-09-11 at 14:57 +0200, Olav Vitters wrote: On Fri, Sep 02, 2011 at 12:24:18AM -0400, Jasper St. Pierre wrote: On Thu, Sep 1, 2011 at 3:36 PM, Owen Taylor otay...@redhat.com wrote: Some review comments reading

Re: Disliking gnome 3

2011-09-03 Thread Giovanni Campagna
. And of course, since you quote Linus, if you don't find something that suits, you know what to do. Hoping this clarified our vision and hoping that there won't be any further misunderstanding, Giovanni Campagna signature.asc Description: This is a digitally signed message part

Mutter and Wayland

2011-08-24 Thread Giovanni Campagna
I should have written this mail earlier, but anyway: at the Desktop Summit 2011 there was a BoF on KWin/Plasma and Wayland. Attendees were members of the KDE community (including the maintainer of KWin), me (kind of representing GNOME), and Benjamin Franzke from the Wayland devs. We discussed the

Re: Suspend Power Off: A compromise

2011-08-20 Thread Giovanni Campagna
Il giorno sab, 20/08/2011 alle 09.05 +0200, Denis Washington ha scritto: Hi, The question if there should be an always-visible Power Off... status menu item next to Suspend has been discussed to death already. However, I do not want to bring up that same exact discussion again, but

Re: Trouble finding GIR constructor for Soup.Cookie

2011-07-24 Thread Giovanni Campagna
Il giorno sab, 23/07/2011 alle 16.21 -0400, Jasper St. Pierre ha scritto: 2011/7/23 Ricardo Gladwell ricardo.gladw...@gmail.com The following is also crashing my Gnome Shell session despite being surrounded by a try...catch block: let

Re: GNOME and ANDROID

2011-07-14 Thread Giovanni Campagna
Il giorno mer, 13/07/2011 alle 16.00 -0400, Jasper St. Pierre ha scritto: See https://bugzilla.gnome.org/show_bug.cgi?id=613082 If he isn't going to work on it, I'll try to bring it across the finish line. Weird, I search for ctrl click, and not finding anything, I wrote another patch that

Re: Gnome shell suggestions after a bit of usage

2011-07-10 Thread Giovanni Campagna
Il giorno sab, 09/07/2011 alle 17.03 +0200, Florian Max ha scritto: 2011/7/9 Aurélien Naldi aurelien.na...@gmail.com [...] So, two questions: 1. Should we support the concept of background applications? This is a good question - many reasons for status icons are not really an issue with

Re: Gnome shell suggestions after a bit of usage

2011-07-09 Thread Giovanni Campagna
Il giorno ven, 08/07/2011 alle 21.00 -0700, Adam Williamson ha scritto: On Sat, 2011-07-09 at 00:43 +0200, Florian Müllner wrote: 2011/7/9 Tassilo Horn tass...@member.fsf.org Well, not that bad. But still it needs three actions to pause the music player: (1) open

Re: Gnome shell suggestions after a bit of usage

2011-07-09 Thread Giovanni Campagna
Il giorno ven, 08/07/2011 alle 09.27 -0700, Adam Williamson ha scritto: On Fri, 2011-07-08 at 18:24 +0200, Giovanni Campagna wrote: I do like the notification part in gnome-shell (beside the integrated chat stealing focus, but all it needs is tweaking), I was talking about

Re: Gnome shell suggestions after a bit of usage

2011-07-08 Thread Giovanni Campagna
Il giorno ven, 08/07/2011 alle 07.24 -0700, Adam Williamson ha scritto: On Fri, 2011-07-08 at 15:19 +0200, Aurélien Naldi wrote: As far as I know, libnotify supports only notifications (and does it well). They can vanish after a while or require acknowledgement, but they can not be truly

GNOME Shell Extensions 3.1.3 released

2011-07-02 Thread Giovanni Campagna
GNOME Shell Extensions 3.1.3 is now available at: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/3.1 59a6d42f7bc761574870090350d613dcc055633610ddd3e1628ecf663c19b46f gnome-shell-extensions-3.1.3.tar.bz2 8fd2e829e2f806434a68b638d784ec502829318b5b91011ae9f97069e882e833

Re: Shell.AppSystem (gnome-shell-extensions)

2011-06-27 Thread Giovanni Campagna
Il giorno lun, 27/06/2011 alle 16.15 -0400, G. Michael Carter ha scritto: Just trying to add a livedvd_help.desktop to the user menu. I have the install to hard drive working which is liveinst.desktop. I think I've found where the problem is. It's not registering my livedvd_help.desktop

Re: On dynamic text expansion in message tray when an icon is hovered

2011-06-26 Thread Giovanni Campagna
Il giorno dom, 26/06/2011 alle 14.24 +0200, Marcel ha scritto: Am 26.06.2011 14:13, schrieb Tim Cuthbertson: On Fri, Jun 24, 2011 at 11:40 PM, Nguyen Thai Ngoc Duy pclo...@gmail.com wrote: Does anybody else find it difficult to click on an icon in message tray? If I just move my pointer a

Re: Extensions Infrastructure Work

2011-06-21 Thread Giovanni Campagna
Il giorno mar, 21/06/2011 alle 20.49 +1200, John Stowers ha scritto: On Tue, 2011-06-21 at 01:39 -0400, Jasper St. Pierre wrote: Hey guys, it's Jasper. As part of my work on SweetTooth[0], I'm planning on a bunch of changes to make the user experience for installing, enabling and

Re: My opinions on Gnome Shell

2011-06-20 Thread Giovanni Campagna
Il giorno lun, 20/06/2011 alle 10.20 -0400, Jesse Hutton ha scritto: It's a little puzzling to me why GNOME Shell has deprecated window minimization, given that one of its primary design goals is to enable distraction-free computing. The purpose of minimizing a window is precisely to

Re: My opinions on Gnome Shell

2011-06-19 Thread Giovanni Campagna
Il giorno dom, 19/06/2011 alle 17.12 +0100, Dimitris M. ha scritto: 1. No minimize button (I can't even mention the number of times I have cursed you for this, so far...). Minimizing is pretty much an obsolete notion. Software exist to serve the users' needs. I need minimizing. I

Re: Ideas and suggestions for Gnome shell.

2011-06-11 Thread Giovanni Campagna
Il giorno sab, 11/06/2011 alle 11.55 -0300, Job ha scritto: Reading your post, I don't know about right click menus, but I think they be ditched eventually, if only because there is no right click on a touchscreen. You are saying that all Gnome 3 - Shell, UI guidelines, is based to

Re: Ideas and suggestions for Gnome shell.

2011-06-11 Thread Giovanni Campagna
Il giorno sab, 11/06/2011 alle 17.01 -0300, Job ha scritto: For touch Screen, Object Actions/Options, was already solved, using Hold Stay. Hold Stay works if the object indicates the availability of an action

Re: Parsing XML in gnome-shell with Javascript - libxml2?

2011-06-05 Thread Giovanni Campagna
Il giorno dom, 05/06/2011 alle 16.25 +0100, Dru Moore ha scritto: Appreciate this may not be exactly the right place for this question, however someone here may have solved this already. I've been playing around with writing some shell-extensions and have a need to parse some proper xml

Re: using gsettings / gconf in extensions

2011-05-26 Thread Giovanni Campagna
Il giorno gio, 26/05/2011 alle 22.09 +1000, Tim Cuthbertson ha scritto: On Wed, May 25, 2011 at 11:55 PM, Giovanni Campagna scampa.giova...@gmail.com wrote: Il giorno mer, 25/05/2011 alle 22.14 +1000, Tim Cuthbertson ha scritto: Hi all, I'm planning to add some gsettings or gconf

Re: using gsettings / gconf in extensions

2011-05-26 Thread Giovanni Campagna
Il giorno gio, 26/05/2011 alle 10.38 -0700, Adam Williamson ha scritto: On Thu, 2011-05-26 at 17:50 +0200, Giovanni Campagna wrote: Why not installing system-wide? It's just a matter of pkcon install What if you have other users on the system who don't want that extension? A good

Re: Sending notification

2011-05-24 Thread Giovanni Campagna
Il giorno mar, 24/05/2011 alle 13.12 -0400, Erick Pérez ha scritto: Hi: I want to know from the gnome-shell maintainers/developers Which is the preferred way of sending notifications in gnome-shell ? I can think of more than one, And some been hard than others to implement but, and

Re: Sending notification

2011-05-24 Thread Giovanni Campagna
Il giorno mar, 24/05/2011 alle 13.41 -0400, Erick Pérez ha scritto: What do you mean? From an extension: For short lived message, use let source = new MessageTray.SystemNotificationSource(); let notification = new MessageTray.Notification(source, Title, Content, { body: Additional

Re: New system monitor extension

2011-05-23 Thread Giovanni Campagna
Il giorno dom, 22/05/2011 alle 15.35 -0700, Sriram Ramkrishna ha scritto: On Sun, May 22, 2011 at 5:13 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: Il giorno sab, 21/05/2011 alle 14.17 +0200, Florian Mounier ha scritto: Hi ! I wrote

  1   2   >