Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from zhrexl/tablet-support-fix
Browse files Browse the repository at this point in the history
Tablet support fix
  • Loading branch information
zhrexl authored Mar 26, 2022
2 parents 5a2ca00 + e522946 commit 953927c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"40",
"41"
],
"version": 11.1
"version": 12.0
}
10 changes: 8 additions & 2 deletions prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const AboutPage = new GObject.Class({
this.set_child(vbox);

// Translators: you are free to translate the extension name, that is displayed in About page, or not
let name = "<b> " + _("Draw On You Screen") + "</b>";
let name = "<b> " + _("Draw On You Screen 2") + "</b>";
// Translators: version number in "About" page
let version = _("Version %f").format(Me.metadata.version);
// Translators: you are free to translate the extension description, that is displayed in About page, or not
Expand All @@ -144,7 +144,13 @@ const AboutPage = new GObject.Class({
leftBox.append(new Gtk.Label({ wrap: true, valign: Gtk.Align.START, halign: Gtk.Align.END, justify: Gtk.Justification.RIGHT,
use_markup: true, label: "<small>" + _GTK("Created by") + "</small>" }));
rightBox.append(new Gtk.Label({ wrap: true, valign: Gtk.Align.START, halign: Gtk.Align.START, justify: Gtk.Justification.LEFT,
use_markup: true, label: "<small><a href=\"https://codeber.org/abak\">Abakkk</a></small>" }));
use_markup: true, label: "<small><a href=\"https://codeberg.org/abak\">Abakkk</a></small>" }));

leftBox.append(new Gtk.Label({ wrap: true, valign: Gtk.Align.START, halign: Gtk.Align.END, justify: Gtk.Justification.RIGHT,
use_markup: true, label: "<small>" + _GTK("Forked by") + "</small>" }));
rightBox.append(new Gtk.Label({ wrap: true, valign: Gtk.Align.START, halign: Gtk.Align.START, justify: Gtk.Justification.LEFT,
use_markup: true, label: "<small><a href=\"https://github.com/zhrexl\">zhrexl</a></small>" }));

creditBox.append(leftBox);
creditBox.append(rightBox);
vbox.append(creditBox);
Expand Down

0 comments on commit 953927c

Please sign in to comment.