[chronojump] Images for load session bottom buttons
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Images for load session bottom buttons
- Date: Thu, 18 Mar 2021 16:44:29 +0000 (UTC)
commit 8e85b719a0b5af4d923ab42d0304a3ede5bf2109
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 18 17:44:16 2021 +0100
Images for load session bottom buttons
glade/app1.glade | 118 +++++++++++++++++++++++++++++++++++++++++--
src/gui/app1/icons.cs | 4 ++
src/gui/app1/session/main.cs | 4 ++
3 files changed, 121 insertions(+), 5 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index e6eea6a1..3660d50d 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -41121,21 +41121,51 @@ then click this button.</property>
<widget class="GtkHBox" id="hbox125">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">90</property>
+ <property name="spacing">80</property>
<child>
<widget class="GtkHButtonBox" id="hbuttonbox18">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">60</property>
+ <property name="spacing">50</property>
<property name="layout_style">start</property>
<child>
<widget class="GtkButton" id="app1s_button_edit">
- <property name="label" translatable="yes">Edit
session</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_app1s_button_edit_clicked" swapped="no"/>
+ <child>
+ <widget class="GtkHBox" id="hbox499">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">4</property>
+ <child>
+ <widget class="GtkImage" id="app1s_image_edit">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label623">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Edit
session</property>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -41145,12 +41175,42 @@ then click this button.</property>
</child>
<child>
<widget class="GtkButton" id="app1s_button_delete">
- <property name="label" translatable="yes">Delete
session</property>
<property name="visible">True</property>
<property name="sensitive">False</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_app1s_button_delete_clicked" swapped="no"/>
+ <child>
+ <widget class="GtkHBox" id="hbox501">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">4</property>
+ <child>
+ <widget class="GtkImage" id="app1s_image_delete">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label622">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Delete
session</property>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -41169,7 +41229,7 @@ then click this button.</property>
<widget class="GtkHButtonBox"
id="app1s_hbuttonbox_page2_load">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">60</property>
+ <property name="spacing">50</property>
<property name="layout_style">end</property>
<child>
<widget class="GtkButton" id="app1s_button_cancel">
@@ -41184,11 +41244,35 @@ then click this button.</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
+ <widget class="GtkHBox" id="hbox498">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">4</property>
+ <child>
+ <widget class="GtkImage" id="app1s_image_cancel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkLabel" id="label511">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label"
translatable="yes">Cancel</property>
</widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
</child>
</widget>
</child>
@@ -41212,11 +41296,35 @@ then click this button.</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
+ <widget class="GtkHBox" id="hbox497">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">4</property>
+ <child>
+ <widget class="GtkImage" id="app1s_image_load">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property
name="stock">gtk-missing-image</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkLabel" id="label512">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label"
translatable="yes">Load</property>
</widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
</child>
</widget>
</child>
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 5aa59914..e5a785f8 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -450,6 +450,7 @@ public partial class ChronoJumpWindow
image_session_load1.Pixbuf = pixbuf;
image_session_load2.Pixbuf = pixbuf;
image_session_load3_blue.Pixbuf = pixbuf;
+ app1s_image_load.Pixbuf = pixbuf;
app1s_image_open_database.Pixbuf = pixbuf;
app1s_image_button_backup_select.Pixbuf = pixbuf;
app1s_image_button_export_select.Pixbuf = pixbuf;
@@ -478,6 +479,7 @@ public partial class ChronoJumpWindow
image_edit_current_person.Pixbuf = pixbuf;
image_edit_current_person_h.Pixbuf = pixbuf;
image_session_edit2.Pixbuf = pixbuf;
+ app1s_image_edit.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_close.png");
image_contacts_exercise_close.Pixbuf = pixbuf;
@@ -706,11 +708,13 @@ public partial class ChronoJumpWindow
image_button_cancel.Pixbuf = pixbuf;
image_encoder_capture_cancel.Pixbuf = pixbuf;
image_encoder_signal_delete.Pixbuf = pixbuf;
+ app1s_image_delete.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_cancel.png");
image_encoder_analyze_cancel.Pixbuf = pixbuf;
image_force_sensor_export_cancel.Pixbuf = pixbuf;
image_run_encoder_export_cancel.Pixbuf = pixbuf;
+ app1s_image_cancel.Pixbuf = pixbuf;
//zoom icons, done like this because there's one zoom icon created ad-hoc,
//and is not nice that the other are different for an user theme change
diff --git a/src/gui/app1/session/main.cs b/src/gui/app1/session/main.cs
index 352fecd5..d4ea3a00 100644
--- a/src/gui/app1/session/main.cs
+++ b/src/gui/app1/session/main.cs
@@ -53,6 +53,10 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Button app1s_button_delete;
[Widget] Gtk.Button app1s_button_load;
[Widget] Gtk.Button app1s_button_import;
+ [Widget] Gtk.Image app1s_image_edit;
+ [Widget] Gtk.Image app1s_image_delete;
+ [Widget] Gtk.Image app1s_image_cancel;
+ [Widget] Gtk.Image app1s_image_load;
[Widget] Gtk.Image app1s_image_import;
[Widget] Gtk.Entry app1s_entry_search_filter;
[Widget] Gtk.HBox app1s_hbox_manage;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]