Commit Graph

11 Commits

Author SHA1 Message Date
wdlkmpx 802a4bda50 main.c (gtk3.4+): G_APPLICATION_NON_UNIQUE 2021-02-22 15:07:05 +08:00
wdlkmpx e390c1e063 main.c: main() gtk3.4+: hide cmd line args from GApplication
Handling cmd line args with GApplication is a nightmare
https://developer.gnome.org/gtkmm-tutorial/stable/sec-multi-item-containers.html.en#boxes-command-line-options
2021-02-22 15:00:58 +08:00
wdlkmpx ee2560d57f rename USE_XDG to USE_GLIB_XDG 2021-02-22 08:11:40 +08:00
wdlkmpx c9e22f006a main.c: ext_check(): escape spaces only if USE_XDG = 1
otherwise unescape spaces

ref #5
2021-02-22 07:36:01 +08:00
wdlkmpx 78cac66790 restore system(3) call as the default option to run commands
Use libc's system(3) to run commands, this includes any shell command
   and special stuff that only a shell interpreter can understand
 Set to 0 if you want a more conservative approach where the file to run
   is validated and errors running files are reported (without closing the gmrun window)

SHELL_RUN = 1

ref #4
2021-02-18 17:51:38 +08:00
wdlkmpx a9c45a9f9d use GtkApplication for GTK3 2021-01-25 11:49:58 +08:00
wdlkmpx 26d4fb47c6 fix gcc9 warnings 2021-01-20 08:57:03 +08:00
wdlkmpx 771e5f5cfa main.c: gmrun [text] 2020-10-07 00:57:37 +08:00
wdlkmpx ed2760ac97 Relicense project to ISC
thanks to @mishoo

closes #2
2020-10-07 00:56:48 +08:00
wdlkmpx 9b51f89c54 main.c: use spaces 2020-09-29 16:22:07 +08:00
wdlkmpx 4361172862 *** gmrun is now a C application *** 2020-09-29 16:21:57 +08:00