summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Base/home/anon/Documents/tips.txt3
-rw-r--r--Userland/Applications/Serendipity/SerendipityWidget.cpp6
-rw-r--r--Userland/Applications/Serendipity/SerendipityWindow.gml3
-rw-r--r--Userland/Applications/Serendipity/main.cpp4
4 files changed, 8 insertions, 8 deletions
diff --git a/Base/home/anon/Documents/tips.txt b/Base/home/anon/Documents/tips.txt
index 72ebed52fb..d5a2835757 100644
--- a/Base/home/anon/Documents/tips.txt
+++ b/Base/home/anon/Documents/tips.txt
@@ -18,4 +18,7 @@ The Run dialog accepts all Shell command language. Truly the gentleman's termina
Windows can be dragged from any visible point by holding Super+Left-click. Super+Right-click begins resizing them.
Many Serenity applications already have convenient aliases. $ cat /etc/shellrc to view them.
Custom keymaps can be created and edited with $ KeyboardMapper
+Supplying # profile with a PID of -1 as root enables systemwide profiling.
+Holding Ctrl accelerates mouse wheel interaction with sliders and spin boxes.
+Selected files can be renamed by pressing F2.
diff --git a/Userland/Applications/Serendipity/SerendipityWidget.cpp b/Userland/Applications/Serendipity/SerendipityWidget.cpp
index 6632d5230d..f101a53877 100644
--- a/Userland/Applications/Serendipity/SerendipityWidget.cpp
+++ b/Userland/Applications/Serendipity/SerendipityWidget.cpp
@@ -31,7 +31,6 @@
#include <LibGUI/Button.h>
#include <LibGUI/CheckBox.h>
#include <LibGUI/Label.h>
-#include <LibGUI/SeparatorWidget.h>
#include <LibGfx/FontDatabase.h>
#include <LibGfx/Palette.h>
#include <LibMarkdown/Document.h>
@@ -47,11 +46,6 @@ SerendipityWidget::SerendipityWidget()
auto& banner_label = *find_descendant_of_type_named<GUI::Label>("banner_label");
banner_label.set_icon(Gfx::Bitmap::load_from_file("/res/graphics/welcome-serendipity.png"));
- auto& navigation_column = *find_descendant_of_type_named<GUI::Widget>("navigation_column");
-
- auto& nav_separator = navigation_column.add<GUI::SeparatorWidget>(Gfx::Orientation::Horizontal);
- nav_separator.set_max_height(2);
-
auto& tip_frame = *find_descendant_of_type_named<GUI::Frame>("tip_frame");
auto palette = tip_frame.palette();
palette.set_color(Gfx::ColorRole::Base, Color::from_rgb(0xffffe1));
diff --git a/Userland/Applications/Serendipity/SerendipityWindow.gml b/Userland/Applications/Serendipity/SerendipityWindow.gml
index e0ed21deb7..b4e027242a 100644
--- a/Userland/Applications/Serendipity/SerendipityWindow.gml
+++ b/Userland/Applications/Serendipity/SerendipityWindow.gml
@@ -101,6 +101,9 @@
@GUI::Widget {
}
+ @GUI::HorizontalSeparator {
+ fixed_height: 2
+ }
}
}
diff --git a/Userland/Applications/Serendipity/main.cpp b/Userland/Applications/Serendipity/main.cpp
index f25bd052cb..db5c187575 100644
--- a/Userland/Applications/Serendipity/main.cpp
+++ b/Userland/Applications/Serendipity/main.cpp
@@ -44,8 +44,6 @@ int main(int argc, char** argv)
return 1;
}
- auto app_icon = GUI::Icon::default_icon("app-serendipity");
-
if (unveil("/res", "r") < 0) {
perror("unveil");
return 1;
@@ -71,6 +69,8 @@ int main(int argc, char** argv)
return 1;
}
+ auto app_icon = GUI::Icon::default_icon("app-serendipity");
+
auto window = GUI::Window::construct();
window->resize(480, 250);
window->center_on_screen();