[chronojump] Run simple graph show time button with new run_time.png
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Run simple graph show time button with new run_time.png
- Date: Fri, 6 Aug 2021 06:17:52 +0000 (UTC)
commit 1e8327e41751fe26992196fbec7b8ced3bb382bf
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Aug 6 08:17:22 2021 +0200
Run simple graph show time button with new run_time.png
glade/app1.glade | 10 ++++++++--
images/md/run_time.png | Bin 0 -> 5980 bytes
src/Makefile.am | 1 +
src/gui/app1/icons.cs | 3 +++
4 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index abbc70643..3dd0ca9e4 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -7919,12 +7919,18 @@ EncoderInertialCapture</property>
<property name="left_padding">12</property>
<child>
<widget class="GtkCheckButton"
id="check_run_simple_show_time">
- <property name="label" translatable="yes">Show
time</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property
name="receives_default">False</property>
- <property name="draw_indicator">True</property>
+ <property name="draw_indicator">False</property>
<signal name="toggled"
handler="on_check_run_simple_show_time_toggled" swapped="no"/>
+ <child>
+ <widget class="GtkImage"
id="image_run_simple_show_time">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ </child>
</widget>
</child>
</widget>
diff --git a/images/md/run_time.png b/images/md/run_time.png
new file mode 100644
index 000000000..8789b5e89
Binary files /dev/null and b/images/md/run_time.png differ
diff --git a/src/Makefile.am b/src/Makefile.am
index 4b767ae08..6bcac77af 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -580,6 +580,7 @@ RESOURCES = \
../images/md/keyboard_blue_24dp.png,image_keyboard.png \
../images/md/more_horiz_blue_24dp.png,image_more_horiz.png \
../images/md/about.png,image_about.png \
+ ../images/md/run_time.png,image_run_time.png \
../images/md/folders_blue.png,image_folders.png \
../images/md/folders_yellow.png,image_folders_yellow.png \
../images/md/folders_backup_blue.png,image_db_backup.png \
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 43a5fa4a8..1b34e8868 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -128,6 +128,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_button_jumps_simple_capture_save_image_disk;
//run
+ [Widget] Gtk.Image image_run_simple_show_time;
[Widget] Gtk.Image image_button_runs_simple_capture_save_image_chart;
[Widget] Gtk.Image image_button_runs_simple_capture_save_image_disk;
[Widget] Gtk.Image image_run_execute_running;
@@ -403,6 +404,8 @@ public partial class ChronoJumpWindow
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "force_sensor_icon.png");
app1s_image_show_data_force_sensor.Pixbuf = pixbuf;
+ image_run_simple_show_time.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) +
"image_run_time.png");
+
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_capture.png");
image_tests_capture.Pixbuf = pixbuf;
image_mode_encoder_capture.Pixbuf = pixbuf;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]