gnome-specimen r20 - in trunk-from-bzr: . glade



Author: wbolster
Date: Tue Jun 17 18:41:33 2008
New Revision: 20
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=20&view=rev

Log:
* specimenwindow.py:
  - set default preview size

* glade/gnome-specimen.glade:
  - change spinner signal so that updates always work
    correctly.


Modified:
   trunk-from-bzr/   (props changed)
   trunk-from-bzr/glade/gnome-specimen.glade
   trunk-from-bzr/specimenwindow.py

Modified: trunk-from-bzr/glade/gnome-specimen.glade
==============================================================================
--- trunk-from-bzr/glade/gnome-specimen.glade	(original)
+++ trunk-from-bzr/glade/gnome-specimen.glade	Tue Jun 17 18:41:33 2008
@@ -344,7 +344,7 @@
 		      <property name="snap_to_ticks">False</property>
 		      <property name="wrap">False</property>
 		      <property name="adjustment">16 1 144 1 10 10</property>
-		      <signal name="changed" handler="on_preview_size_changed" last_modification_time="Sat, 29 Apr 2006 20:02:21 GMT"/>
+		      <signal name="value_changed" handler="on_preview_size_changed" last_modification_time="Sat, 29 Apr 2006 20:02:21 GMT"/>
 		    </widget>
 		    <packing>
 		      <property name="left_attach">1</property>

Modified: trunk-from-bzr/specimenwindow.py
==============================================================================
--- trunk-from-bzr/specimenwindow.py	(original)
+++ trunk-from-bzr/specimenwindow.py	Tue Jun 17 18:41:33 2008
@@ -10,7 +10,7 @@
     update_timeout = 0
     families = []
 
-    preview_size = None # on_preview_size_changed sets this
+    preview_size = 12 # on_preview_size_changed sets this
     preview_text = 'Pack my box with five dozen liquor jugs.'
 
     def __init__(self):



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