[gtk+] Bloatpad: propertly escape <> in markup



commit 0363a7a2e34e3d72aa0995fa5c9b7a3aaae00f29
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 23 22:14:28 2012 -0500

    Bloatpad: propertly escape <> in markup

 examples/bloatpad.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 8ac2d02..ba8164a 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -275,20 +275,20 @@ bloat_pad_startup (GApplication *application)
                                "<interface>"
                                "  <menu id='app-menu'>"
                                "    <section>"
-                               "      <item label='_New Window' action='app.new' accel='<Primary>n'/>"
+                               "      <item label='_New Window' action='app.new' accel='&lt;Primary&gt;n'/>"
                                "    </section>"
                                "    <section>"
                                "      <item label='_About Bloatpad' action='app.about'/>"
                                "    </section>"
                                "    <section>"
-                               "      <item label='_Quit' action='app.quit' accel='<Primary>q'/>"
+                               "      <item label='_Quit' action='app.quit' accel='&lt;Primary&gt;q'/>"
                                "    </section>"
                                "  </menu>"
                                "  <menu id='menubar'>"
                                "    <submenu label='_Edit'>"
                                "      <section>"
-                               "        <item label='_Copy' action='win.copy' accel='<Primary>c'/>"
-                               "        <item label='_Paste' action='win.paste' accel='<Primary>v'/>"
+                               "        <item label='_Copy' action='win.copy' accel='&lt;Primary&gt;c'/>"
+                               "        <item label='_Paste' action='win.paste' accel='&lt;Primary&gt;v'/>"
                                "      </section>"
                                "    </submenu>"
                                "    <submenu label='_View'>"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]