cheese r397 - in trunk: . data/sounds src



Author: dgsiegel
Date: Mon Jan 14 16:51:35 2008
New Revision: 397
URL: http://svn.gnome.org/viewvc/cheese?rev=397&view=rev

Log:
small cleanup


Added:
   trunk/data/sounds/shutter4.ogg   (contents, props changed)
Modified:
   trunk/ChangeLog
   trunk/data/sounds/shutter1.ogg
   trunk/data/sounds/shutter2.ogg
   trunk/data/sounds/shutter3.ogg
   trunk/src/cheese-window.c

Modified: trunk/data/sounds/shutter1.ogg
==============================================================================
Binary files. No diff available.

Modified: trunk/data/sounds/shutter2.ogg
==============================================================================
Binary files. No diff available.

Modified: trunk/data/sounds/shutter3.ogg
==============================================================================
Binary files. No diff available.

Added: trunk/data/sounds/shutter4.ogg
==============================================================================
Binary file. No diff available.

Modified: trunk/src/cheese-window.c
==============================================================================
--- trunk/src/cheese-window.c	(original)
+++ trunk/src/cheese-window.c	Mon Jan 14 16:51:35 2008
@@ -47,7 +47,7 @@
 
 #define GLADE_FILE PACKAGE_DATADIR"/cheese.glade"
 #define UI_FILE PACKAGE_DATADIR"/cheese-ui.xml"
-#define SHUTTER_SOUNDS 4
+#define SHUTTER_SOUNDS 5
 
 typedef enum
 {
@@ -140,7 +140,7 @@
 audio_play_get_filename (CheeseWindow *cheese_window)
 {
   char *filename;
-  if (cheese_window->audio_play_counter > 7)
+  if (cheese_window->audio_play_counter > 21)
    filename = g_strdup_printf ("%s/sounds/shutter%i.ogg", PACKAGE_DATADIR,
                                g_rand_int_range (cheese_window->rand, 1, SHUTTER_SOUNDS));
   else
@@ -1106,7 +1106,7 @@
                     "clicked", G_CALLBACK (cheese_window_effect_button_pressed_cb), cheese_window);
 
   g_signal_connect (cheese_window->thumb_view, "button_press_event",
-                          G_CALLBACK (cheese_window_button_press_event_cb), cheese_window);
+                    G_CALLBACK (cheese_window_button_press_event_cb), cheese_window);
 }
 
 void



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