Commit bb382631 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

gnome: correctly show which camera is selected

Refs #69140

Change-Id: I37dac6e67ce47f36766856744f101e2fcc963421
parent 83e187b8
......@@ -277,6 +277,7 @@ on_drag_data_received(G_GNUC_UNUSED GtkWidget *self,
static void
switch_video_input(G_GNUC_UNUSED GtkWidget *widget, Video::Device *device)
......@@ -339,6 +340,9 @@ on_button_press_in_screen_event(G_GNUC_UNUSED GtkWidget *widget,
g_signal_connect(item, "activate", G_CALLBACK(switch_video_input), device);
/* add separator */
gtk_menu_shell_append(GTK_MENU_SHELL(menu), gtk_separator_menu_item_new());
/* add screen area as an input */
GtkWidget *item = gtk_check_menu_item_new_with_mnemonic("Share screen area");
gtk_menu_shell_append(GTK_MENU_SHELL(menu), item);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment