popup menu not grabbing focus problems

2012-06-20 Thread Yaa101
First of all, hello to all, this is my first message to this mailing list. I am trying to write a gnome shell extension and got into trouble that I can't solve, there is so little documentation about the overview of how things are connected in the gnome shell. Maybe somebody can help me here, I h

Re: popup menu not grabbing focus problems

2012-06-20 Thread Yaa101
when things work, not sooner. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Wed, 20 Jun 2012 23:21:27 +0200 Florian Müllner wrote: > On Wed, Jun 20, 2012 at 11:09 PM, Yaa101 wrote: > > I am writing an extension that is a variation to both quicklaunch > > extensions, mine is a

Re: popup menu not grabbing focus problems

2012-06-20 Thread Yaa101
St. Pierre" wrote: > You shouldn't have to do that, right? PopupMenuManager should take > care of that for you. You might not be adding your popup menu to a > manager. > > On Wed, Jun 20, 2012 at 5:21 PM, Florian Müllner > wrote: > > On Wed, Jun 20, 2012 at 11:09 PM, Y

Re: popup menu not grabbing focus problems

2012-06-20 Thread Yaa101
_boxActor.get_preferred_height(forWidth); }, _containerAllocate: function(actor, box, flags) { this._boxActor.allocate(box, flags); } }; - -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Wed, 20 Jun 2012 23:21:27 +0200 Florian Müllner wrote: > On Wed, Jun 20, 2012 at 11:

Re: popup menu not grabbing focus problems

2012-06-20 Thread Yaa101
rt_child_at_index(this.actor, 1); And it worked, all works as should. Thanks Florian and Jasper for your attention with this. Probably till soon, with some next problem... :-) -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Wed, 20 Jun 2012 23:09:32 +0200 Yaa101 wrote: > First of all, hell

Where can I find info on how to publish extension

2012-06-21 Thread Yaa101
Hi All, Where can I find info on how to publish my extension on extensions.gnome.org? Is it possible to import a .js file from the extension directory? If yes, then how? -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. ___ gnome-shell-list mailing lis

Re: Where can I find info on how to publish extension

2012-06-21 Thread Yaa101
That is all the info I needed. Thanks Jasper. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Thu, 21 Jun 2012 13:06:39 -0400 "Jasper St. Pierre" wrote: > On Thu, Jun 21, 2012 at 8:29 AM, Yaa101 wrote: > > > > Hi All, > > > > Where can I find i

JS documentation ST...

