Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-client-gnome
Commits
bb382631
Commit
bb382631
authored
Mar 26, 2015
by
Stepan Salenikovich
Browse files
gnome: correctly show which camera is selected
Refs #69140 Change-Id: I37dac6e67ce47f36766856744f101e2fcc963421
parent
83e187b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video/video_widget.cpp
View file @
bb382631
...
...
@@ -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
)
{
Video
::
DeviceModel
::
instance
()
->
setActive
(
device
);
Video
::
SourceModel
::
instance
()
->
switchTo
(
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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment