[chronojump] improved dialog about
- From: Xavier de Blas <xaviblas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] improved dialog about
- Date: Tue, 22 Sep 2009 12:04:52 +0000 (UTC)
commit a9f7db2bc9ed14deca4fa579bf139cfed5a2d4ce
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Sep 22 14:03:41 2009 +0200
improved dialog about
chronojump_server/bin/chronojumpServer.dll | Bin 273920 -> 273920 bytes
glade/chronojump.glade | 178 +++++++++++++++-------------
src/constants.cs | 3 +
src/gui/about.cs | 13 ++-
4 files changed, 112 insertions(+), 82 deletions(-)
---
diff --git a/chronojump_server/bin/chronojumpServer.dll b/chronojump_server/bin/chronojumpServer.dll
index 8f34dc0..a190679 100755
Binary files a/chronojump_server/bin/chronojumpServer.dll and b/chronojump_server/bin/chronojumpServer.dll differ
diff --git a/glade/chronojump.glade b/glade/chronojump.glade
index 60ac5a0..d200898 100644
--- a/glade/chronojump.glade
+++ b/glade/chronojump.glade
@@ -15628,58 +15628,51 @@ suitable for agility tests)</property>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
<child>
- <widget class="GtkFrame" id="frame34">
+ <widget class="GtkNotebook" id="notebook4">
<property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="label_yalign">0.5</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <property name="can_focus">True</property>
+ <property name="show_tabs">True</property>
+ <property name="show_border">True</property>
+ <property name="tab_pos">GTK_POS_TOP</property>
+ <property name="scrollable">False</property>
+ <property name="enable_popup">False</property>
<child>
- <widget class="GtkAlignment" id="alignment118">
+ <widget class="GtkLabel" id="dialog_about_label_developers">
<property name="visible">True</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xscale">1</property>
- <property name="yscale">1</property>
- <property name="top_padding">0</property>
- <property name="bottom_padding">0</property>
- <property name="left_padding">12</property>
- <property name="right_padding">0</property>
-
- <child>
- <widget class="GtkLabel" id="dialog_about_label_developers">
- <property name="visible">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
- </widget>
- </child>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="xpad">8</property>
+ <property name="ypad">8</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
</widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
</child>
<child>
- <widget class="GtkLabel" id="label522">
+ <widget class="GtkLabel" id="label781">
<property name="visible">True</property>
- <property name="label" translatable="yes"><b>developers</b></property>
+ <property name="label" translatable="yes">Developers</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -15693,64 +15686,87 @@ suitable for agility tests)</property>
<property name="angle">0</property>
</widget>
<packing>
- <property name="type">label_item</property>
+ <property name="type">tab</property>
</packing>
</child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- <child>
- <widget class="GtkFrame" id="frame35">
- <property name="visible">True</property>
- <property name="label_xalign">0</property>
- <property name="label_yalign">0.5</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
+ <child>
+ <widget class="GtkLabel" id="dialog_about_label_documenters">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="xpad">8</property>
+ <property name="ypad">8</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
+ </child>
<child>
- <widget class="GtkAlignment" id="alignment119">
+ <widget class="GtkLabel" id="label782">
<property name="visible">True</property>
+ <property name="label" translatable="yes">Documenters</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
- <property name="xscale">1</property>
- <property name="yscale">1</property>
- <property name="top_padding">0</property>
- <property name="bottom_padding">0</property>
- <property name="left_padding">12</property>
- <property name="right_padding">0</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ </packing>
+ </child>
- <child>
- <widget class="GtkLabel" id="dialog_about_label_translators">
- <property name="visible">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
- </widget>
- </child>
+ <child>
+ <widget class="GtkLabel" id="dialog_about_label_translators">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="xpad">8</property>
+ <property name="ypad">8</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
</widget>
+ <packing>
+ <property name="tab_expand">False</property>
+ <property name="tab_fill">True</property>
+ </packing>
</child>
<child>
- <widget class="GtkLabel" id="label523">
+ <widget class="GtkLabel" id="label783">
<property name="visible">True</property>
- <property name="label" translatable="yes"><b>translators</b></property>
+ <property name="label" translatable="yes">Translators</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -15764,7 +15780,7 @@ suitable for agility tests)</property>
<property name="angle">0</property>
</widget>
<packing>
- <property name="type">label_item</property>
+ <property name="type">tab</property>
</packing>
</child>
</widget>
diff --git a/src/constants.cs b/src/constants.cs
index 0444200..bb1a9b0 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -34,6 +34,9 @@ public class Constants
"Onkar Nath Mishra (http://www.logicbrick.com)\n" + Catalog.GetString("OpenCV Detection of knee angle."),
"Andoni Morales (http://ylatuya.es)\n" + Catalog.GetString("Installation support: Autotools, packaging, bundle.")
};
+ public static string [] Documenters = {
+ "Xavier de Blas (xaviblas gmail com)\n"
+ };
public static string ChronojumpWebsite = "http://www.chronojump.org";
diff --git a/src/gui/about.cs b/src/gui/about.cs
index ad8ff3d..563da17 100644
--- a/src/gui/about.cs
+++ b/src/gui/about.cs
@@ -29,6 +29,7 @@ public class About
[Widget] Gtk.Image image_logo;
[Widget] Gtk.Label dialog_about_label_version;
[Widget] Gtk.Label dialog_about_label_developers;
+ [Widget] Gtk.Label dialog_about_label_documenters;
[Widget] Gtk.Label dialog_about_label_translators;
public About (string version, string translators)
@@ -59,7 +60,7 @@ public class About
dialog_about_label_version.Text = version;
dialog_about_label_translators.Text = translators;
- //put authos separated by commas
+ //put authors separated by commas
string authorsString = "";
string paragraph = "";
foreach (string singleAuthor in Constants.Authors) {
@@ -68,6 +69,16 @@ public class About
paragraph = "\n\n";
}
dialog_about_label_developers.Text = authorsString;
+
+ //put documenters separated by commas
+ string docsString = "";
+ paragraph = "";
+ foreach (string doc in Constants.Documenters) {
+ docsString += paragraph;
+ docsString += doc;
+ paragraph = "\n\n";
+ }
+ dialog_about_label_documenters.Text = docsString;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]