[chronojump] Top person window with newer md icons



commit 2ac8a00a8e00d4e2de31b190e752787da2dacca5
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Feb 23 21:16:27 2018 +0100

    Top person window with newer md icons

 glade/person_select_window.glade |   18 +++++++++++++++---
 src/gui/personSelect.cs          |    9 +++++++++
 2 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/glade/person_select_window.glade b/glade/person_select_window.glade
index 017f48a..165f30d 100644
--- a/glade/person_select_window.glade
+++ b/glade/person_select_window.glade
@@ -2467,6 +2467,18 @@
                     <child>
                       <placeholder/>
                     </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
+                    <child>
+                      <placeholder/>
+                    </child>
                   </widget>
                 </child>
               </widget>
@@ -2521,7 +2533,7 @@
                         <property name="can_focus">False</property>
                         <property name="spacing">4</property>
                         <child>
-                          <widget class="GtkImage" id="image2">
+                          <widget class="GtkImage" id="image_person_edit">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="stock">gtk-edit</property>
@@ -2619,7 +2631,7 @@
                             <property name="can_focus">False</property>
                             <property name="spacing">4</property>
                             <child>
-                              <widget class="GtkImage" id="image5">
+                              <widget class="GtkImage" id="image_person_delete">
                                 <property name="visible">True</property>
                                 <property name="can_focus">False</property>
                                 <property name="stock">gtk-remove</property>
@@ -2913,7 +2925,7 @@
                         <property name="can_focus">False</property>
                         <property name="spacing">4</property>
                         <child>
-                          <widget class="GtkImage" id="image4">
+                          <widget class="GtkImage" id="image_close">
                             <property name="visible">True</property>
                             <property name="can_focus">False</property>
                             <property name="stock">gtk-close</property>
diff --git a/src/gui/personSelect.cs b/src/gui/personSelect.cs
index b9972b0..02abca9 100644
--- a/src/gui/personSelect.cs
+++ b/src/gui/personSelect.cs
@@ -41,7 +41,10 @@ public class PersonSelectWindow
        [Widget] Gtk.Button button_load;
        [Widget] Gtk.Image image_person_new;
        [Widget] Gtk.Image image_person_load;
+       [Widget] Gtk.Image image_person_edit;
        [Widget] Gtk.Image image_all_persons_events;
+       [Widget] Gtk.Image image_person_delete;
+       [Widget] Gtk.Image image_close;
        
        static PersonSelectWindow PersonSelectWindowBox;
        
@@ -80,8 +83,14 @@ public class PersonSelectWindow
                image_person_new.Pixbuf = pixbuf;
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_person_outline.png");
                image_person_load.Pixbuf = pixbuf;
+               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_edit.png");
+               image_person_edit.Pixbuf = pixbuf;
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_visibility.png");
                image_all_persons_events.Pixbuf = pixbuf;
+               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "stock_delete.png");
+               image_person_delete.Pixbuf = pixbuf;
+               pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_close.png");
+               image_close.Pixbuf = pixbuf;
        }
        
        static public PersonSelectWindow Show (Gtk.Window parent, ArrayList persons, Person currentPerson)


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