How to get uint64 from Gio.FileInfo

2012-07-29 Thread Mz
Hi, Guys and Girls Weird thing happened when I am trying to get File attribute from Gio.FileInfo a = Gio.file_new_for_path('/home/meng/test') //a new file I just created. b = a.query_info(Gio.FILE_ATTRIBUTE_TIME_MODIFIED,0,null) c = b.get_attribute_uint64(Gio.FILE_ATTRIBUTE_TIME_MODIFIED) //retu

How to get the signal ID that ShellWM connected

2012-07-25 Thread Mz
Hi, guys I am trying to made some animation on ShellWM "minimize", 'maximize' and 'destroy' But then I found in 'ui/windowManager.js' there is nowhere to found those IDs. How can I get the IDs when it haven't been defined? ___ gnome-shell-list mailing lis

Re: symbolic SVG *not* as an icon?

2012-07-25 Thread Mz
> Hi all, > I've got a .svg file that I'm using as a background of a St.Button via: > .my-button { > background: url('background.svg'); > } I think you need to rewrite it: .my-button { background: url('background.svg'); background-size: contain; width:140px; /*(only in pixel)*/

Is there a "get_key_type" like function in Gio.settings?

2012-07-22 Thread Mz
hi, guys There is no such function like "get_key_type" in Gio.settings, http://roojs.org/seed/gir-1.2-gtk-2.0/seed/Gio.Settings.html which I think is very important for programmer to detect the type of the key. Writing code for "pref.js" is a really pain in the ass job, repeated and boring. We can

How to become a "reviewer" of Extension

2012-07-19 Thread Mz
Hi, guys How to become a "reviewer" of the Extension Website, is there some kind of qualifications? Thanks for your answer. ___ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list

What is the difference between signal "changed" and "changed::...."

2012-07-10 Thread Mz
Hi,guys In the source code of Gnome-shell ui/runDialog.js where I found two kinds of signal connection: - global.settings.connect('changed::development-tools',..) - this._monitor.connect('changed',.); what is the difference between them, is the first one don't need to disconnect?

How to put the actor on Background like Conky do?

2012-07-06 Thread Mz
Hi, guys I had tried creating a new actor(like St.Label) and keep "lower_bottom" in Mainloop to make it done, but such method is silly and ate too much CPU... I think that the source code of mutter(src/compositor/meta-background-actor.c) said it just put pixmap on BackGroundActor, is there any by

GJS multi-threads

2012-07-05 Thread Mz
Does GJS support multi-threads? A simple example would be a lots of help to me. ___ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list

How to put the actor on Background like Conky do?

2012-07-05 Thread Mz
Hi, guys I had tried creating a new actor(like St.Label) and keep "lower_bottom" in Mainloop to make it done, but such method is silly and ate too much CPU... I think that the source code of mutter(src/compositor/meta-background-actor.c) said it just put pixmap on BackGroundActor, is there any by