[chronojump] Continuation of last commit but for encoder. Done!
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Continuation of last commit but for encoder. Done!
- Date: Tue, 14 Apr 2020 10:52:10 +0000 (UTC)
commit d37d6714804f04371f28e932f81ed4fd1e2cd687
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Apr 14 12:51:48 2020 +0200
Continuation of last commit but for encoder. Done!
glade/app1.glade | 15 +++++++++++++--
src/gui/app1/icons.cs | 5 ++++-
src/gui/app1/menu.cs | 4 ++++
3 files changed, 21 insertions(+), 3 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 4039c6cc..fefac0fc 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -25957,8 +25957,7 @@ Concentric</property>
</packing>
</child>
<child>
- <widget class="GtkFrame" id="frame19">
- <property name="visible">True</property>
+ <widget class="GtkFrame" id="frame_logo_encoder">
<property name="can_focus">False</property>
<property name="label_xalign">0</property>
<property name="label_yalign">1</property>
@@ -25991,6 +25990,18 @@ Concentric</property>
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <widget class="GtkImage" id="image_logo_encoder_transp">
+ <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="pack_type">end</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index d5b0f79e..f5516049 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -90,7 +90,9 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_logo_contacts;
[Widget] Gtk.Image image_logo_contacts_transp;
[Widget] Gtk.Image image_logo_encoder;
+ [Widget] Gtk.Image image_logo_encoder_transp;
[Widget] Gtk.Frame frame_logo_contacts;
+ [Widget] Gtk.Frame frame_logo_encoder;
[Widget] Gtk.Viewport viewport_image_logo_contacts;
[Widget] Gtk.Viewport viewport_image_logo_encoder;
@@ -519,11 +521,12 @@ public partial class ChronoJumpWindow
*/
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogo); //44 px height
+ image_logo_contacts.Pixbuf = pixbuf;
image_logo_encoder.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + Constants.FileNameLogoTransparent40h);
//40 px heigh
- image_logo_contacts.Pixbuf = pixbuf;
image_logo_contacts_transp.Pixbuf = pixbuf;
+ image_logo_encoder_transp.Pixbuf = pixbuf;
UtilGtk.ViewportColor(viewport_image_logo_contacts, UtilGtk.BLUE_CHRONOJUMP);
UtilGtk.ViewportColor(viewport_image_logo_encoder, UtilGtk.BLUE_CHRONOJUMP);
diff --git a/src/gui/app1/menu.cs b/src/gui/app1/menu.cs
index 95f4a271..a2d3cba5 100644
--- a/src/gui/app1/menu.cs
+++ b/src/gui/app1/menu.cs
@@ -185,10 +185,14 @@ public partial class ChronoJumpWindow
{
frame_logo_contacts.Visible = false;
image_logo_contacts_transp.Visible = true;
+ frame_logo_encoder.Visible = false;
+ image_logo_encoder_transp.Visible = true;
radio_show_menu_and_persons_adjust_height(true);
} else {
frame_logo_contacts.Visible = true;
image_logo_contacts_transp.Visible = false;
+ frame_logo_encoder.Visible = true;
+ image_logo_encoder_transp.Visible = false;
radio_show_menu_and_persons_adjust_height(false);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]