seed r742 - in trunk: doc/tutorial-standalone examples/browser
- From: hortont svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r742 - in trunk: doc/tutorial-standalone examples/browser
- Date: Wed, 14 Jan 2009 21:05:41 +0000 (UTC)
Author: hortont
Date: Wed Jan 14 21:05:41 2009
New Revision: 742
URL: http://svn.gnome.org/viewvc/seed?rev=742&view=rev
Log:
More enum casing change.
Modified:
trunk/doc/tutorial-standalone/2.js
trunk/doc/tutorial-standalone/3.js
trunk/doc/tutorial-standalone/tutorial.html.in
trunk/examples/browser/browser.js
Modified: trunk/doc/tutorial-standalone/2.js
==============================================================================
--- trunk/doc/tutorial-standalone/2.js (original)
+++ trunk/doc/tutorial-standalone/2.js Wed Jan 14 21:05:41 2009
@@ -30,8 +30,8 @@
// Implementation
scroll_view.smooth_scroll = true;
scroll_view.add(web_view);
- scroll_view.set_policy(Gtk.PolicyType.Automatic,
- Gtk.PolicyType.Automatic);
+ scroll_view.set_policy(Gtk.PolicyType.AUTOMATIC,
+ Gtk.PolicyType.AUTOMATIC);
this.pack_start(toolbar);
this.pack_start(scroll_view, true, true);
Modified: trunk/doc/tutorial-standalone/3.js
==============================================================================
--- trunk/doc/tutorial-standalone/3.js (original)
+++ trunk/doc/tutorial-standalone/3.js Wed Jan 14 21:05:41 2009
@@ -29,9 +29,9 @@
new_tab.get_web_view().browse(url);
var tab_label = new Gtk.Label({label:"Untitled"});
- var tab_button = new Gtk.Button({relief: Gtk.ReliefStyle.None});
+ var tab_button = new Gtk.Button({relief: Gtk.ReliefStyle.NONE});
tab_button.set_image(new Gtk.Image({stock: "gtk-close",
- icon_size: Gtk.IconSize.Menu}));
+ icon_size: Gtk.IconSize.MENU}));
tab_button.signal.clicked.connect(this.close_tab, this);
var tab_title = new Gtk.HBox();
@@ -91,8 +91,8 @@
scroll_view.smooth_scroll = true;
scroll_view.add(web_view);
- scroll_view.set_policy(Gtk.PolicyType.Automatic,
- Gtk.PolicyType.Automatic);
+ scroll_view.set_policy(Gtk.PolicyType.AUTOMATIC,
+ Gtk.PolicyType.AUTOMATIC);
this.pack_start(toolbar);
this.pack_start(scroll_view, true, true);
Modified: trunk/doc/tutorial-standalone/tutorial.html.in
==============================================================================
--- trunk/doc/tutorial-standalone/tutorial.html.in (original)
+++ trunk/doc/tutorial-standalone/tutorial.html.in Wed Jan 14 21:05:41 2009
@@ -374,8 +374,8 @@
// Implementation
scroll_view.smooth_scroll = true;
scroll_view.add(web_view);
- scroll_view.set_policy(Gtk.PolicyType.Automatic,
- Gtk.PolicyType.Automatic);
+ scroll_view.set_policy(Gtk.PolicyType.AUTOMATIC,
+ Gtk.PolicyType.AUTOMATIC);
this.pack_start(toolbar);
this.pack_start(scroll_view, true, true);
Modified: trunk/examples/browser/browser.js
==============================================================================
--- trunk/examples/browser/browser.js (original)
+++ trunk/examples/browser/browser.js Wed Jan 14 21:05:41 2009
@@ -29,9 +29,9 @@
new_tab.get_web_view().browse(url);
var tab_label = new Gtk.Label({label:"Untitled"});
- var tab_button = new Gtk.Button({relief: Gtk.ReliefStyle.None});
+ var tab_button = new Gtk.Button({relief: Gtk.ReliefStyle.NONE});
tab_button.set_image(new Gtk.Image({stock: "gtk-close",
- icon_size: Gtk.IconSize.Menu}));
+ icon_size: Gtk.IconSize.MENU}));
tab_button.signal.clicked.connect(this.close_tab, this);
var tab_title = new Gtk.HBox();
@@ -91,8 +91,8 @@
scroll_view.smooth_scroll = true;
scroll_view.add(web_view);
- scroll_view.set_policy(Gtk.PolicyType.Automatic,
- Gtk.PolicyType.Automatic);
+ scroll_view.set_policy(Gtk.PolicyType.AUTOMATIC,
+ Gtk.PolicyType.AUTOMATIC);
this.pack_start(toolbar);
this.pack_start(scroll_view, true, true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]