[chronojump] Removed unneded minimize buttons for networks
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Removed unneded minimize buttons for networks
- Date: Tue, 7 Apr 2020 11:06:08 +0000 (UTC)
commit 7d0a5c1dfc262e1887b1a1799760e7ff919f837b
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Apr 7 13:05:31 2020 +0200
Removed unneded minimize buttons for networks
glade/app1.glade | 76 ++++++++++++----------------------------------
src/gui/app1/chronojump.cs | 2 ++
src/gui/app1/icons.cs | 8 ++---
src/gui/networks.cs | 8 ++---
4 files changed, 30 insertions(+), 64 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 2fe849c7..8f02ec7a 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -6763,28 +6763,7 @@ EncoderInertialCapture</property>
</packing>
</child>
<child>
- <widget class="GtkButton"
id="button_preferences_not_menu_minimize">
- <property name="width_request">50</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="relief">half</property>
- <signal name="clicked"
handler="on_button_minimize_clicked" swapped="no"/>
- <child>
- <widget class="GtkImage" id="image_minimize">
- <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">2</property>
- </packing>
+ <placeholder/>
</child>
<child>
<widget class="GtkButton"
id="button_preferences_not_menu_quit1">
@@ -24834,6 +24813,9 @@ Concentric</property>
<child>
<placeholder/>
</child>
+ <child>
+ <placeholder/>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
@@ -25939,28 +25921,7 @@ Concentric</property>
</packing>
</child>
<child>
- <widget class="GtkButton"
id="button_not_menu_minimize1">
- <property name="width_request">50</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="relief">half</property>
- <signal name="clicked"
handler="on_button_minimize_clicked" swapped="no"/>
- <child>
- <widget class="GtkImage" id="image_minimize1">
- <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">2</property>
- </packing>
+ <placeholder/>
</child>
<child>
<widget class="GtkButton" id="button_not_menu_quit">
@@ -27194,18 +27155,6 @@ Concentric</property>
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Tests
will be filmed</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="pack_type">end</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
<widget class="GtkHBox"
id="hbox_video_encoder_capturing">
<property name="can_focus">False</property>
<property name="spacing">4</property>
@@ -27242,6 +27191,18 @@ Concentric</property>
</packing>
</child>
<child>
+ <widget class="GtkLabel"
id="label_video_encoder_tests_will_be_filmed">
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Tests
will be filmed</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<widget class="GtkHBox"
id="hbox_video_encoder_no_capturing">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -34969,6 +34930,9 @@ then click this button.</property>
<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 ae9aa433..03f90a31 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2212,9 +2212,11 @@ public partial class ChronoJumpWindow
* --------------------------------------------------------
*/
+ /*
private void on_button_minimize_clicked (object o, EventArgs args) {
app1.Iconify();
}
+ */
private void on_delete_event (object o, DeleteEventArgs args) {
args.RetVal = true;
diff --git a/src/gui/app1/icons.cs b/src/gui/app1/icons.cs
index a7da4599..1adf6ce1 100644
--- a/src/gui/app1/icons.cs
+++ b/src/gui/app1/icons.cs
@@ -33,7 +33,7 @@ public partial class ChronoJumpWindow
[Widget] Gtk.Image image_settings1;
[Widget] Gtk.Image image_settings2;
[Widget] Gtk.Image image_minimize;
- [Widget] Gtk.Image image_minimize1;
+ //[Widget] Gtk.Image image_minimize1;
[Widget] Gtk.Image image_quit;
[Widget] Gtk.Image image_quit1;
[Widget] Gtk.Image image_quit3;
@@ -254,9 +254,9 @@ public partial class ChronoJumpWindow
image_menu_preferences.Pixbuf = pixbuf;
image_menu_preferences1.Pixbuf = pixbuf;
- pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_minimize.png");
- image_minimize.Pixbuf = pixbuf;
- image_minimize1.Pixbuf = pixbuf;
+ //pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_minimize.png");
+ //image_minimize.Pixbuf = pixbuf;
+ //image_minimize1.Pixbuf = pixbuf;
pixbuf = new Pixbuf (null, Util.GetImagePath(false) + "image_quit.png");
image_quit.Pixbuf = pixbuf;
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index f817fcf2..6993d77e 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -95,8 +95,8 @@ public partial class ChronoJumpWindow
//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.Button button_menu_outside_menu;
- [Widget] Gtk.Button button_menu_outside_menu1;
+ //[Widget] Gtk.Button button_menu_outside_menu;
+ //[Widget] Gtk.Button button_menu_outside_menu1;
private enum linuxTypeEnum { NOTLINUX, LINUX, RASPBERRY, NETWORKS }
private bool encoderUpdateTreeViewWhileCapturing = true;
@@ -192,8 +192,8 @@ public partial class ChronoJumpWindow
vbox_runs_interval_compujump.Visible = true;
menuitem_mode.Visible = false;
- button_menu_outside_menu.Visible = false;
- button_menu_outside_menu1.Visible = false;
+ //button_menu_outside_menu.Visible = false;
+ //button_menu_outside_menu1.Visible = false;
}
Json.ChangeServerUrl(configChronojump.CompujumpServerURL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]