glom r1588 - in trunk: . glom glom/utility_widgets
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1588 - in trunk: . glom glom/utility_widgets
- Date: Wed, 23 Apr 2008 02:05:42 +0100 (BST)
Author: murrayc
Date: Wed Apr 23 01:05:42 2008
New Revision: 1588
URL: http://svn.gnome.org/viewvc/glom?rev=1588&view=rev
Log:
2008-04-23 Murray Cumming <murrayc murrayc com>
* glom/glom_developer.glade:
* glom/utility_widgets/datawidget.cc: constructor:
Added : at the end of labels, as per the GNOME HIG.
Modified:
trunk/ChangeLog
trunk/glom/glom_developer.glade
trunk/glom/utility_widgets/datawidget.cc
Modified: trunk/glom/glom_developer.glade
==============================================================================
--- trunk/glom/glom_developer.glade (original)
+++ trunk/glom/glom_developer.glade Wed Apr 23 01:05:42 2008
@@ -239,7 +239,7 @@
<child>
<widget class="GtkLabel" id="label34">
<property name="visible">True</property>
- <property name="label" translatable="yes">Name</property>
+ <property name="label" translatable="yes">Name:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
<packing>
@@ -281,7 +281,7 @@
<child>
<widget class="GtkLabel" id="label35">
<property name="visible">True</property>
- <property name="label" translatable="yes">Type</property>
+ <property name="label" translatable="yes">Type:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
</child>
@@ -300,7 +300,7 @@
<child>
<widget class="GtkLabel" id="label37">
<property name="visible">True</property>
- <property name="label" translatable="yes">Title</property>
+ <property name="label" translatable="yes">Title:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
</child>
@@ -3688,7 +3688,7 @@
<widget class="GtkRadioButton" id="radiobutton_use_title_custom">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="label" translatable="yes">Use custom title</property>
+ <property name="label" translatable="yes">Use custom title:</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
@@ -3873,7 +3873,7 @@
<child>
<widget class="GtkLabel" id="label137">
<property name="visible">True</property>
- <property name="label" translatable="yes">System Name</property>
+ <property name="label" translatable="yes">System Name:</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -4036,7 +4036,7 @@
<widget class="GtkLabel" id="label144">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Country</property>
+ <property name="label" translatable="yes">Country:</property>
</widget>
<packing>
<property name="top_attach">5</property>
@@ -4049,7 +4049,7 @@
<widget class="GtkLabel" id="label143">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Zip/Postal Code</property>
+ <property name="label" translatable="yes">Zip/Postal Code:</property>
</widget>
<packing>
<property name="top_attach">4</property>
@@ -4062,7 +4062,7 @@
<widget class="GtkLabel" id="label142">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">State/County</property>
+ <property name="label" translatable="yes">State/County:</property>
</widget>
<packing>
<property name="top_attach">3</property>
@@ -4075,7 +4075,7 @@
<widget class="GtkLabel" id="label141">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Town</property>
+ <property name="label" translatable="yes">Town:</property>
</widget>
<packing>
<property name="top_attach">2</property>
@@ -4088,7 +4088,7 @@
<widget class="GtkLabel" id="label140">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Street (Line 2)</property>
+ <property name="label" translatable="yes">Street (Line 2):</property>
</widget>
<packing>
<property name="top_attach">1</property>
@@ -4101,7 +4101,7 @@
<widget class="GtkLabel" id="label139">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Street</property>
+ <property name="label" translatable="yes">Street:</property>
</widget>
<packing>
<property name="x_options">GTK_FILL</property>
@@ -6041,7 +6041,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Click this check box to use a non-standard font.</property>
- <property name="label" translatable="yes">Font</property>
+ <property name="label" translatable="yes">Font:</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
@@ -6078,7 +6078,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Click this check box to use a non-standard foreground color.</property>
- <property name="label" translatable="yes">Foreground Color</property>
+ <property name="label" translatable="yes">Foreground Color:</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
@@ -6115,7 +6115,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip" translatable="yes">Click this check box to use a non-standard background color.</property>
- <property name="label" translatable="yes">Background Color</property>
+ <property name="label" translatable="yes">Background Color:</property>
<property name="use_underline">True</property>
<property name="response_id">0</property>
<property name="draw_indicator">True</property>
@@ -6249,7 +6249,7 @@
<widget class="GtkLabel" id="label118">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Relationship</property>
+ <property name="label" translatable="yes">Relationship:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
<packing>
@@ -6261,7 +6261,7 @@
<widget class="GtkLabel" id="label119">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Field</property>
+ <property name="label" translatable="yes">Field:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
<packing>
@@ -6275,7 +6275,7 @@
<widget class="GtkLabel" id="label120">
<property name="visible">True</property>
<property name="xalign">1</property>
- <property name="label" translatable="yes">Also show</property>
+ <property name="label" translatable="yes">Also show:</property>
<property name="justify">GTK_JUSTIFY_RIGHT</property>
</widget>
<packing>
@@ -6546,7 +6546,7 @@
<child>
<widget class="GtkLabel" id="label211">
<property name="visible">True</property>
- <property name="label" translatable="yes">Locale</property>
+ <property name="label" translatable="yes">Locale:</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -7073,7 +7073,7 @@
<child>
<widget class="GtkLabel" id="label223">
<property name="visible">True</property>
- <property name="label" translatable="yes">Language</property>
+ <property name="label" translatable="yes">Language:</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -7239,7 +7239,7 @@
<child>
<widget class="GtkLabel" id="label223">
<property name="visible">True</property>
- <property name="label" translatable="yes">Language</property>
+ <property name="label" translatable="yes">Language:</property>
</widget>
<packing>
<property name="expand">False</property>
@@ -8953,7 +8953,7 @@
<child>
<widget class="GtkLabel" id="label26">
<property name="visible">True</property>
- <property name="label" translatable="yes">Date Field</property>
+ <property name="label" translatable="yes">Date Field:</property>
</widget>
<packing>
<property name="expand">False</property>
Modified: trunk/glom/utility_widgets/datawidget.cc
==============================================================================
--- trunk/glom/utility_widgets/datawidget.cc (original)
+++ trunk/glom/utility_widgets/datawidget.cc Wed Apr 23 01:05:42 2008
@@ -86,7 +86,9 @@
// Use hildon widgets for date and time on maemo
else
{
- m_label.set_label(title);
+ //The GNOME HIG says that labels should have ":" at the end:
+ //http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en
+ m_label.set_label(title + ":");
m_label.set_alignment(0);
m_label.show();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]