aboutsummaryrefslogtreecommitdiffstats
path: root/src/camorama-window.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-19 14:26:01 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-21 06:34:58 -0300
commitf85679e6c08c5ed1c8bee595bb15805d1e9ec081 (patch)
tree6cfeee80ab0756013e06a18765c21ef6f791a852 /src/camorama-window.c
parent6087e0f3b3b2cfd57bf5eb173eaa0d4dd34ba9a4 (diff)
Add a dialog to optionally select the video device
The first time camorama is started, or if it doesn't find the previously used camera, it will now open a dialog allowing the user to choose the camera. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/camorama-window.c')
-rw-r--r--src/camorama-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/camorama-window.c b/src/camorama-window.c
index 33fd847..c8595a9 100644
--- a/src/camorama-window.c
+++ b/src/camorama-window.c
@@ -205,6 +205,8 @@ void load_interface(cam_t *cam)
gtk_application_add_window(cam->app, GTK_WINDOW(window));
#endif
+ gtk_widget_show(window);
+
prefswindow = GTK_WIDGET(gtk_builder_get_object(cam->xml, "prefswindow"));
menu_item_filter_type = g_quark_from_static_string("camorama-menu-item-filter-type");

Privacy Policy