Re: Symbols in gdk-pixbuf/pixops become local

2016-12-01 Thread Jean-Philippe Chancelier
Martin> Is there something in the linking of gdk-pixbuf that binds the Martin> library calls to the functions in pixops/* that makes them invisible Martin> in the final library? Hi Martin, The symbols starting with _ are nor exported from shared libraries. jpc

Re: Can we install a gtk program without root privileges?

2016-12-01 Thread Stefan Salewski
On Thu, 2016-12-01 at 16:49 +0100, Stefan Salewski wrote: > Thanks for all your responses, I will try your suggestions soon. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Catch logging off in GTK application

2016-12-01 Thread Igor Korot
Emmanuelle, On Thu, Dec 1, 2016 at 4:06 PM, Emmanuele Bassi wrote: > Hi; > > If you're using GtkApplication under GNOME and Xfce, you'll get the > GApplication::shutdown signal if the session manager terminates the session. Thank you. But I can use D-Bus API directly, right?

Symbols in gdk-pixbuf/pixops become local (was Re: subscribe)

2016-12-01 Thread Martin Guy
Hum. THe global variable has become file local. $ nm gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0 | grep scaler 002236f0 b _gdk_disable_two_step_scaler so the global variable has become file-local, as have its functions: $ nm gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so.0 | grep pixops

Re: Catch logging off in GTK application

2016-12-01 Thread Emmanuele Bassi
Hi; If you're using GtkApplication under GNOME and Xfce, you'll get the GApplication::shutdown signal if the session manager terminates the session. Other session managers do not expose a DBus API that GTK can use; if they do, patches are welcome to support them. Ciao, Emmanuele. On Wed, 30

Re: Catch logging off in GTK application

2016-12-01 Thread Gergely Polonkai
I know you can connect to the DBus service of gnome-session, but without a decent Internet connection at hand I can’t be of better help. Best, Gergely On Thu, Dec 1, 2016, 21:20 Igor Korot wrote: > Guys, > > On Thu, Dec 1, 2016 at 3:59 AM, Göran Hasse

Re: Catch logging off in GTK application

2016-12-01 Thread Igor Korot
Guys, On Thu, Dec 1, 2016 at 3:59 AM, Göran Hasse wrote: > All right... > > But what if you do > > ssh -X remote.sys.com > my_nice_gtk_app & > > On whitch desktop is this running? > > Gtk that interacts with the "lokal" desktop is a problem! > > If I do "open file" - do I then

unsubscibe

2016-12-01 Thread Marshall Neill
___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list

Re: Can we install a gtk program without root privileges?

2016-12-01 Thread Michael Torrie
On 12/01/2016 08:49 AM, Stefan Salewski wrote: > My Nim editor https://github.com/ngtk3/NEd can be launced from the > directory with the binary by typing > > ./ned file.nim > > For testing that is fine. But to make it work from an arbitrary > directory something like > > # And for making

Re: Can we install a gtk program without root privileges?

2016-12-01 Thread infirit
Op 12/01/2016 om 04:49 PM schreef Stefan Salewski: > My Nim editor https://github.com/ngtk3/NEd can be launced from the > directory with the binary by typing > > ./ned file.nim > > For testing that is fine. But to make it work from an arbitrary > directory something like > > # And for making

Re: Can we install a gtk program without root privileges?

2016-12-01 Thread Göran Hasse
Absolutly! Greate a separate user to "own" the binary and give it a separate group. All users that shall be able to use the program and write to directorys that the progam needs should be member of the programs group. The *only* situation when a program *must* be root if it must be able to open

Re: subscribe

2016-12-01 Thread Martin Guy
Hi I'm trying to fix the scaler's pathological behaviour when reducing by a very large factor https://bugzilla.gnome.org/show_bug.cgi?id=80925 by doing very large reductions in two steps, but I have a compilation error that I can't figure out. I've included in gdk-pixbuf/pixops/pixops.c a

Can we install a gtk program without root privileges?

2016-12-01 Thread Stefan Salewski
My Nim editor https://github.com/ngtk3/NEd can be launced from the directory with the binary by typing ./ned file.nim For testing that is fine. But to make it work from an arbitrary directory something like # And for making gsettings available system wide one method is, as root #

Re: Catch logging off in GTK application

2016-12-01 Thread Göran Hasse
All right... But what if you do ssh -X remote.sys.com my_nice_gtk_app & On whitch desktop is this running? Gtk that interacts with the "lokal" desktop is a problem! If I do "open file" - do I then expect the lokal filesystem or the filesystem on the systems that the gtk app is running. /gh

Re: Catch logging off in GTK application

2016-12-01 Thread Paul Davis
No, he's talking about handling notifications from a desktop environment that strongly suggest to the application that it should exit. On Thu, Dec 1, 2016 at 5:47 AM, Göran Hasse wrote: > > You should be talking of "quit" an application. And to notice when an > application (a

Re: The Big Gtk limitations: a reliable GUI builder

2016-12-01 Thread Jean-Philippe Chancelier
Pozz> So this is a Windows only *Gtk* bug, it isn't related to Glade. Pozz> Considering it affects all drag operations for every Gtk Pozz> applications, it's very strange it wasn't fixed yet. I think t's a recent bug ing gtk+-3. The bug did not exist in gtk+-3.18 but drag and