gnome-specimen r166 - in trunk-from-bzr: . data specimen
- From: wbolster svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-specimen r166 - in trunk-from-bzr: . data specimen
- Date: Tue, 17 Jun 2008 18:44:14 +0000 (UTC)
Author: wbolster
Date: Tue Jun 17 18:44:14 2008
New Revision: 166
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=166&view=rev
Log:
* data/gnome-specimen.glade:
- Fixup some strange strings, glade does not behave like
it should...
* specimen/specimenwindow.py:
- Add some comments
Modified:
trunk-from-bzr/ (props changed)
trunk-from-bzr/data/gnome-specimen.glade
trunk-from-bzr/specimen/specimenwindow.py
Modified: trunk-from-bzr/data/gnome-specimen.glade
==============================================================================
--- trunk-from-bzr/data/gnome-specimen.glade (original)
+++ trunk-from-bzr/data/gnome-specimen.glade Tue Jun 17 18:44:14 2008
@@ -23,8 +23,7 @@
<widget class="GtkMenu" id="file_item_menu">
<child>
<widget class="GtkImageMenuItem" id="quit_item">
- <property name="visible">True</property>
- <property name="label" translatable="yes">gtk-quit</property>
+ <property name="label">gtk-quit</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<signal name="activate" handler="on_quit_item_activate"/>
@@ -50,9 +49,7 @@
<accelerator key="C" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image64">
- <property name="visible">True</property>
<property name="stock">gtk-copy</property>
- <property name="icon_size">1</property>
</widget>
</child>
</widget>
@@ -66,9 +63,7 @@
<accelerator key="L" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image65">
- <property name="visible">True</property>
<property name="stock">gtk-clear</property>
- <property name="icon_size">1</property>
</widget>
</child>
</widget>
@@ -96,9 +91,7 @@
<signal name="activate" handler="on_change_colors_item_activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image66">
- <property name="visible">True</property>
<property name="stock">gtk-select-color</property>
- <property name="icon_size">1</property>
</widget>
</child>
</widget>
@@ -116,15 +109,12 @@
<widget class="GtkMenu" id="help_item_menu">
<child>
<widget class="GtkImageMenuItem" id="about_item">
- <property name="visible">True</property>
<property name="label" translatable="yes">_About</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_about_item_activate"/>
<child internal-child="image">
<widget class="GtkImage" id="image67">
- <property name="visible">True</property>
<property name="stock">gtk-about</property>
- <property name="icon_size">1</property>
</widget>
</child>
</widget>
Modified: trunk-from-bzr/specimen/specimenwindow.py
==============================================================================
--- trunk-from-bzr/specimen/specimenwindow.py (original)
+++ trunk-from-bzr/specimen/specimenwindow.py Tue Jun 17 18:44:14 2008
@@ -192,6 +192,7 @@
howmany_at_once = 50
+ # speedup: temporarily disconnect the model
model = self.fonts_treeview.get_model()
self.fonts_treeview.set_model(None);
@@ -204,6 +205,7 @@
self.fonts_treestore.append(piter,
[face.get_face_name(), family, face, True])
+ # reconnect the model
self.fonts_treeview.set_model(model);
# scroll to the top, since the treeview may have scrolled after all
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]