Fix indentation
This commit is contained in:
parent
2d97b15c59
commit
bc239fc88a
@ -321,7 +321,7 @@ namespace Pamac {
|
|||||||
|
|
||||||
void on_mirrors_country_comboboxtext_changed () {
|
void on_mirrors_country_comboboxtext_changed () {
|
||||||
var new_mirrors_conf = new HashTable<string,Variant> (str_hash, str_equal);
|
var new_mirrors_conf = new HashTable<string,Variant> (str_hash, str_equal);
|
||||||
var mirror_country = mirrors_country_comboboxtext.get_active_text ();
|
var mirror_country = mirrors_country_comboboxtext.get_active_text ();
|
||||||
if(mirror_country == dgettext (null, "Worldwide"))
|
if(mirror_country == dgettext (null, "Worldwide"))
|
||||||
mirror_country = "ALL";
|
mirror_country = "ALL";
|
||||||
new_mirrors_conf.insert ("OnlyCountry", new Variant.string (mirror_country) );
|
new_mirrors_conf.insert ("OnlyCountry", new Variant.string (mirror_country) );
|
||||||
@ -341,9 +341,9 @@ namespace Pamac {
|
|||||||
void on_write_mirrors_config_finished (string choosen_country, string choosen_generation_method) {
|
void on_write_mirrors_config_finished (string choosen_country, string choosen_generation_method) {
|
||||||
int index = 0;
|
int index = 0;
|
||||||
|
|
||||||
string choosen_country_ = dgettext (null, "Worldwide");
|
string choosen_country_ = dgettext (null, "Worldwide");
|
||||||
if( choosen_country != "ALL")
|
if( choosen_country != "ALL")
|
||||||
choosen_country_ = choosen_country;
|
choosen_country_ = choosen_country;
|
||||||
|
|
||||||
mirrors_country_comboboxtext.model.foreach ((model, path, iter) => {
|
mirrors_country_comboboxtext.model.foreach ((model, path, iter) => {
|
||||||
GLib.Value country;
|
GLib.Value country;
|
||||||
|
Loading…
Reference in New Issue
Block a user