summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d7cf7f3)
raw | patch | inline | side by side (parent: d7cf7f3)
author | kidproto <kidproto@users.sourceforge.net> | |
Sun, 22 Oct 2006 18:42:04 +0000 (18:42 +0000) | ||
committer | kidproto <kidproto@users.sourceforge.net> | |
Sun, 22 Oct 2006 18:42:04 +0000 (18:42 +0000) |
src/ui/widget/licensor.cpp | patch | blob | history |
index 50c49e9122da129e902694b9dfae0e92bced8338..c872c06df5c48eb2b49533284763e4f498c7de15 100644 (file)
const struct rdf_license_t _proprietary_license =
{_("Proprietary"), "", 0};
+const struct rdf_license_t _other_license =
+ {_("Other"), "", 0};
+
class LicenseItem : public Gtk::RadioButton {
public:
LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr);
i = manage (new LicenseItem (&_proprietary_license, _eentry, wr));
add (*i);
LicenseItem *pd = i;
+
for (struct rdf_license_t * license = rdf_licenses;
license && license->name;
license++) {
i = manage (new LicenseItem (license, _eentry, wr));
add(*i);
}
+ // add Other at the end before the URI field for the confused ppl.
+ LicenseItem *io = manage (new LicenseItem (&_other_license, _eentry, wr));
+ add (*io);
+
pd->set_active();
wr.setUpdating (false);