2012-07-13 Thread Yaa101
Hello all, Does somebody know where to find a proper reference on ST for gjs? I can find the C references ( http://developer.gnome.org/st/3.4/ ) but they lack detail on usage and interaction within the js system. What I am searching for is a document ala ( http://www.roojs.com/seed/gir-1.2-gtk-3

Re: JS documentation ST...

2012-07-13 Thread Yaa101
e? And to come back at my first question, is there any reference document for ST besides the C version? -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 13 Jul 2012 15:47:50 -0400 "Jasper St. Pierre" wrote: > On Fri, Jul 13, 2012 at 11:35 AM, Yaa101 wrote: > > > &

Re: JS documentation ST...

2012-07-13 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 13 Jul 2012 16:38:26 -0400 "Jasper St. Pierre" wrote: > On Fri, Jul 13, 2012 at 4:20 PM, Yaa101 wrote: > > > > Thanks for the answers so far Jasper. > > > > I found the solution to the table/scro

Re: JS documentation ST...

2012-07-13 Thread Yaa101
Thanks for the info Jasper. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 13 Jul 2012 19:28:30 -0400 "Jasper St. Pierre" wrote: > On Fri, Jul 13, 2012 at 7:26 PM, Yaa101 wrote: > > On Fri, 13 Jul 2012 16:38:26 -0400 > > "Jasper St. Pierre" wrot

Re: JS documentation ST...

2012-07-13 Thread Yaa101
Thanks for all the tips Amy, much obliged... -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Sat, 14 Jul 2012 10:53:42 +1000 Amy C wrote: > On 14 July 2012 09:28, Jasper St. Pierre > wrote: > > On Fri, Jul 13, 2012 at 7:26 PM, Yaa101 wrote: > >> On Fri, 13 Ju

St.Scrollable

2012-07-14 Thread Yaa101
Hello Jasper and all others, Yesterday I asked all sorts of questions about scrolling. I already explained that I had to put a table into a layoutbox to be able to show it in a scrollview, I read later that the scrollview is only for a single child. I have a usable but not right prototype that

Re: St.Scrollable

2012-07-14 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Sat, 14 Jul 2012 08:54:14 -0400 "Jasper St. Pierre" wrote: > On Sat, Jul 14, 2012 at 8:48 AM, Yaa101 wrote: > > > > Hello Jasper and all others, > > > > Yesterday I asked all sorts of questions about s

Re: St.Scrollable

2012-07-15 Thread Yaa101
I will take a look there, thanks for the tip... -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Sat, 14 Jul 2012 15:33:52 +0200 Florian Müllner wrote: > On Jul 14, 2012 3:26 PM, "Yaa101" wrote: > > Would it be possible to check the avarage witdh of a table column >

gtk.filechooser problems...

2012-07-16 Thread Yaa101
Hi all, I am trying to call a filechooser, run it, then get the filename from it. This following code is an example from: http://developer.gnome.org/gnome-devel-demos/stable/image-viewer.js.html.en --- var chooser = new Gtk.FileCho

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
or you) questions because I have no prior background with GKT+, so besides learning gnome-shell I have to learn also the core GTK+ stuff. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 18:50:42 +0200 Florian Müllner wrote: > On Jul 16, 2012 6:39 PM, "Yaa101" wro

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 15:01:32 -0400 "Jasper St. Pierre" wrote: > ( First of all, Florian, please try to reply on-list :) ) Florian probably replied sender instead of reply all, so I corrected it... > > On Mon, Jul 16, 2012

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 15:38:09 -0400 "Jasper St. Pierre" wrote: > On Mon, Jul 16, 2012 at 3:36 PM, Yaa101 wrote: > > > > > > > > -- > > (o_ > > //\ Regards, Groeten, > > V_/_ Bas

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
ho the > easiest way to learn how it works is to see it :) > Am 16.07.2012 21:54 schrieb "Yaa101" : > > > > > > > > > -- > > (o_ > > //\ Regards, Groeten, > > V_/_ Bas Burger. > > > > > > On Mon, 16 Jul 2012 15:38:09 -0

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 15:59:43 -0400 "Jasper St. Pierre" wrote: > On Mon, Jul 16, 2012 at 3:55 PM, Yaa101 wrote: > > On Mon, 16 Jul 2012 15:38:09 -0400 > > "Jasper St. Pierre" wrote: > > ... snip ...

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
Install https://extensions.gnome.org/extension/16/auto-move-windows/ > It uses the prefs tool and launches a gtk app chooser. Imho the > easiest way to learn how it works is to see it :) > Am 16.07.2012 21:54 schrieb "Yaa101" : > > > > > > > > > -- > > (o_ > >

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 16:29:34 -0400 "Jasper St. Pierre" wrote: > On Mon, Jul 16, 2012 at 4:25 PM, Yaa101 wrote: > > I just installed your extension, but clicking on the settings > > button on the extension page in my br

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-goes-h...@example.com > > ? > > On Mon, Jul 16, 2012 at 4:44 PM, Yaa101 wrote: > > > > -- > > (o_ > > //\ Regards, Groeten, > > V_/_ Bas Burger. > > > > > > On Mon, 16 Jul 2012 16:29:34 -0400 > > "Jasper St. Pierre" wro

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
d to get_int, get_string, set_int... > > Cheers > Am 16.07.2012 23:13 schrieb "Yaa101" : ___ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Re: gtk.filechooser problems...

2012-07-16 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 16 Jul 2012 23:13:50 +0200 Yaa101 wrote: > > > >Since we are on this subject, can you point me to info on the criteria >of the schema file and how to compile it? >Basicly same goes for locale files, can you point

Question about gsettings in relation to gnome-shell extensions.

2012-07-17 Thread Yaa101
Hi all, I like to know a few extra things about gsettings that I was not able to find in google. First of all, where on the filesystem can I find the gsettings database? Second, I want to know how a gnome-shell extension react to it's settings in the database. Are the settings live, so that I c

Re: Question about gsettings in relation to gnome-shell extensions.

2012-07-17 Thread Yaa101
I found an answer to questions 2 and 3: http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Gio.Settings.html Still leaves me with where to find the database in the filesystem. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Tue, 17 Jul 2012 17:01:17 +0200 Yaa101 wrote: > > Hi all,

Re: Question about gsettings in relation to gnome-shell extensions.

2012-07-17 Thread Yaa101
"Jasper St. Pierre" wrote: > On Tue, Jul 17, 2012 at 11:01 AM, Yaa101 wrote: > > > > Hi all, > > > > I like to know a few extra things about gsettings that I was not > > able to find in google. > > > > First of all, where on the filesystem

Re: Question about gsettings in relation to gnome-shell extensions.

2012-07-17 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Tue, 17 Jul 2012 14:41:30 -0400 "Jasper St. Pierre" wrote: > On Tue, Jul 17, 2012 at 2:07 PM, Yaa101 wrote: > > Thanks for the answers Jasper, you have seen that I answered also > > myself. > > > >>

Re: Question about gsettings in relation to gnome-shell extensions.

2012-07-17 Thread Yaa101
cation just connect to settingsObj > changed::"config-param-name". In the function you connect, get_string > will return the new value. > I use that in my extension. Extension.js enable. Where the > keybindings are added. > Am 17.07.2012 20:06 schrieb "Yaa101" : >

Question on translations and prefs.js

2012-07-18 Thread Yaa101
Hi all, I tried to make translations work in prefs.js but to no avail. I did manage to have translations in my extension, so nothing is wrong with my system locale settings. Should translations work in the prefs.js? Am I doing something wrong? Is there a workaround, or do I have to setup someth

Re: Question on translations and prefs.js

2012-07-18 Thread Yaa101
nience.initTranslations() (or > imports.gettext.bindtextdomain('my-domain', '/path/to/locale/')) into > the init() function in prefs.js, right? > > On 19 July 2012 07:20, Yaa101 wrote: > > > > Hi all, > > > > I tried to make translations wo

Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
Hi all, I am having trouble writing a buffer with UTF-8 content to a file. I know that GLib.file_set_contents will not do the job because it writes ISO-8859-1 instead of UTF-8. I tried to get it done with this code: let gFile = Gio.file_new_for_path(this._path); let gFileOutputStream = gFile.r

Re: symbolic SVG *not* as an icon?

2012-07-26 Thread Yaa101
Hi Ami, I do not know too much detail on applying css on st widgets. The following is a hunch and probably will not help you, I hope it is useful anyway. I do know that SVG is not a picture on which you can do raster operations like filling colors, SVG is a collection of commands to create a vec

Re: Problem using gio settings in prefs tool

2012-07-26 Thread Yaa101
I can assure that it is a bug, but I guess you want to hear this from one of the developers. See this email as a bump. :-) However, it's a bug you can ignore, unless you are debugging it and want to know the values of name, this.g_object_path or e.message. -- (o_ //\ Regards, Groeten, V_/_ Ba

Re: Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
need to be preserved. I just want a UTF-8 buffer written to file, nothing more, that should be possible, no? If not then I am speechless *facepalm*. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Thu, 26 Jul 2012 19:15:30 +0200 Clemens wrote: > Am 26.07.2012 18:08, schrieb Yaa101: >

Re: Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
preserved, but when I write that same buffer to file it gets all garbled. I really don't understand. I also don't understand why there is no keyFile.to_file(); method. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Thu, 26 Jul 2012 20:23:04 +0200 Yaa101 wrote: > I foun

Re: Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
all faults up. AARRRGG!! -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Thu, 26 Jul 2012 22:13:33 +0200 Yaa101 wrote: > I was wrong, any filesave method just saves into whatever encoding, > opening the resultant file in gedit

Re: Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
00:50:48 +0200 Yaa101 wrote: > > Sorry, I had to unload frustration. :-) > > Attached you will find a test case script to prove my point. > > > This script is to show that writing a keyfile will garble the content > of the output file, while logging to stdout will

