Skip to content

Commit

Permalink
Homepage: remove unuseed page_loaded (#1843)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Wootten <jeremy@elementaryos.org>
  • Loading branch information
danirabbit and Jeremy Wootten authored May 10, 2022
1 parent 7345f4f commit 2c300db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ public class AppCenter.MainWindow : Hdy.ApplicationWindow {

public static Views.InstalledView installed_view { get; private set; }

public signal void homepage_loaded ();

public MainWindow (Gtk.Application app) {
Object (application: app);

Expand Down Expand Up @@ -324,8 +322,6 @@ public class AppCenter.MainWindow : Hdy.ApplicationWindow {
stack.visible_child = installed_view;
}
});

homepage.page_loaded.connect (() => homepage_loaded ());
}

public override bool configure_event (Gdk.EventConfigure event) {
Expand Down
4 changes: 0 additions & 4 deletions src/Views/Homepage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public class AppCenter.Homepage : AbstractView {
private Gtk.ScrolledWindow scrolled_window;
private AppStream.Category current_category;

public signal void page_loaded ();

public bool viewing_package {
get {
return visible_child is Views.AppInfoView;
Expand Down Expand Up @@ -262,8 +260,6 @@ public class AppCenter.Homepage : AbstractView {
}
recently_updated_carousel.show_all ();
recently_updated_revealer.reveal_child = recently_updated_carousel.get_children ().length () > 0;

page_loaded ();
}

public override void show_package (
Expand Down

0 comments on commit 2c300db

Please sign in to comment.