makes content moving work
This commit is contained in:
@@ -39,8 +39,8 @@ pub struct Pawn {
|
||||
|
||||
impl Pawn {
|
||||
pub fn new<S: Into<String>>(name: S) -> Self {
|
||||
let pawn_src = include_str!("../res/pawn.glade");
|
||||
let builder = gtk::Builder::new_from_string(pawn_src);
|
||||
let pawn_src = "/home/artus/Projets/rust/playmat/res/pawn.glade";
|
||||
let builder = gtk::Builder::new_from_file(pawn_src);
|
||||
let name = name.into();
|
||||
let label: gtk::Label =
|
||||
builder
|
||||
|
||||
Reference in New Issue
Block a user