[gnome-devel-docs] Fixed typos in strings
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-devel-docs] Fixed typos in strings
- Date: Mon, 24 Sep 2012 10:41:01 +0000 (UTC)
commit 462bb80c11f251d5ba4ce742bb809abddb018c8b
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Mon Sep 24 12:40:58 2012 +0200
Fixed typos in strings
platform-demos/C/togglebutton.js.page | 4 ++--
platform-demos/C/toolbar.py.page | 2 +-
platform-demos/C/toolbar_builder.py.page | 2 +-
platform-demos/C/toolbar_builder.vala.page | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/platform-demos/C/togglebutton.js.page b/platform-demos/C/togglebutton.js.page
index e444589..a7189b4 100644
--- a/platform-demos/C/togglebutton.js.page
+++ b/platform-demos/C/togglebutton.js.page
@@ -19,7 +19,7 @@
<title>ToggleButton</title>
<media type="image" mime="image/png" src="media/togglebutton.png"/>
- <p>A ToggleButton is like a normal <link xref="button.js">Button,</link> except that it stays pressed in when you click it. You can use it like an on/off switch, to control things like the <link xref="spinner.js">Spinner</link> in this example.</p>
+ <p>A ToggleButton is like a normal <link xref="button.js">Button</link>, except that it stays pressed in when you click it. You can use it like an on/off switch, to control things like the <link xref="spinner.js">Spinner</link> in this example.</p>
<p>A ToggleButton's get_active method returns true if it's pressed in, and false if it's not. Its set_active method is used if you want to change its state without needing to click on it. When it changes state from pressed in to popped out and vice-versa, it sends out the "toggled" signal, which you can connect to a function to do something.</p>
<links type="section" />
@@ -95,7 +95,7 @@ const ToggleButtonExample = new Lang.Class({
this._toggleButton.connect ('toggled', Lang.bind (this, this._onToggle));
]]></code>
- <p>Creating a ToggleButton is a lot like creating a normal <link xref="button.js">Button.</link> The biggest difference is that you're handling a "toggled" signal instead of a "clicked" signal. This code binds the _onToggle function to that signal, so that it's called whenever our ToggleButton is toggled.</p>
+ <p>Creating a ToggleButton is a lot like creating a normal <link xref="button.js">Button</link>. The biggest difference is that you're handling a "toggled" signal instead of a "clicked" signal. This code binds the _onToggle function to that signal, so that it's called whenever our ToggleButton is toggled.</p>
<code mime="application/javascript"><![CDATA[
// Create a grid and put everything in it
diff --git a/platform-demos/C/toolbar.py.page b/platform-demos/C/toolbar.py.page
index 8e5bd32..d512ade 100644
--- a/platform-demos/C/toolbar.py.page
+++ b/platform-demos/C/toolbar.py.page
@@ -39,7 +39,7 @@
<item><p><code>get_item_index(tool_item)</code> retrieves the position of <code>tool_item</code> on the toolbar.</p></item>
<item><p><code>get_n_items()</code> returns the number of items on the toolbar; <code>get_nth_item(position)</code> returns the item in position <code>position</code>.</p></item>
<item><p>If the toolbar does not have room for all the menu items, and <code>set_show_arrow(True)</code>, the items that do not have room are shown through an overflow menu.</p></item>
- <item><p><code>set_icon_size(icon_size)</code> sets the size of icons in the toolbar; <code>icon_size</code> can be one of <code>Gtk.IconSize.INVALID, Gtk.IconSize.MENU, Gtk.IconSize.SMALL_TOOLBAR, Gtk.IconSize.LARGE_TOOLBAR, Gtk.IconSize.BUTTON, Gtk.IconSize.DND, Gtk.IconSize.DIALOG</code>. This should be used only for special-purpose toolbars, normal application toolbars should respect user preferences for the size of icons. <code>unset_icon_size()</code> unsets the preferences set with <code>set_icon_size(icon_size)</code>, so that user preferences will be used to determine the icon size.</p></item>
+ <item><p><code>set_icon_size(icon_size)</code> sets the size of icons in the toolbar; <code>icon_size</code> can be one of <code>Gtk.IconSize.INVALID, Gtk.IconSize.MENU, Gtk.IconSize.SMALL_TOOLBAR, Gtk.IconSize.LARGE_TOOLBAR, Gtk.IconSize.BUTTON, Gtk.IconSize.DND, Gtk.IconSize.DIALOG</code>. This should be used only for special-purpose toolbars, normal application toolbars should respect user preferences for the size of icons. <code>unset_icon_size()</code> unsets the preferences set with <code>set_icon_size(icon_size)</code>, so that user preferences are used to determine the icon size.</p></item>
<item><p><code>set_style(style)</code>, where <code>style</code> is one of <code>Gtk.ToolbarStyle.ICONS, Gtk.ToolbarStyle.TEXT, Gtk.ToolbarStyle.BOTH, Gtk.ToolbarStyle.BOTH_HORIZ</code>, sets if the toolbar shows only icons, only text, or both (vertically stacked or alongside each other). To let user preferences determine the toolbar style, and unset a toolbar style so set, use <code>unset_style()</code>.</p></item>
</list>
diff --git a/platform-demos/C/toolbar_builder.py.page b/platform-demos/C/toolbar_builder.py.page
index 22b3f1e..10541d8 100644
--- a/platform-demos/C/toolbar_builder.py.page
+++ b/platform-demos/C/toolbar_builder.py.page
@@ -92,7 +92,7 @@
<tr>
<td><p>Name</p></td>
<td><p>Is important</p></td>
- <td><p>action name</p></td>
+ <td><p>Action name</p></td>
<td><p>Label</p></td>
<td><p>Stock Id</p></td>
</tr>
diff --git a/platform-demos/C/toolbar_builder.vala.page b/platform-demos/C/toolbar_builder.vala.page
index 9d2f5d6..0652deb 100644
--- a/platform-demos/C/toolbar_builder.vala.page
+++ b/platform-demos/C/toolbar_builder.vala.page
@@ -76,7 +76,7 @@
<tr>
<td><p>Name</p></td>
<td><p>Is important</p></td>
- <td><p>action name</p></td>
+ <td><p>Action name</p></td>
<td><p>Label</p></td>
<td><p>Stock Id</p></td>
</tr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]