Re: Writing a buffer with UTF-8 content.

2012-07-26 Thread Yaa101
rrect buffersize. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 27 Jul 2012 04:28:54 +0200 Yaa101 wrote: > After some more experimenting, I maybe have a hunch. > Could it be that something goes wrong between keyfile handing over > it's buffer and putting that in a javascript

Re: Writing a buffer with UTF-8 content.

2012-07-28 Thread Yaa101
, V_/_ Bas Burger. On Fri, 27 Jul 2012 23:18:39 -0400 Ray Strode wrote: > On Fri, Jul 27, 2012 at 11:01 PM, Ray Strode > wrote: > > Hey, > > > > On Fri, Jul 27, 2012 at 9:03 PM, Yaa101 wrote: > >> There is definitely a problem in either the javascript string >

Re: How to get uint64 from Gio.FileInfo

2012-07-29 Thread Yaa101
Hi Mz, Output from your uint64 is seconds. I have been there, just use a javascript Date() object and feed it seconds * 1000 as it ticks in milliseconds. Here is a routine I used in a project recently to enlighten. _dateString: function (seconds) { let desktopSettings = new Gio.Se

Re: Writing a buffer with UTF-8 content.

2012-07-30 Thread Yaa101
terminal here and ssh into the remote and let the remote ssh into my machine. Thanks for the answers Ray. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Mon, 30 Jul 2012 10:43:53 -0400 Ray Strode wrote: > Hey, > > On Sat, Jul 28, 2012 at 7:11 AM, Yaa101 wrote: > > > Th

GtkBox Styling problem.

2012-07-31 Thread Yaa101
Hi all, Maybe somebody can help me with this: I have a display problem with some widgets, I have tried several themes to see if the theme was broken this way, but the problem persists. I have a Gtk.Notebook and on one of the (white) pages I have 1. A horizontal box 2. 3 vertical boxes in it to

Re: GtkBox Styling problem.

2012-08-03 Thread Yaa101
context? To be continued... -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Wed, 1 Aug 2012 02:08:06 +0200 Yaa101 wrote: > > Hi all, > > Maybe somebody can help me with this: > > I have a display problem with some widgets, I have tried several > themes to see if the

Re: GtkBox Styling problem.

2012-08-03 Thread Yaa101
grid to the paned for only one pane. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 3 Aug 2012 16:35:47 +0200 Yaa101 wrote: > > To continue this subject, it seems that the stylecontext is set > exactly how I instructed to, reading it confirms this. > > Somehow this

Re: prefs.js importing Main complains about not finding Meta

2012-08-08 Thread Yaa101
Hi Amy, prefs.js is not a part of gnome-shell but it is part of a GTK+3 program called /usr/bin/gnome-shell-extension-prefs. gnome-shell-extension-prefs is a shell script that accepts the UUID as argument to bring up your extension it's prefs.js. It invokes gjs with the searchpath to /usr/share/

Happy Birthday Gnome...

2012-08-15 Thread Yaa101
I want to congratulate the people who made Gnome possible over the last 15 years. Also I want to give my support to the current developers and wish that the next 15 years will be as interesting as the past 15 years. Happy Birthday!!! -- (o_ //\ Regards, Groeten, V_/_ Bas Burger.

Re: List of installed applications from prefs.js

2012-08-24 Thread Yaa101
Hi Amy, Dunno if this helps, on my system (Mageia2) the best indicator of installed apps is /usr/share/applications. In there is a .desktop file defined for each (from the repo) installed application. You can enum these with GIO and request a desktopAppInfo from each of them, the desktopAppIfo co

Re: Getting a St.Bin to refresh its position?

2012-08-31 Thread Yaa101
Hi Amy, Call me simple, but the most simple solution for my extension was to simply unload and load (reload) all widgets, this is so fast that it is not noticable by eye, it enables me to have it reload in reaction to a prefs database change. For instance, when I resize the iconsize of my St.Bin's

Re: About ClutterPerspective

2012-09-06 Thread Yaa101
Read this russel: http://developer.gnome.org/clutter/stable/ClutterStage.html#ClutterPerspective And better bookmark this too: http://developer.gnome.org/clutter/stable/ -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Thu, 6 Sep 2012 16:57:05 +0800 (CST) russel wrote: > Dear all > I ha

Re: What is the easiest way to find out, to which Gnome-Shell version an extension is compatible?

2012-09-07 Thread Yaa101
What you mean are there tests that you can use to determine if your extension will or will not be able to run on a explicit platform version? I do not know, that question probably be best answered by a GNOME developer. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 7 Sep 2012 21:31:22

Re: Rudimentary documentation of gnome-shell JS files

2012-09-15 Thread Yaa101
-- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 14 Sep 2012 22:28:24 -0400 "Jasper St. Pierre" wrote: > On Fri, Sep 14, 2012 at 8:49 AM, Amy > wrote: > > Hi all, > > > > I've done a sort of "index" of the gnome-shell js files (in js/ui > > and js/misc) for GNOME 3.2 and 3.4, listing

Re: What is the recommended distro?

2013-04-11 Thread Yaa101
Hi Helio, I personally use Mageia, but they are often 1 version point behind on Gnome, their upcoming release will include 3.6 instead of 3.8 Upside of Mageia is that they are a KDE centric distro and thus keep a vanilla/neutral Gnome environment, which is more pure for development. If you want

Re: Installing specific versions of GNOME (Arch?)

2013-10-25 Thread Yaa101
Hi Amy, Dunno about Arch, but Mageia 3 ships with Gnome Shell 3.6 Mageia will skip 3.8 and will ship 3.10 with Mageia 4. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 25 Oct 2013 17:17:35 +1000 Amy wrote: > Hi all, > > Some notes: > > * I would rather take my GNOME 3.4 snapshot an

Re: UI Freezes in gnome shell, usually when playing video ?

2014-03-16 Thread Yaa101
You can use Xfce4-terminal for that, if your distro allows it to install. I run a mixture of programs designed for different desktops on Gnome-Shell, things from gnome, mate, xfce, kde, etc... -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Sun, 16 Mar 2014 13:40:45 -0700 (PDT) Stuart Axon

Re: UI Freezes in gnome shell, usually when playing video ?

2014-03-16 Thread Yaa101
Hi Stuart, Your computer problems remind me of my own from years ago, I had such stablity problems with large stuff like movies, compiling stuff and other longer term applications. In the end it came down to having a bad memory stick, it was not bad enough to get obvious noticed during normal use

Re: No application or applet icons in gmome-shell-3.10.3

2014-03-29 Thread Yaa101
There are no application icons in the top panel, however there are various gnome extensions to install an applications menu in the top bar. You can find extensions at https://extensions.gnome.org/, you do need a firefox add-on to properly use this website. However a lot of their programmers use a

Re: No application or applet icons in gmome-shell-3.10.3

2014-03-30 Thread Yaa101
top like the home folder and the trashcan and any *.desktop file you put there yourself. When you enable that it's a look into the desktop directory the same way as in nautilus. > > John Just keep asking in here, bit by bit you will get all the explanations that you need. &g

Re: No application or applet icons in gmome-shell-3.10.3

2014-04-02 Thread Yaa101
Hi John, I had the same thing, getting an empty white/greyish screen when enabling to show icons on the desktop in shell 3.10 - Mageia. For me it helped to set a background wallpaper instead of the default, it did not immediatley work out but after a few tries and a few login/logouts it showed th