mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-07-03 04:53:12 +00:00
Unbreak things
This commit is contained in:
parent
09bd3d6424
commit
2188399b5f
|
@ -105,6 +105,7 @@ public class Tootle.AccountManager : Object{
|
||||||
|
|
||||||
public void logout (){
|
public void logout (){
|
||||||
current = null;
|
current = null;
|
||||||
|
Tootle.settings.access_token = "null";
|
||||||
switched (null);
|
switched (null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,7 @@ public class Tootle.AddAccountView : Tootle.AbstractView {
|
||||||
construct {
|
construct {
|
||||||
stack = new Stack ();
|
stack = new Stack ();
|
||||||
stack.valign = Gtk.Align.CENTER;
|
stack.valign = Gtk.Align.CENTER;
|
||||||
|
stack.vexpand = true;
|
||||||
stack.transition_type = StackTransitionType.SLIDE_LEFT_RIGHT;
|
stack.transition_type = StackTransitionType.SLIDE_LEFT_RIGHT;
|
||||||
|
|
||||||
grid_instance = new GridInstance ();
|
grid_instance = new GridInstance ();
|
||||||
|
@ -104,7 +105,7 @@ public class Tootle.AddAccountView : Tootle.AbstractView {
|
||||||
stack.add_named (grid_instance, "instance");
|
stack.add_named (grid_instance, "instance");
|
||||||
stack.add_named (grid_code, "code");
|
stack.add_named (grid_code, "code");
|
||||||
|
|
||||||
add (stack);
|
view.add (stack);
|
||||||
show_all ();
|
show_all ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue