Commit fba61486 authored by Yuvaraj Pandian's avatar Yuvaraj Pandian Committed by Filippo Argiolas

menu: disable Take Photo when there is no camera

https://bugzilla.gnome.org/show_bug.cgi?id=615002
parent 3c432193
......@@ -1215,6 +1215,7 @@ on_widget_error (CheeseWidget *widget,
/* FIXME: hotplug new devices and hide the info bar */
gtk_action_group_set_sensitive (priv->actions_prefs, FALSE);
gtk_action_group_set_sensitive (priv->actions_photo, FALSE);
cheese_no_camera_set_info_bar_text_and_icon (GTK_INFO_BAR (priv->info_bar),
"gtk-dialog-error",
error->message,
......
Markdown is supported
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