[chronojump/FS-TFT-Menu] Minor gui changes on session/person icons and session name on bold



commit 3ff17ad9269fc98a76043962345f60f58bf3cca5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 7 12:04:32 2022 +0200

    Minor gui changes on session/person icons and session name on bold

 glade/app1.glade           | 61 ++++++++++++++++------------------------------
 src/gui/app1/chronojump.cs |  5 ++--
 src/gui/app1/icons.cs      | 12 +++------
 3 files changed, 27 insertions(+), 51 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index acb7d4c87..e189086f2 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -764,19 +764,6 @@
                                           <widget class="GtkHBox" id="hbox_above_frame_session">
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
-                                            <property name="spacing">4</property>
-                                            <child>
-                                              <widget class="GtkImage" id="image_menu_folders">
-                                                <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="label_session_at_frame_session">
                                                 <property name="visible">True</property>
@@ -787,7 +774,7 @@
                                               <packing>
                                                 <property name="expand">True</property>
                                                 <property name="fill">True</property>
-                                                <property name="position">1</property>
+                                                <property name="position">0</property>
                                               </packing>
                                             </child>
                                           </widget>
@@ -2351,18 +2338,6 @@
                                             <property name="visible">True</property>
                                             <property name="can_focus">False</property>
                                             <property name="spacing">4</property>
-                                            <child>
-                                              <widget class="GtkImage" id="image_person2">
-                                                <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="label_persons_at_frame_persons">
                                                 <property name="visible">True</property>
@@ -2373,7 +2348,7 @@
                                               <packing>
                                                 <property name="expand">False</property>
                                                 <property name="fill">False</property>
-                                                <property name="position">1</property>
+                                                <property name="position">0</property>
                                               </packing>
                                             </child>
                                             <child>
@@ -2390,7 +2365,7 @@
                                               <packing>
                                                 <property name="expand">False</property>
                                                 <property name="fill">False</property>
-                                                <property name="position">2</property>
+                                                <property name="position">1</property>
                                               </packing>
                                             </child>
                                           </widget>
@@ -26270,6 +26245,9 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -32678,18 +32656,6 @@ Concentric</property>
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">6</property>
                                                             <child>
-                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
-                                                            <property name="can_focus">False</property>
-                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
-                                                            </widget>
-                                                            <packing>
-                                                            <property name="expand">False</property>
-                                                            <property name="fill">False</property>
-                                                            <property name="pack_type">end</property>
-                                                            <property name="position">0</property>
-                                                            </packing>
-                                                            </child>
-                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_capturing">
                                                             <property name="can_focus">False</property>
                                                             <property name="spacing">4</property>
@@ -32726,6 +32692,18 @@ Concentric</property>
                                                             </packing>
                                                             </child>
                                                             <child>
+                                                            <widget class="GtkLabel" 
id="label_video_encoder_tests_will_be_filmed">
+                                                            <property name="can_focus">False</property>
+                                                            <property name="label" translatable="yes">Tests 
will be filmed</property>
+                                                            </widget>
+                                                            <packing>
+                                                            <property name="expand">False</property>
+                                                            <property name="fill">False</property>
+                                                            <property name="pack_type">end</property>
+                                                            <property name="position">0</property>
+                                                            </packing>
+                                                            </child>
+                                                            <child>
                                                             <widget class="GtkHBox" 
id="hbox_video_encoder_no_capturing">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
@@ -42394,6 +42372,9 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 38aba92da..5ee51a761 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -909,12 +909,10 @@ public partial class ChronoJumpWindow
                        pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_folders.png");
                        if(Config.ColorBackgroundIsDark)
                                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"image_folders_yellow.png");
-                       image_menu_folders.Pixbuf = pixbuf;
 
                        pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person.png");
                        if(Config.ColorBackgroundIsDark)
                                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"image_person_yellow.png");
-                       image_person2.Pixbuf = pixbuf;
 
                        pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_no_photo.png");
                        if(Config.ColorBackgroundIsDark)
@@ -2943,7 +2941,8 @@ public partial class ChronoJumpWindow
 
                if(sessionName != "") {
                        title += " - " + sessionName;
-                       label_current_session.Text = sessionName;
+                       label_current_session.Text = "<b>" + sessionName + "</b>";
+                       label_current_session.UseMarkup = true;
                        label_current_session.TooltipText = sessionName;
                } else {
                        label_current_session.Text = "----";
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index afd5fad6a..afe6ba011 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -41,7 +41,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_current_person_zoom_h;
        [Widget] Gtk.Image image_person;
        [Widget] Gtk.Image image_person1;
-       [Widget] Gtk.Image image_person2;
        [Widget] Gtk.Image image_edit_current_person_h;
        //[Widget] Gtk.Image image_persons_up;
        //[Widget] Gtk.Image image_persons_down;
@@ -298,8 +297,8 @@ public partial class ChronoJumpWindow
                image_contacts_exercise_settings.Pixbuf = pixbuf;
                image_encoder_exercise_settings.Pixbuf = pixbuf;
 
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "persons_manage.png");
-               image_persons_manage.Pixbuf = pixbuf;
+               //pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "persons_manage.png");
+               //image_persons_manage.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_store_blue.png");
                image_menu_news.Pixbuf = pixbuf;
@@ -319,13 +318,11 @@ public partial class ChronoJumpWindow
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_folders.png");
                if(Config.ColorBackgroundIsDark)
                        pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_folders_yellow.png");
-               image_menu_folders.Pixbuf = pixbuf;
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "folders_manage_blue.png");
-               image_menu_folders2.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_folders.png");
                image_menu_folders1.Pixbuf = pixbuf;
                image_session_export1.Pixbuf = pixbuf;
+               image_menu_folders2.Pixbuf = pixbuf;
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_db_backup.png");
                image_db_backup.Pixbuf = pixbuf;
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_more_horiz.png");
@@ -423,15 +420,14 @@ public partial class ChronoJumpWindow
                image_app1s_button_back.Pixbuf = pixbuf;
 
                //pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person_pin.png");
-               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person.png");
                if(Config.ColorBackgroundIsDark)
                        pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person_yellow.png");
-               image_person2.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person.png");
                image_person.Pixbuf = pixbuf;
                image_person1.Pixbuf = pixbuf;
                app1s_image_show_data_persons.Pixbuf = pixbuf;
+               image_persons_manage.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_info.png");
                image_info1.Pixbuf = pixbuf;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]