[chronojump] Removed hboxes with top right buttons for networks



commit 4f7652b11fe07e06f1d6d2c4a076fe8f6cdfe0f2
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Apr 7 13:47:34 2020 +0200

    Removed hboxes with top right buttons for networks

 glade/app1.glade           | 107 ++++++---------------------------------------
 src/gui/app1/chronojump.cs |   4 --
 src/gui/app1/icons.cs      |   4 --
 src/gui/networks.cs        |   8 ++--
 4 files changed, 17 insertions(+), 106 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 2dd9d4db..ed52e0c8 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -6706,52 +6706,6 @@ EncoderInertialCapture</property>
                                                     <property name="position">2</property>
                                                   </packing>
                                                 </child>
-                                                <child>
-                                                  <widget class="GtkHBox" 
id="hbox_menu_and_preferences_outside_menu_contacts">
-                                                    <property name="can_focus">False</property>
-                                                    <property name="spacing">20</property>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <widget class="GtkButton" 
id="button_preferences_not_menu_quit1">
-                                                        <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">Quit</property>
-                                                        <property name="relief">half</property>
-                                                        <signal name="clicked" handler="on_quit1_activate" 
swapped="no"/>
-                                                        <child>
-                                                          <widget class="GtkImage" id="image_quit1">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property 
name="stock">gtk-missing-image</property>
-                                                          </widget>
-                                                        </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">True</property>
-                                                        <property name="fill">True</property>
-                                                        <property name="position">3</property>
-                                                      </packing>
-                                                    </child>
-                                                  </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>
@@ -24770,6 +24724,12 @@ Concentric</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
+                                                            <child>
+                                                            <placeholder/>
+                                                            </child>
                                                             </widget>
                                                             <packing>
                                                             <property name="expand">False</property>
@@ -25396,7 +25356,7 @@ Concentric</property>
                                               <widget class="GtkHBox" id="hbox_encoder_sup_capture_analyze">
                                                 <property name="visible">True</property>
                                                 <property name="can_focus">False</property>
-                                                <property name="spacing">20</property>
+                                                <property name="spacing">50</property>
                                                 <child>
                                                   <widget class="GtkHBox" 
id="hbox_encoder_sup_capture_analyze_two_buttons">
                                                     <property name="visible">True</property>
@@ -25814,56 +25774,9 @@ Concentric</property>
                                                   <packing>
                                                     <property name="expand">True</property>
                                                     <property name="fill">True</property>
-                                                    <property name="padding">30</property>
                                                     <property name="position">1</property>
                                                   </packing>
                                                 </child>
-                                                <child>
-                                                  <widget class="GtkHBox" 
id="hbox_menu_and_preferences_outside_menu_encoder">
-                                                    <property name="can_focus">False</property>
-                                                    <property name="spacing">20</property>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <placeholder/>
-                                                    </child>
-                                                    <child>
-                                                      <widget class="GtkButton" id="button_not_menu_quit">
-                                                        <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">Quit</property>
-                                                        <property name="relief">half</property>
-                                                        <signal name="clicked" handler="on_quit1_activate" 
swapped="no"/>
-                                                        <child>
-                                                          <widget class="GtkImage" id="image_quit">
-                                                            <property name="visible">True</property>
-                                                            <property name="can_focus">False</property>
-                                                            <property 
name="stock">gtk-missing-image</property>
-                                                          </widget>
-                                                        </child>
-                                                      </widget>
-                                                      <packing>
-                                                        <property name="expand">True</property>
-                                                        <property name="fill">True</property>
-                                                        <property name="position">3</property>
-                                                      </packing>
-                                                    </child>
-                                                  </widget>
-                                                  <packing>
-                                                    <property name="expand">False</property>
-                                                    <property name="fill">False</property>
-                                                    <property name="pack_type">end</property>
-                                                    <property name="position">2</property>
-                                                  </packing>
-                                                </child>
                                               </widget>
                                               <packing>
                                                 <property name="expand">False</property>
@@ -34841,6 +34754,12 @@ then click this button.</property>
                                                             <child>
                                                             <placeholder/>
                                                             </child>
+                                                            <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 03f90a31..80978a4d 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -7110,8 +7110,6 @@ LogB.Debug("mc finished 5");
                //vbox_menu_encoder.Sensitive = false;
                force_sensor_menuitem.Sensitive = false;
                race_encoder_menuitem.Sensitive = false;
-               hbox_menu_and_preferences_outside_menu_contacts.Sensitive = false;
-               hbox_menu_and_preferences_outside_menu_encoder.Sensitive = false;
                
                //jumpsProfile has Sqlite calls. Don't do them while jumping
                //but don't unsensitive the notebook because user need to "finish" or cancel"
@@ -7179,8 +7177,6 @@ LogB.Debug("mc finished 5");
                //vbox_menu_encoder.Sensitive = true;
                force_sensor_menuitem.Sensitive = true;
                race_encoder_menuitem.Sensitive = true;
-               hbox_menu_and_preferences_outside_menu_contacts.Sensitive = true;
-               hbox_menu_and_preferences_outside_menu_encoder.Sensitive = true;
 
                //jumpsProfile has Sqlite calls. Don't do them while jumping
                //but don't unsensitive the notebook because user need to "finish" or cancel"
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index 6728558e..a304944c 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -32,8 +32,6 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.Image image_settings2;
        [Widget] Gtk.Image image_minimize;
        //[Widget] Gtk.Image image_minimize1;
-       [Widget] Gtk.Image image_quit;
-       [Widget] Gtk.Image image_quit1;
        [Widget] Gtk.Image image_quit3;
        [Widget] Gtk.Image image_quit_from_app1;
        [Widget] Gtk.Image image_session_new2;
@@ -255,8 +253,6 @@ public partial class ChronoJumpWindow
                //image_minimize1.Pixbuf = pixbuf;
 
                pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_quit.png");
-               image_quit.Pixbuf = pixbuf;
-               image_quit1.Pixbuf = pixbuf;
                image_quit3.Pixbuf = pixbuf;
                image_quit_from_app1.Pixbuf = pixbuf;
                image_menu_quit.Pixbuf = pixbuf;
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index 6993d77e..bf65f222 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -93,8 +93,8 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.RadioButton radio_run_interval_compujump_20m;
 
        //shown when menu is hidden
-       [Widget] Gtk.HBox hbox_menu_and_preferences_outside_menu_contacts;
-       [Widget] Gtk.HBox hbox_menu_and_preferences_outside_menu_encoder;
+       //[Widget] Gtk.HBox hbox_menu_and_preferences_outside_menu_contacts;
+       //[Widget] Gtk.HBox hbox_menu_and_preferences_outside_menu_encoder;
        //[Widget] Gtk.Button button_menu_outside_menu;
        //[Widget] Gtk.Button button_menu_outside_menu1;
 
@@ -419,8 +419,8 @@ public partial class ChronoJumpWindow
                {
                        //main_menu.Visible = false;
                        //app1.Decorated = false;
-                       hbox_menu_and_preferences_outside_menu_contacts.Visible = true;
-                       hbox_menu_and_preferences_outside_menu_encoder.Visible = true;
+                       //hbox_menu_and_preferences_outside_menu_contacts.Visible = true;
+                       //hbox_menu_and_preferences_outside_menu_encoder.Visible = true;
 
                        if(configChronojump.SessionMode == Config.SessionModeEnum.UNIQUE)
                        {


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