[chronojump] font Helvetica is the default
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] font Helvetica is the default
- Date: Fri, 2 Oct 2020 13:01:23 +0000 (UTC)
commit 6e8beafbe9a6cd2eb1d6be55c0e4748e54aa1508
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Oct 2 15:01:04 2020 +0200
font Helvetica is the default
glade/preferences_win.glade | 22 +++++++++++-----------
src/sqlite/main.cs | 2 +-
src/sqlite/preferences.cs | 2 +-
3 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index 275e4d68..eaf2f7b9 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -485,35 +485,35 @@
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <widget class="GtkRadioButton" id="radio_font_courier">
- <property name="label">Courier</property>
+ <widget class="GtkRadioButton" id="radio_font_helvetica">
+ <property name="label">Helvetica</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
- <signal name="toggled" handler="on_radio_font_courier_toggled"
swapped="no"/>
+ <property name="group">radio_font_courier</property>
+ <signal name="toggled" handler="on_radio_font_helvetica_toggled"
swapped="no"/>
</widget>
<packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <widget class="GtkRadioButton" id="radio_font_helvetica">
- <property name="label">Helvetica</property>
+ <widget class="GtkRadioButton" id="radio_font_courier">
+ <property name="label">Courier</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
- <property name="group">radio_font_courier</property>
- <signal name="toggled" handler="on_radio_font_helvetica_toggled"
swapped="no"/>
+ <signal name="toggled" handler="on_radio_font_courier_toggled"
swapped="no"/>
</widget>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
diff --git a/src/sqlite/main.cs b/src/sqlite/main.cs
index c7ab64a0..82dd0e3b 100644
--- a/src/sqlite/main.cs
+++ b/src/sqlite/main.cs
@@ -2767,7 +2767,7 @@ class Sqlite
{
LogB.SQL("Inserted into preferences: fontsOnGraphs");
- SqlitePreferences.Insert (SqlitePreferences.FontsOnGraphs,
Preferences.FontTypes.Courier.ToString());
+ SqlitePreferences.Insert (SqlitePreferences.FontsOnGraphs,
Preferences.FontTypes.Helvetica.ToString());
currentVersion = updateVersion("2.00");
}
diff --git a/src/sqlite/preferences.cs b/src/sqlite/preferences.cs
index 29038bdb..af886fe1 100644
--- a/src/sqlite/preferences.cs
+++ b/src/sqlite/preferences.cs
@@ -135,7 +135,7 @@ class SqlitePreferences : Sqlite
Insert (LogoAnimatedShow, "True", dbcmdTr);
Insert (ColorBackground, "#0e1e46", dbcmdTr);
Insert (ColorBackgroundOsColor, "False", dbcmdTr);
- Insert (FontsOnGraphs, Preferences.FontTypes.Courier.ToString(), dbcmdTr);
+ Insert (FontsOnGraphs, Preferences.FontTypes.Helvetica.ToString(), dbcmdTr);
Insert (UnitsStr, Preferences.UnitsEnum.METRIC.ToString(), dbcmdTr);
Insert (EncoderCaptureInfinite, "False", dbcmdTr);
Insert ("encoderCaptureShowOnlyBars", "True", dbcmdTr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]