[chronojump] Added force sensor icon
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added force sensor icon
- Date: Thu, 6 Apr 2017 14:01:16 +0000 (UTC)
commit bde43b2e081b036bf666ed53e178711c08309bf8
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 6 16:00:54 2017 +0200
Added force sensor icon
glade/app1.glade | 6 +++++-
images/force_sensor_menu.png | Bin 0 -> 161 bytes
src/Makefile.am | 1 +
src/gui/chronojump.cs | 1 +
src/gui/chronojumpIcons.cs | 2 ++
5 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 20d8e05..24ef523 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -2972,7 +2972,8 @@ Carles</property>
<property name="can_focus">False</property>
<property name="spacing">10</property>
<child>
- <widget class="GtkImage"
id="image_mode_force_sensor_small1">
+ <widget class="GtkImage"
id="image_mode_force_sensor_small">
+ <property name="visible">True</property>
<property name="can_focus">False</property>
<property
name="stock">gtk-missing-image</property>
</widget>
@@ -19915,6 +19916,9 @@ then click this button.</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/images/force_sensor_menu.png b/images/force_sensor_menu.png
new file mode 100644
index 0000000..5f5de70
Binary files /dev/null and b/images/force_sensor_menu.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 45831d5..47af6a1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -406,6 +406,7 @@ RESOURCES = \
../images/reaction_time_menu.png,reaction_time_menu.png \
../images/pulse_menu.png,pulse_menu.png \
../images/multichronopic_menu.png,multichronopic_menu.png \
+ ../images/force_sensor_menu.png,force_sensor_menu.png \
../images/finish.png,finish.png \
../images/gtk-cancel.png,gtk-cancel.png \
../images/gtk-zoom-fit.png,gtk-zoom-fit.png \
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 8b94019..ccaea3f 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -109,6 +109,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_mode_reaction_times_small;
[Widget] Gtk.Image image_mode_pulses_small;
[Widget] Gtk.Image image_mode_multi_chronopic_small;
+ [Widget] Gtk.Image image_mode_force_sensor_small;
[Widget] Gtk.Image image_mode_encoder_gravitatory;
[Widget] Gtk.Image image_mode_encoder_inertial;
[Widget] Gtk.Image image_gravitatory_not_menu;
diff --git a/src/gui/chronojumpIcons.cs b/src/gui/chronojumpIcons.cs
index cbacfa7..5f3e0f3 100644
--- a/src/gui/chronojumpIcons.cs
+++ b/src/gui/chronojumpIcons.cs
@@ -235,6 +235,8 @@ public partial class ChronoJumpWindow
image_mode_pulses_small.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameMultiChronopic);
image_mode_multi_chronopic_small.Pixbuf = pixbuf;
+ pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "force_sensor_menu.png");
+ image_mode_force_sensor_small.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameJumpsFallCalculate);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]