[gnome-music/wip/jfelder/readme-improvements: 1/3] README: Use double quotes for the template example
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/readme-improvements: 1/3] README: Use double quotes for the template example
- Date: Thu, 14 May 2020 20:50:32 +0000 (UTC)
commit b6101169913d4966c39ff01208563d1f2555350a
Author: Jean Felder <jfelder src gnome org>
Date: Thu May 14 22:34:44 2020 +0200
README: Use double quotes for the template example
Double quotes are preferred for all GNOME Music code.
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/README.md b/README.md
index eab51d89..3b86cf32 100644
--- a/README.md
+++ b/README.md
@@ -145,10 +145,10 @@ Recent PyGObject (3.29.1 and up) allows template usage and Music is [starting to
The basic usage in Python is as follows, with the `widget.ui` file being a regular GTK template:
```python
-@Gtk.Template(resource_path='/org/gnome/Music/widget.ui')
+@Gtk.Template(resource_path="/org/gnome/Music/widget.ui")
class Widget(Gtk.Widget):
- __gtype_name__ = 'Widget'
+ __gtype_name__ = "Widget"
_button = Gtk.Template.Child()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]