Skip to content

Commit 57f7704

Browse files
committed
Refactor: introduce Page object
1 parent c8c08f3 commit 57f7704

File tree

7 files changed

+623
-441
lines changed

7 files changed

+623
-441
lines changed

data/resources/ui/tab.blp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,6 @@ template Tab: Adw.Bin {
99
Gtk.Stack stack {
1010
Gtk.ScrolledWindow scroll_win {
1111
vexpand: true;
12-
Gtk.TextView text_view {
13-
top-margin: 40;
14-
bottom-margin: 80;
15-
left-margin: 20;
16-
right-margin: 20;
17-
indent: 2;
18-
editable: false;
19-
cursor-visible: false;
20-
wrap-mode: word_char;
21-
}
2212
}
2313
}
2414
}

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ mod common;
1515
mod config;
1616
mod lossy_text_read;
1717
mod macros;
18-
mod text_extensions;
1918
mod widgets;
2019

2120
use gtk::prelude::*;

src/text_extensions/gemini.rs

Lines changed: 0 additions & 130 deletions
This file was deleted.

src/text_extensions/mod.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/widgets/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
mod download_page;
22
mod input_page;
3+
mod page;
34
#[allow(clippy::await_holding_refcell_ref)]
45
mod tab;
56
mod window;

0 commit comments

Comments
 (0)