[gnome-calculator] Preferences: fix mixed indentation style in src/math-preferences.vala



commit f503411125bd4be1e0004887285781716a99d5f1
Author: Antonio Ospite <ao2 ao2 it>
Date:   Tue Oct 11 10:34:01 2016 +0200

    Preferences: fix mixed indentation style in src/math-preferences.vala
    
    In commit ac8263b1226f (Set preferences dialog fixed size (bgo#746599))
    some lines where indented with TABs, unlike the rest of the file which
    uses spaces.
    
    Use only spaces for indentation.

 src/math-preferences.vala |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/math-preferences.vala b/src/math-preferences.vala
index 33b4f1c..618b45e 100644
--- a/src/math-preferences.vala
+++ b/src/math-preferences.vala
@@ -86,10 +86,10 @@ public class MathPreferencesDialog : Gtk.Dialog
         decimal_places_spin = new Gtk.SpinButton (decimal_places_adjustment, 0.0, 0);
 
         label = new Gtk.Label.with_mnemonic (/* Preferences dialog: label for show trailing zeroes check 
button */
-                                               _("Number of _decimals"));
+                                             _("Number of _decimals"));
         label.mnemonic_widget = decimal_places_spin;
         label.show ();
-       label.xalign = 0;
+        label.xalign = 0;
         grid.attach (label, 0, 2, 1, 1);
 
         decimal_places_spin.show ();
@@ -99,30 +99,30 @@ public class MathPreferencesDialog : Gtk.Dialog
 
         label = new Gtk.Label.with_mnemonic (/* Preferences dialog: label for show trailing zeroes switch */
                                                                    _("Trailing _zeroes"));
-       label.xalign = 0;
+        label.xalign = 0;
         label.show ();
-       grid.attach (label, 0, 3, 1, 1);
-       label.mnemonic_widget = trailing_zeroes_switch;
-        
-       trailing_zeroes_switch = new Gtk.Switch ();
+        grid.attach (label, 0, 3, 1, 1);
+        label.mnemonic_widget = trailing_zeroes_switch;
+
+        trailing_zeroes_switch = new Gtk.Switch ();
         trailing_zeroes_switch.show ();
         trailing_zeroes_switch.state_set.connect ((state) => { equation.show_trailing_zeroes = state; });
         trailing_zeroes_switch.halign = Gtk.Align.END;
-       grid.attach (trailing_zeroes_switch, 1, 3, 1, 1);
+        grid.attach (trailing_zeroes_switch, 1, 3, 1, 1);
 
         label = new Gtk.Label.with_mnemonic (/* Preferences dialog: label for show show thousands separator 
switch */
                                                                        _("_Thousands separators"));
-       label.xalign = 0;
+        label.xalign = 0;
         label.show ();
-       label.mnemonic_widget = thousands_separator_switch;
-       grid.attach (label, 0, 4, 1, 1);
-        
-       thousands_separator_switch = new Gtk.Switch ();
+        label.mnemonic_widget = thousands_separator_switch;
+        grid.attach (label, 0, 4, 1, 1);
+
+        thousands_separator_switch = new Gtk.Switch ();
         thousands_separator_switch.show ();
         thousands_separator_switch.state_set.connect ((state) => { equation.show_thousands_separators = 
state; });
         thousands_separator_switch.halign = Gtk.Align.END;
 
-       grid.attach (thousands_separator_switch, 1, 4, 1, 1);
+        grid.attach (thousands_separator_switch, 1, 4, 1, 1);
 
         label = new Gtk.Label.with_mnemonic (/* Preferences dialog: Label for angle unit combo box */
                                              _("_Angle units:"));


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