[cheese] nocamera: set WARNING MessageType for the InfoBar



commit 44abb7ac8ec733909980d56f72b50e849a69b6d5
Author: Filippo Argiolas <filippo argiolas gmail com>
Date:   Sun Aug 9 12:46:25 2009 +0200

    nocamera: set WARNING MessageType for the InfoBar
    
    Warning is certainly more suited since the missing webcam is not a fatal
    error. Also, the red color for the error type is really ugly. This
    lovely orange is much better.

 src/cheese-no-camera.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-no-camera.c b/src/cheese-no-camera.c
index e1a8e42..6468f68 100644
--- a/src/cheese-no-camera.c
+++ b/src/cheese-no-camera.c
@@ -87,7 +87,7 @@ cheese_no_camera_info_bar_new ()
 
   info_bar = gtk_info_bar_new_with_buttons (GTK_STOCK_HELP, GTK_RESPONSE_HELP, NULL);
   gtk_info_bar_set_message_type (GTK_INFO_BAR (info_bar),
-                                 GTK_MESSAGE_ERROR);
+                                 GTK_MESSAGE_WARNING);
   cheese_no_camera_set_info_bar_text_and_icon (GTK_INFO_BAR (info_bar),
                                                "gtk-dialog-error",
                                                _("No camera found!"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]