[Spice-devel] [PATCH spice-gtk] usbredir: Give devices a user friendly description

Marc-André Lureau marcandre.lureau at gmail.com
Tue Dec 27 11:07:43 PST 2011

On Sat, Dec 24, 2011 at 11:11 AM, Hans de Goede <hdegoede at redhat.com> wrote:

> @@ -843,14 +877,40 @@ gchar
> *spice_usb_device_get_description(SpiceUsbDevice *_device)

It would be interesting to give an optionnal format string, such as:

..get_description(device, _("%2$s (by %1$s)"));

So we could have customizable content with positional parameters (that
needs to be documented and stable)


Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111227/7e4ced9f/attachment.html>

More information about the Spice-devel mailing list