I think it has to do with these lines in cheese-window.c:

  if (priv->camera_mode == CAMERA_MODE_PHOTO)
  {
    gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook_bar), 0);
    gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->fullscreen_bar), 0);

    gtk_widget_set_sensitive (priv->take_picture, TRUE);
    gtk_widget_set_sensitive (priv->take_picture_fullscreen, TRUE);
  }
  else if (priv->camera_mode == CAMERA_MODE_BURST)
  {
    priv->repeat_count = 0;
    priv->is_bursting  = FALSE;

    gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook_bar), 0);
    gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->fullscreen_bar), 0);

    gtk_action_group_set_sensitive (priv->actions_effects, TRUE);
    gtk_action_group_set_sensitive (priv->actions_toggle, TRUE);

    gtk_widget_set_sensitive (priv->take_picture, TRUE);
    gtk_widget_set_sensitive (priv->take_picture_fullscreen, TRUE);
  }


We need to check if a device actually exists before enabling the button
on escape key.

** Changed in: ubuntu
       Status: New => In Progress

-- 
cheese: no device found, press escape, take photo, segmentation fault
https://bugs.launchpad.net/bugs/670759
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to