fixing edge cases in install.sh
This commit is contained in:
parent
cc3b0c0e7b
commit
d0c1a185bc
|
@ -1,3 +1,4 @@
|
||||||
cargo build --release
|
cargo build --release
|
||||||
sudo mv target/release/able-editor /bin
|
sudo mv target/release/able-editor /bin
|
||||||
|
sudo rm /bin/ae
|
||||||
sudo ln -s /bin/able-editor /bin/ae
|
sudo ln -s /bin/able-editor /bin/ae
|
||||||
|
|
|
@ -41,9 +41,7 @@ impl App {
|
||||||
pub fn new(args: Vec<String>) -> Self {
|
pub fn new(args: Vec<String>) -> Self {
|
||||||
let app = app::App::default().with_scheme(app::Scheme::Gtk);
|
let app = app::App::default().with_scheme(app::Scheme::Gtk);
|
||||||
app::background(0, 0, 0);
|
app::background(0, 0, 0);
|
||||||
|
|
||||||
app::foreground(255, 255, 255);
|
app::foreground(255, 255, 255);
|
||||||
|
|
||||||
app::set_frame_type(fltk::enums::FrameType::NoBox);
|
app::set_frame_type(fltk::enums::FrameType::NoBox);
|
||||||
|
|
||||||
let (s, r) = app::channel::<Message>();
|
let (s, r) = app::channel::<Message>();
|
||||||
|
|
|
@ -16,6 +16,7 @@ impl Menu {
|
||||||
|
|
||||||
menu.set_text_color(Color::White);
|
menu.set_text_color(Color::White);
|
||||||
menu.set_color(Color::Black);
|
menu.set_color(Color::Black);
|
||||||
|
|
||||||
menu.add_emit(
|
menu.add_emit(
|
||||||
"&File/New...\t",
|
"&File/New...\t",
|
||||||
Shortcut::Ctrl | 'n',
|
Shortcut::Ctrl | 'n',
|
||||||
|
|
Loading…
Reference in a new issue