Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 3e151e7

Browse files
committed
Removed old file
Signed-off-by: coyoteclan <mrcreamy112233@gmail.com>
1 parent b275cdb commit 3e151e7

3 files changed

Lines changed: 5 additions & 411 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ To run the games, you need a script. But using scripts is a little inconvenient.
66
- You can remove the remembered game from ``codlinux_conf/codlinux.cfg``. For example,
77
![Screenshot_2025-04-21_16-41-01](https://github.com/user-attachments/assets/144e615d-1fc0-484e-8730-213c59df2699)
88
- You can only check for updates 60 times per hour
9+
- Press **ESC** if "More Options" menu doesn't close. This is a gtk4 issue.
910

1011
## Todo
1112
- Add an option to create a launcher of individual games

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use relm4::{
66
factory::{DynamicIndex, FactoryComponent, FactorySender, FactoryVecDeque}, gtk, Component, ComponentParts, ComponentSender, RelmApp, RelmWidgetExt, Worker, WorkerController
77
};
88
use gtk::Orientation;
9-
use gtk::prelude::{BoxExt, ButtonExt, CheckButtonExt, GtkWindowExt, OrientableExt, WidgetExt, PopoverExt, GridExt, EditableExt};
9+
use gtk::prelude::{BoxExt, ButtonExt, GtkWindowExt, OrientableExt, WidgetExt, PopoverExt, GridExt, EditableExt};
1010
use util::my_exe_path;
1111

1212
mod util;
@@ -220,9 +220,9 @@ impl FactoryComponent for GameInfo {
220220
},
221221
},
222222

223-
gtk::CheckButton {
224-
set_label: Some("Remember Game"),
225-
connect_activate[sender, index] => move |_| {
223+
gtk::Button {
224+
set_label: "Remember Game",
225+
connect_clicked[sender, index] => move |_| {
226226
sender.output(GameOutput::Remembered(index.clone())).unwrap();
227227
},
228228
},

0 commit comments

Comments
 (0)