summaryrefslogtreecommitdiff
path: root/sendto/main.c
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2022-02-22 11:18:41 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-23 16:21:49 +0100
commit52e0d04e7127ea57ebd95ae17d06fed70ca91f08 (patch)
treee270d11d75cccc55f2fe2bc2bc68a178629a60bf /sendto/main.c
parent49799919f1078d1bb1d8bddede552e9f1806c321 (diff)
downloadgnome-bluetooth-52e0d04e7127ea57ebd95ae17d06fed70ca91f08.tar.gz
sendto: Show selection dialog
When running `bluetooth-sendto` without arguments, no window was shown.
Diffstat (limited to 'sendto/main.c')
-rw-r--r--sendto/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sendto/main.c b/sendto/main.c
index a9e43e97..42f2c749 100644
--- a/sendto/main.c
+++ b/sendto/main.c
@@ -699,6 +699,8 @@ show_select_dialog(void)
g_signal_connect(dialog, "response", G_CALLBACK(select_dialog_response_callback), NULL);
+ gtk_widget_show(dialog);
+
select_dialog_mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(select_dialog_mainloop);