Custom Widgets naming convention

Olivier Hallot olivier.hallot at documentfoundation.org
Fri Jul 26 08:16:04 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

HI

Looking at Glade user interface with the custom widgets introduced by
extras/source/glade/libreoffice-catalog.xml.in,  there is an annoying
naming issue on the real Svx, Svt, Cui custom widget. For example

<glade-widget-class title="Page Preview"
name="swlo-SwPageGridExample"
generic-name="Grid Page Preview Window"
parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>

<glade-widget-class
title="Page Preview"
name="swlo-SwColExample"
generic-name="Page Preview Window"
parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>

<glade-widget-class
title="Page Preview"
name="swlo-SwColumnOnlyExample"
generic-name="Page Preview Window"
parent="GtkDrawingArea"
icon-name="widget-gtk-drawingarea"/>

shows the same title ("PagePreview") in Glade widget selector UI but
relates to 3 different objects (SwPageGridExample, SwColExample and
SwColumnOnlyExample)

So, should the widget title be "SwColumnOnlyExample" to help in
code/Glade clarity? I think this will not affect the work already done.

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJR8pK0AAoJEJp3R7nH3vLxr8UH/iLVEllgGdVFHw9BlxUeCigk
sqmPnxkFoSexrWhvMf9S0+MvnbG9ZVlSHcM31HlKgpUVDoBQyTz/UdzqFP5XHdUc
YdixVu9NzQvJu6gN2FD9QmFlIukMuZwuO/+LtZeLUnBHrcth7wNHr/oc3eW+JsNB
F8/WLzJwtMHOXaphvu5OTZoHMGS2Lohhn5VAXS3NKUWQt9LRznQyRaviTdyeaSKa
fu0A5hOOQLFKtzHIM3ZI7gUgYjePaKhdM672Yy1mVAtF/ncR3D9hJ1HwMHEYh4Aq
ln11t+M6fCObkuo7MfhaYTUPCUPI99mPE2HYgKlj5X5DN2CRgoVkrLRAuiAsAts=
=Jwh4
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list