GtkWidget *pane;
GtkAction *redial;
GtkAction *menu_fullscreen;
+ GtkAction *action_camera;
GtkWidget *tool_button_camera_off;
GtkWidget *tool_button_camera_preview;
GtkWidget *tool_button_camera_on;
priv->tool_button_camera_on), FALSE);
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (
priv->tool_button_camera_preview), FALSE);
+
+ gtk_radio_action_set_current_value (GTK_RADIO_ACTION (priv->action_camera),
+ CAMERA_STATE_OFF);
unblock_camera_control_signals (self);
priv->camera_state = CAMERA_STATE_OFF;
priv->tool_button_camera_off), FALSE);
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (
priv->tool_button_camera_on), FALSE);
+
+ gtk_radio_action_set_current_value (GTK_RADIO_ACTION (priv->action_camera),
+ CAMERA_STATE_PREVIEW);
unblock_camera_control_signals (self);
priv->camera_state = CAMERA_STATE_PREVIEW;
priv->tool_button_camera_off), FALSE);
gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (
priv->tool_button_camera_preview), FALSE);
+
+ gtk_radio_action_set_current_value (GTK_RADIO_ACTION (priv->action_camera),
+ CAMERA_STATE_ON);
unblock_camera_control_signals (self);
priv->camera_state = CAMERA_STATE_ON;
"camera_off", &priv->tool_button_camera_off,
"camera_preview", &priv->tool_button_camera_preview,
"camera_on", &priv->tool_button_camera_on,
+ "action_camera_off", &priv->action_camera,
NULL);
g_free (filename);