[ease/builder: 30/34] Get rid of old constructors



commit 6eca2a954a70c91444db01bdd149c81d33340345
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Mon Jul 12 11:12:22 2010 -0500

    Get rid of old constructors

 data/ui/welcome-window.ui    |   77 ++++++++++++++++++++++++++++++++++++++++++
 src/ease-welcome-window.vala |    3 +-
 2 files changed, 79 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/welcome-window.ui b/data/ui/welcome-window.ui
new file mode 100644
index 0000000..501f883
--- /dev/null
+++ b/data/ui/welcome-window.ui
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<interface>
+  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-naming-policy project-wide -->
+  <object class="GtkVBox" id="vbox1">
+    <property name="visible">True</property>
+    <child>
+      <placeholder/>
+    </child>
+    <child>
+      <object class="GtkHBox" id="hbox1">
+        <property name="visible">True</property>
+        <child>
+          <object class="GtkComboBox" id="combo_resolution">
+            <property name="visible">True</property>
+          </object>
+          <packing>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkSpinButton" id="horiz_spin">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="invisible_char">&#x25CF;</property>
+          </object>
+          <packing>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkSpinButton" id="vert_spin">
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="invisible_char">&#x25CF;</property>
+          </object>
+          <packing>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkButton" id="newpres">
+            <property name="label" translatable="yes">_New presentation</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="use_underline">True</property>
+          </object>
+          <packing>
+            <property name="position">3</property>
+          </packing>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+        <child>
+          <object class="GtkButton" id="presopen">
+            <property name="label">gtk-open</property>
+            <property name="visible">True</property>
+            <property name="can_focus">True</property>
+            <property name="receives_default">True</property>
+            <property name="use_stock">True</property>
+            <signal name="clicked" handler="ease_welcome_window_on_open_pres_button_clicked"/>
+          </object>
+          <packing>
+            <property name="position">5</property>
+          </packing>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">False</property>
+        <property name="position">1</property>
+      </packing>
+    </child>
+  </object>
+</interface>
diff --git a/src/ease-welcome-window.vala b/src/ease-welcome-window.vala
index b2764d6..b2afafe 100644
--- a/src/ease-welcome-window.vala
+++ b/src/ease-welcome-window.vala
@@ -84,7 +84,7 @@ public class Ease.WelcomeWindow : Gtk.Window
 	
 	public WelcomeWindow()
 	{
-		assert(RESOLUTIONS_X.length == RESOLUTIONS_Y.length);
+/*		assert(RESOLUTIONS_X.length == RESOLUTIONS_Y.length);
 	
 		title = _("New Presentation");
 		set_default_size(640, 480);
@@ -273,6 +273,7 @@ public class Ease.WelcomeWindow : Gtk.Window
 		// reflow previews without animation
 		preview_row_count = -1;
 		reflow_previews();
+		}*/
 	}
 	
 	private void new_document()



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