Fix some flatpak typos

This commit is contained in:
Alcaro 2020-02-08 16:22:31 +01:00
parent f5b0164d41
commit bea0453e80
2 changed files with 2 additions and 5 deletions

View File

@ -21,7 +21,7 @@
"buildsystem" : "simple",
"build-commands": [
"sh make.sh --cflags=-DFLATPAK",
"make install"
"make install PREFIX=/app"
],
"sources" : [
{

View File

@ -1007,10 +1007,7 @@ int GUIShow(const char * filename)
button(0,0, "_Apply Patch", G_CALLBACK(a_ApplyPatch));
button(1,0, "_Create Patch", G_CALLBACK(a_CreatePatch));
button(0,1, "Apply and _Run", G_CALLBACK(a_ApplyRun));
#ifdef FLATPAK
gtk_widget_set_sensitive(button, false);
gtk_widget_set_tooltip_text(button, "Running in emulators is not available in Flatpak");
#endif
flatpakDisable(button);
button(1,1, "_Settings", G_CALLBACK(a_ShowSettings));
#undef button