[gnome-taquin/arnaudb/wip/gtk4] No more Atk.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin/arnaudb/wip/gtk4] No more Atk.
- Date: Tue, 29 Sep 2020 16:06:17 +0000 (UTC)
commit 49c0cfe24be1af1a4e2cf10c107e84bdcc46c6f3
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Sep 29 18:02:00 2020 +0200
No more Atk.
data/ui/history-button.ui | 8 ++++----
src/history-button.vala | 5 +++++
2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/history-button.ui b/data/ui/history-button.ui
index e29f5d8..5b7c00d 100644
--- a/data/ui/history-button.ui
+++ b/data/ui/history-button.ui
@@ -26,12 +26,12 @@
</style>
<child internal-child="accessible">
- <object class="AtkObject">
+<!-- <object class="AtkObject">-->
<!-- Translators: accessible name of the history menubutton -->
- <property name="AtkObject::accessible-name" translatable="yes">History</property>
+<!-- <property name="AtkObject::accessible-name" translatable="yes">History</property>-->
<!-- Translators: accessible description of the history menubutton -->
- <property name="AtkObject::accessible-description" translatable="yes">Game history menu</property>
- </object>
+<!-- <property name="AtkObject::accessible-description" translatable="yes">Game history
menu</property>-->
+<!-- </object>-->
</child>
</template>
</interface>
diff --git a/src/history-button.vala b/src/history-button.vala
index 7e3d847..d8f5fbc 100644
--- a/src/history-button.vala
+++ b/src/history-button.vala
@@ -23,6 +23,11 @@ using Gtk;
[GtkTemplate (ui = "/org/gnome/Taquin/ui/history-button.ui")]
private class HistoryButton : ToggleButton
{
+ /* Translators: accessible name of the history menubutton */
+ private const string str1 = _("History");
+ /* Translators: accessible description of the history menubutton */
+ private const string str2 = _("Game history menu");
+
ulong toggled_handler = 0;
ulong close_handler = 0;
private PopoverMenu popover;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]