Code

clean up redundancies. add a placeholder for Export dialog
[inkscape.git] / src / ui / widget / licensor.cpp
index df00e358a770225fa9f2f7a37034141a8ca231db..50c49e9122da129e902694b9dfae0e92bced8338 100644 (file)
@@ -45,7 +45,7 @@ protected:
 };
 
 LicenseItem::LicenseItem (struct rdf_license_t const* license, EntityEntry* entity, Registry &wr)
-: Gtk::RadioButton(gettext(license->name)), _lic(license), _eep(entity), _wr(wr)
+: Gtk::RadioButton(_(license->name)), _lic(license), _eep(entity), _wr(wr)
 {
     static Gtk::RadioButtonGroup group = get_group();
     static bool first = true;
@@ -61,7 +61,8 @@ LicenseItem::on_toggled()
 
     _wr.setUpdating (true);
     rdf_set_license (SP_ACTIVE_DOCUMENT, _lic->details ? _lic : 0);
-    sp_document_done (SP_ACTIVE_DOCUMENT);
+    sp_document_done (SP_ACTIVE_DOCUMENT, SP_VERB_NONE, 
+                      /* TODO: annotate */ "licensor.cpp:65");
     _wr.setUpdating (false);
     reinterpret_cast<Gtk::Entry*>(_eep->_packable)->set_text (_lic->uri);
     _eep->on_changed();