~ubuntu-branches/ubuntu/lucid/cheese/lucid-proposed

« back to all changes in this revision

Viewing changes to src/cheese-no-camera.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-07-29 20:42:57 UTC
  • mfrom: (1.2.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090729204257-eoi74gsztbt3030m
Tags: 2.27.5-0ubuntu1
* New upstream release: (LP: #405684)
  - add new photo and burst icons, courtesy of Ulisse Perusin
  - remove the label of the photo and video modes
  - support taking a series of photos, fixes bug #581997
    this introduces the burst mode in cheese.
    the burst mode allows to take a series of photos
    with a configurable delay and number of photos
  - Make webcam and resolution settings not sensitive if just 1 option
    is available. If there are no options to choose, make the webcam and
    resolution combo box insensitive, fixes bug #588353
  - Added/Updated Translations
  - Added/Updated Documentation

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include "cheese-no-camera.h"
30
30
 
31
31
static void
32
 
cheese_no_camera_set_info_bar_text_and_icon (GtkInfoBar       *info_bar,
33
 
                                                 const gchar      *icon_stock_id,
34
 
                                                 const gchar      *primary_text,
35
 
                                                 const gchar      *secondary_text)
 
32
cheese_no_camera_set_info_bar_text_and_icon (GtkInfoBar  *info_bar,
 
33
                                             const gchar *icon_stock_id,
 
34
                                             const gchar *primary_text,
 
35
                                             const gchar *secondary_text)
36
36
{
37
37
  GtkWidget *content_area;
38
38
  GtkWidget *image;
89
89
  gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
90
90
                                 GTK_MESSAGE_ERROR);
91
91
  cheese_no_camera_set_info_bar_text_and_icon (GTK_INFO_BAR (info_bar),
92
 
                                                   "gtk-dialog-error",
93
 
                                                   _("No camera found!"),
94
 
                                                   _("Please refer to the help for further information."));
 
92
                                               "gtk-dialog-error",
 
93
                                               _("No camera found!"),
 
94
                                               _("Please refer to the help for further information."));
95
95
 
96
96
  return info_bar;
97
97
}