change icon loading to use resource
This commit is contained in:
@@ -47,12 +47,7 @@ namespace Sernatur {
|
||||
window.maximize ();
|
||||
}
|
||||
|
||||
try {
|
||||
window.icon = IconTheme.get_default ().load_icon ("sernatur", 48, 0);
|
||||
}
|
||||
catch (Error e) {
|
||||
warning (e.message);
|
||||
}
|
||||
window.icon = new Image.from_resource ("/cl/cromer/ubb/sernatur/pixdata/icon-sernatur.png").get_pixbuf ();
|
||||
window.present ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user