I've implemented the feature I suggested (#1) in a rather crude way, but then again it shouldn't matter that much since half-life just happily ignores garbage, e.g. stuff like this still loads:
The "crude way" consists of adding just a GtkExpander and a GtkEntry for the command line arguments to the window (therefore added another line to the GtkBox) and when the Expander is expanded splitting the GtkEntry value string, iterating over it and adding it to the string array string[] spawn_args.
UI when not expanded:
UI when expanded:
Still, any suggestions/critique/rework is very welcome.
Hello. First time using Vala.
I've implemented the feature I suggested (#1) in a rather crude way, but then again it shouldn't matter that much since half-life just happily ignores garbage, e.g. stuff like this still loads:
working_directory = /home/unko/.local/share/Steam/steamapps/common/Half-Life argv = ./hl_linux, -steam, adsadasdasdfa, sdfsd, čt, čštgerg, fdgdf, g
The "crude way" consists of adding just a GtkExpander and a GtkEntry for the command line arguments to the window (therefore added another line to the GtkBox) and when the Expander is expanded splitting the GtkEntry value string, iterating over it and adding it to the string array
string[] spawn_args
.UI when not expanded:
UI when expanded:
Still, any suggestions/critique/rework is very welcome.