Skip to content

Commit

Permalink
Correctly show desktop menu after loading
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed May 3, 2015
1 parent 8be9796 commit 015349d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/menubar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ namespace Appmenu
active_handler = matcher.active_window_changed.connect(on_active_window_changed);
open_handler = matcher.view_opened.connect(on_window_opened);
close_handler = matcher.view_closed.connect(on_window_closed);
on_active_window_changed(matcher.get_active_window(),null);
foreach (var window in matcher.get_windows())
on_window_opened(window);
foreach (var app in matcher.get_running_applications())
on_window_opened(app);
on_active_window_changed(matcher.get_active_window(),null);
}
~AppMenuBar()
{
Expand Down

0 comments on commit 015349d

Please sign in to comment.