gnome-desktop r4962 - trunk/gnome-about



Author: vuntz
Date: Tue Jan  8 00:10:22 2008
New Revision: 4962
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=4962&view=rev

Log:
2008-01-08  Vincent Untz  <vuntz gnome org>

	* gnome-about.in: define some values for the text timeout for
	animation, and increase them a bit
	Patch by Guillaume Seguin <guillaume segu in>
	Bug #470833


Modified:
   trunk/gnome-about/ChangeLog
   trunk/gnome-about/gnome-about.in

Modified: trunk/gnome-about/gnome-about.in
==============================================================================
--- trunk/gnome-about/gnome-about.in	(original)
+++ trunk/gnome-about/gnome-about.in	Tue Jan  8 00:10:22 2008
@@ -42,6 +42,9 @@
 
 import xml.dom.minidom
 
+DESCRIPTION_DELAY = 10000
+CONTRIBUTOR_DELAY = 2500
+
 PACKAGE         = "@PACKAGE_NAME@"
 VERSION         = "@PACKAGE_VERSION@"
 GETTEXT_PACKAGE = "@GETTEXT_PACKAGE@"
@@ -877,7 +880,8 @@
         main_box.pack_start (welcome_label)
 
         descriptions_label = VertAnimatedLabel (self.description_messages,
-                                                300, 120, 8000, "%s")
+                                                300, 120,
+                                                DESCRIPTION_DELAY, "%s")
         welcome_label.connect ("button-press-event",
                                descriptions_label.on_button_press)
         box = gtk.EventBox ()
@@ -898,7 +902,7 @@
         self.header.realize ()
         width = self.header.width
         label = HorzAnimatedLabel (self.contributors, width,
-                                   30, 2500, "<b>%s</b>")
+                                   30, CONTRIBUTOR_DELAY, "<b>%s</b>")
         by_label.connect ("button-press-event", label.on_button_press)
         label.show_all ()
         alignment.add (label)



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