Re: [Discuss] Make a thinner Glib/GTK+ to fit tiny device better

2015-10-15 Thread rastersoft

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi all:

El 14/10/15 a las 21:16, Matthias Clasen escribió:
>
> We (taking my GStreamer hat) havent heard of any interest from the
GLib
> group for lightweight objects. Note that some library ended up also
> having these lightweight kind of object, hence may be interesting to
> eventually consolidate.
>
>
> I think it is fair to say that there is more interest in fixing
performance of GObject than there is in introducing a miniobject type.
Not sure if that qualifies as 'interest in lightweight objects' or not.

In fact, "compact classes" in vala can qualify as lightweight objects,
isn't it? They are nothing more than a struct and some functions, and to
do that, you don't need help from GObject.

- -- 
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCgAGBQJWH8flAAoJED690wQnnlF1OqIP/2G58FHCVz9d++lSHbvAPsKW
KwqDcjb9LfBzwGlXfHewl+mIYSkjqbgZkdIPJhNlEFdnoX98I2ljiBaTRyZ4iKs1
PTjPEnU/5Y+4ZJjkvAlE7QKRWDuy0U5Cs93kyefmhL/SmsfAdBHmRZj8i6rXxpw2
8qIYb/eunbBZuX4U6X1G9BFyBCe4mz+6/7r90dpEilvhzbH77Dr88aeRlLHIjOjT
67fWrY3kjV2fgeDkDIVrkJwNxTqH0D7jHCPk+Wf1tywjKqgoG+CHYNX3cibrnbnN
UPhIENtlHEPqaia7LT/+J9pfenIKAlsmtqT35iXjFyxwIR6t5VMcudsRwL2Mf2WC
MJNmGsAxaZrrLMBRX/ECFwcqQRciEDpjDg07m1hkRrRLz8gevM7Zz6Z8QpqkSFjE
EhTE4x3h9EskfVLSoqAQgVsQERKGqmIEDEAjHReayDRXpqsuiApIfhPKedMy/C7d
7Zw8yR/a7EVKZJEkEtkuoQOrZJ2KtYuss9kzh0bZqhGrYsF+oeuB4GBr3b411/Oq
/Wz5F1uwbYv2WNA5A8VEWuP5QUwnwHWWCxF6HkU1FARiZFmLZQIK1uZZqn7HkpmR
/swRM4QqcGlyYyvj1jpIBbOA8IeI8wmmxQmL4SqPx2rKcK7muMIA4r7riWKqok+D
SnxruXYMTk0/Gc2gXk8G
=NBHw
-END PGP SIGNATURE-

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Problems with gio_drive and gio_volume

2018-05-06 Thread rastersoft

Hi all:

I've been using GIO's Drive and Volume to detect the available external 
disks in an app (cronopete) and it worked fine for me; but some people 
referred troubles: some of them says their USB disks aren't detected. 
Also, I found that you can't retrieve information about the SATA hard 
disks, no matter if they are connected through eSATA.


Is there a way of detecting ALL hard disks in the system and ALL their 
volumes inside with Drive.get_volumes(), no matter if they are external, 
internal, removable or fixed? Or I must rely on udisks2 for that?


Thanks.

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list


Translating enum values in schema

2018-09-15 Thread rastersoft

Hi all:

I'm doing an schema for gsettings. This is part of it:










"large"
Icon size
Set the size for the desktop icons.


After passing xgettext, it adds to the .po file all the "summary" and 
"description" contents, but it doesn't add the nicks in the enum (this 
is, the strings "small", "standard", "large" and "huge" aren't added to 
the .pot file). But I want to show in my program the values translated.


Of course, I now that in the settings itself I must use the original 
strings, not the translated ones, but I don't want gsettings_schema_key 
to return those values already translated; I only want to ensure that 
xgettext adds those strings to the .pot file.


I tried adding l10n="messages" to each value, but the compiler doesn't 
like it. I tried using "alias" inside the key part, but they aren't 
added, and adding l10n to the aliases is also not allowed.


So the question is: how can I do that?

Thanks.

--
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list