[chronojump] Removed unneded menu top right buttons for networks



commit cc46cc12f23f950463dff3f076e1ba188e351cf6
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Apr 7 13:16:14 2020 +0200

    Removed unneded menu top right buttons for networks

 glade/app1.glade      | 50 ++------------------------------------------------
 src/gui/app1/icons.cs |  8 ++++----
 2 files changed, 6 insertions(+), 52 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 8f02ec7a..c0f93661 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -6711,30 +6711,7 @@ EncoderInertialCapture</property>
                                                     <property name="can_focus">False</property>
                                                     <property name="spacing">20</property>
                                                     <child>
-                                                      <widget class="GtkButton" 
id="button_menu_outside_menu1">
-                                                        <property name="width_request">50</property>
-                                                        <property name="visible">True</property>
-                                                        <property name="can_focus">True</property>
-                                                        <property name="can_default">True</property>
-                                                        <property name="receives_default">True</property>
-                                                        <property name="has_tooltip">True</property>
-                                                        <property name="tooltip" translatable="yes">Main 
menu</property>
-                                                        <property name="relief">half</property>
-                                                        <signal name="clicked" 
handler="on_menuitem_mode_main_menu_activate" swapped="no"/>
-                                                        <child>
-                                                          <widget class="GtkImage" id="image_home1">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property 
name="stock">gtk-missing-image</property>
-                                                            <property name="icon-size">2</property>
-                                                          </widget>
-                                                        </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">True</property>
-                                                        <property name="fill">True</property>
-                                                        <property name="position">0</property>
-                                                      </packing>
+                                                      <placeholder/>
                                                     </child>
                                                     <child>
                                                       <widget class="GtkButton" 
id="button_preferences_not_menu1">
@@ -25869,30 +25846,7 @@ Concentric</property>
                                                     <property name="can_focus">False</property>
                                                     <property name="spacing">20</property>
                                                     <child>
-                                                      <widget class="GtkButton" 
id="button_menu_outside_menu">
-                                                        <property name="width_request">50</property>
-                                                        <property name="visible">True</property>
-                                                        <property name="can_focus">True</property>
-                                                        <property name="can_default">True</property>
-                                                        <property name="receives_default">True</property>
-                                                        <property name="has_tooltip">True</property>
-                                                        <property name="tooltip" translatable="yes">Main 
menu</property>
-                                                        <property name="relief">half</property>
-                                                        <signal name="clicked" 
handler="on_menuitem_mode_main_menu_activate" swapped="no"/>
-                                                        <child>
-                                                          <widget class="GtkImage" id="image_home">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property 
name="stock">gtk-missing-image</property>
-                                                            <property name="icon-size">2</property>
-                                                          </widget>
-                                                        </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">True</property>
-                                                        <property name="fill">True</property>
-                                                        <property name="position">0</property>
-                                                      </packing>
+                                                      <placeholder/>
                                                     </child>
                                                     <child>
                                                       <widget class="GtkButton" 
id="button_preferences_not_menu">
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 1adf6ce1..9ed8f963 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -27,8 +27,8 @@ using Glade;
 public partial class ChronoJumpWindow 
 {
        [Widget] Gtk.Image image_mode_main_menu;
-       [Widget] Gtk.Image image_home;
-       [Widget] Gtk.Image image_home1;
+       //[Widget] Gtk.Image image_home;
+       //[Widget] Gtk.Image image_home1;
        [Widget] Gtk.Image image_settings;
        [Widget] Gtk.Image image_settings1;
        [Widget] Gtk.Image image_settings2;
@@ -243,8 +243,8 @@ public partial class ChronoJumpWindow
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_home.png");
                image_mode_main_menu.Pixbuf = pixbuf;
-               image_home.Pixbuf = pixbuf;
-               image_home1.Pixbuf = pixbuf;
+               //image_home.Pixbuf = pixbuf;
+               //image_home1.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_settings.png");
                image_settings.Pixbuf = pixbuf;


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