[glade] GladeWindow: Add Guido Macchi memorial
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeWindow: Add Guido Macchi memorial
- Date: Sat, 12 Sep 2020 23:15:41 +0000 (UTC)
commit 8258b4fb8fffa0529ffbc842e920cc65ba9d3dbe
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sat Sep 12 19:20:38 2020 -0300
GladeWindow: Add Guido Macchi memorial
Guido was a beloved professor at Rosario National university
who passed away last december.
This is a small recognition in his memory.
src/glade-resources.gresource.xml | 1 +
src/glade.glade | 92 +++++++++++++++++++++++++++++++++++++-
src/guido.png | Bin 0 -> 47805 bytes
src/meson.build | 1 +
4 files changed, 92 insertions(+), 2 deletions(-)
---
diff --git a/src/glade-resources.gresource.xml b/src/glade-resources.gresource.xml
index 4ada8c66..d03a603a 100644
--- a/src/glade-resources.gresource.xml
+++ b/src/glade-resources.gresource.xml
@@ -6,5 +6,6 @@
<file compressed="true" preprocess="xml-stripblanks">glade-registration.glade</file>
<file compressed="true">glade-window.css</file>
<file compressed="true">glade-registration.css</file>
+ <file compressed="false">guido.png</file>
</gresource>
</gresources>
diff --git a/src/glade.glade b/src/glade.glade
index 75a30a33..6969428b 100644
--- a/src/glade.glade
+++ b/src/glade.glade
@@ -29,6 +29,65 @@ Author: Juan Pablo Ugarte
<!-- interface-description A user interface designer for GTK+ and GNOME. -->
<!-- interface-copyright 2012-2018 Juan Pablo Ugarte -->
<!-- interface-authors Juan Pablo Ugarte -->
+ <object class="GtkPopover" id="guido_popover">
+ <property name="can-focus">False</property>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="margin-start">8</property>
+ <property name="margin-end">8</property>
+ <property name="margin-top">4</property>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="valign">end</property>
+ <property name="resource">/org/gnome/glade/guido.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="valign">center</property>
+ <property name="label" translatable="yes" context="This is to honor a professor that passed away
last year and appears in a popover when you click on the button that says "RIP Guido""
comments="The last sentence in quotes is in spanish and does not need to be translated.">Guido was one of my
professors at Rosario
+National University of Argentina.
+
+He introduced me to C, Linux, free software...
+
+He always had extra time to explain one more thing
+and help you figure out things by yourself.
+
+Always made a joke in the right moment keeping
+things interesting and fun.
+
+Master of intentionally misconstrued sayings.
+
+Always carried a stack of books under his arm.
+
+Loved Guinness beer.
+
+All he ever wanted was make you think!
+
+"Alégrate! Mañana sera peor."
+
+ Juan Pablo</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
<object class="GtkPopoverMenu" id="main_menu">
<property name="can-focus">False</property>
<child>
@@ -177,19 +236,19 @@ Author: Juan Pablo Ugarte
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">center</property>
- <property name="valign">center</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkImage">
<property name="name">glade-brand-image</property>
<property name="visible">True</property>
<property name="can-focus">False</property>
+ <property name="valign">end</property>
<property name="margin-top">64</property>
<property name="pixel-size">250</property>
<property name="icon-name">glade-brand-symbolic</property>
</object>
<packing>
- <property name="expand">False</property>
+ <property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
@@ -220,6 +279,35 @@ Author: Juan Pablo Ugarte
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <object class="GtkMenuButton">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="focus-on-click">False</property>
+ <property name="receives-default">True</property>
+ <property name="halign">center</property>
+ <property name="valign">end</property>
+ <property name="margin-bottom">4</property>
+ <property name="relief">none</property>
+ <property name="popover">guido_popover</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes" context="Button label in the bottom of main
window that triggers a popover"><small>In memory of an extraordinary
+person and professor
+R.I.P Guido Macchi</small></property>
+ <property name="use-markup">True</property>
+ <property name="justify">center</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="name">page0</property>
diff --git a/src/guido.png b/src/guido.png
new file mode 100644
index 00000000..7517d8b0
Binary files /dev/null and b/src/guido.png differ
diff --git a/src/meson.build b/src/meson.build
index f1f80bc4..e1d3c779 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -14,6 +14,7 @@ resource_data = files(
'glade-registration.css',
'glade-registration.glade',
'glade-window.css',
+ 'guido.png'
)
resource = 'glade-resources'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]