[chronojump/FS-TFT-Menu] Hidden from gui/preferences discover methods for all modes/devices
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/FS-TFT-Menu] Hidden from gui/preferences discover methods for all modes/devices
- Date: Wed, 11 May 2022 08:25:11 +0000 (UTC)
commit 7323f89491fc49a3a34c7fd12e0b439a9ebd1372
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed May 4 12:21:22 2022 +0200
Hidden from gui/preferences discover methods for all modes/devices
glade/preferences_win.glade | 3 +--
src/gui/preferences.cs | 2 ++
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index fd9d90337..fa70c36e3 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -6952,6 +6952,7 @@ version:</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="spacing">8</property>
+ <property name="layout_style">spread</property>
<child>
<widget class="GtkButton" id="button1">
<property name="label" translatable="yes">SQL short
test</property>
@@ -6983,7 +6984,6 @@ version:</property>
<child>
<widget class="GtkButton" id="button_discover_devices">
<property name="label">Discover devices</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_button_discover_devices_clicked" swapped="no"/>
@@ -6997,7 +6997,6 @@ version:</property>
<child>
<widget class="GtkButton"
id="button_discover_devices_fast">
<property name="label">Discover devices (fast)</property>
- <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<signal name="clicked"
handler="on_button_discover_devices_fast_clicked" swapped="no"/>
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index 3bc087239..f559e8d03 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -1780,6 +1780,7 @@ public class PreferencesWindow
}
private void discoverDevices (bool fast)
{
+ /*
ChronoDebug cDebug = new ChronoDebug("Discover fast? " + fast.ToString());
cDebug.Start();
@@ -1799,6 +1800,7 @@ public class PreferencesWindow
new DialogMessage( Constants.MessageTypes.INFO, discoveredStr +
string.Format("\n{0} ms", cDebug.StartToEndInMs()) );
+ */
}
private void on_debug_mode_clicked (object o, EventArgs args) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]