aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorSantiago Cézar <santiagocezar2013@gmail.com>2022-11-01 19:31:37 -0300
committerSantiago Cézar <santiagocezar2013@gmail.com>2022-11-01 19:31:37 -0300
commit668342b4708fca830a0650a6902805de3ff1380a (patch)
tree6f1854b7b66e6f54d2bf131752213e23dffccb3d /launcher/ui
parent0a0ce74105b1c01bb312175a823e715d6abb310c (diff)
downloadPrismLauncher-668342b4708fca830a0650a6902805de3ff1380a.tar.gz
PrismLauncher-668342b4708fca830a0650a6902805de3ff1380a.tar.bz2
PrismLauncher-668342b4708fca830a0650a6902805de3ff1380a.zip
add rory flat too (and holiday variants)
Signed-off-by: Santiago Cézar <santiagocezar2013@gmail.com> Co-authored-by: Ashtaka <66513643+AshtakaOOf@users.noreply.github.com>
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/pages/global/LauncherPage.cpp5
-rw-r--r--launcher/ui/pages/global/LauncherPage.ui5
2 files changed, 10 insertions, 0 deletions
diff --git a/launcher/ui/pages/global/LauncherPage.cpp b/launcher/ui/pages/global/LauncherPage.cpp
index 44421d3b..822c69b0 100644
--- a/launcher/ui/pages/global/LauncherPage.cpp
+++ b/launcher/ui/pages/global/LauncherPage.cpp
@@ -341,6 +341,9 @@ void LauncherPage::applySettings()
case 1: // rory the cat
s->set("BackgroundCat", "rory");
break;
+ case 2: // rory the cat flat edition
+ s->set("BackgroundCat", "rory-flat");
+ break;
}
s->set("MenuBarInsteadOfToolBar", ui->preferMenuBarCheckBox->isChecked());
@@ -439,6 +442,8 @@ void LauncherPage::loadSettings()
ui->themeBackgroundCat->setCurrentIndex(0);
} else if (cat == "rory") {
ui->themeBackgroundCat->setCurrentIndex(1);
+ } else if (cat == "rory-flat") {
+ ui->themeBackgroundCat->setCurrentIndex(2);
}
{
diff --git a/launcher/ui/pages/global/LauncherPage.ui b/launcher/ui/pages/global/LauncherPage.ui
index 3a4e7da4..0b36652c 100644
--- a/launcher/ui/pages/global/LauncherPage.ui
+++ b/launcher/ui/pages/global/LauncherPage.ui
@@ -371,6 +371,11 @@
<string>Rory ID 11 (drawn by Ashtaka)</string>
</property>
</item>
+ <item>
+ <property name="text">
+ <string>Rory ID 11 (flat edition, drawn by Ashtaka)</string>
+ </property>
+ </item>
</widget>
</item>
</layout>