Skip to content

Commit

Permalink
Use a shorter description to cut down window width
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Nov 11, 2023
1 parent f86729a commit fac0745
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/prefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ const AboutPage = GObject.registerClass(
InternalChildren: [
"extensionName",
"extensionVersion",
"extensionDescription",
"linkGithub",
"linkIssues",
"extensionLicense",
Expand All @@ -181,7 +180,6 @@ const AboutPage = GObject.registerClass(
} else {
children._extensionVersion.visible = false;
}
children._extensionDescription.set_text(metadata.description);
children._linkGithub.set_uri(metadata.url);
children._linkIssues.set_uri(`${metadata.url}/issues`);
children._extensionLicense.buffer.set_text(LICENSE, -1);
Expand Down
2 changes: 1 addition & 1 deletion ui/AboutPage.blp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ template $AboutPage : Adw.PreferencesPage {
margin-bottom: 5;

Label extensionDescription {
label: "The description of this extension";
label: _("Get a picture of the day as desktop background.");
justify: center;
}
}
Expand Down
2 changes: 1 addition & 1 deletion ui/AboutPage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<property name="margin-bottom">5</property>
<child>
<object class="GtkLabel" id="extensionDescription">
<property name="label">The description of this extension</property>
<property name="label" translatable="true">Get a picture of the day as desktop background.</property>
<property name="justify">2</property>
</object>
</child>
Expand Down

0 comments on commit fac0745

Please sign in to comment.