Re: Nim GTK3 editor

2016-07-10 Thread Stefan Salewski
On Sun, 2016-07-10 at 15:54 +0200, Stefan Salewski wrote:
> Maybe another one, but less important: I am using GSettings -- for
> testing if the editor would work fine on a  fresh install, I would
> like
> to reset all modifications done by my program.

OK, that was not too difficult.

http://unix.stackexchange.com/questions/8922/where-does-gsettings-store-its-files

deleting

/home/stefan/.config/dconf/user

does the trick, which this new message

(ned:2316): Gdk-CRITICAL **: gdk_rgba_parse: assertion 'spec != NULL' failed

proves. So my fear was justified, before shipping a GTK app one has to
test with virgin GSettings

Seems that my app tries to access colors which are not already set by
user in GSettings.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Nim GTK3 editor

2016-07-10 Thread Stefan Salewski
Yesterday I pushed my Nim editor to github, see

http://ssalewski.de/tmp/NEd.png

https://github.com/ngtk3/NEd

http://forum.nim-lang.org/t/2198

Lets try an easy question: I am using the font chooser button, which
has default text (none) and later shows the name of the last opened
file. For my use in the header bar, I would like to change that label,
maybe to "Open" permanently. No chance?

Maybe another one, but less important: I am using GSettings -- for
testing if the editor would work fine on a  fresh install, I would like
to reset all modifications done by my program. No idea after googling
for a few minutes -- when I create a new user and log in into that
account I should get a clean environment I guess? 

The development up to this early stage was easy and fast, and indeed I
was surprised how fine GtkSourceView works. OK, most of it, that idle
scroll -- would be very hard without gedit sources...
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list