diff options
author | John Stebbins <[email protected]> | 2018-05-17 07:55:34 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2018-05-17 08:21:21 -0700 |
commit | 32dbcb16134644e8c1e15839f8f0fa67d2657cb6 (patch) | |
tree | d085f2cb5c48cfddb55118d139f849782176a7bb /gtk | |
parent | 2054a421455b52ca060767c8cd544b16caacab96 (diff) |
LinGui: fix opening files on command line
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 47e03150e..d357cf8ad 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -1331,7 +1331,8 @@ main(int argc, char *argv[]) ghb_ui_register_resource(); ud = g_malloc0(sizeof(signal_user_data_t)); ud->app = gtk_application_new("org.handbrake.ghb", - G_APPLICATION_NON_UNIQUE); + G_APPLICATION_NON_UNIQUE | + G_APPLICATION_HANDLES_OPEN); // Connect application signals g_signal_connect(ud->app, "activate", (GCallback)ghb_activate_cb, ud); g_signal_connect(ud->app, "open", (GCallback)ghb_open_file_cb, ud); |