diff --git a/app/application.vala b/app/application.vala index bb1e86cc..04d99ef2 100644 --- a/app/application.vala +++ b/app/application.vala @@ -235,7 +235,7 @@ namespace ValaPanel { var actions = string.joinv(" ",list_actions()); cmdl.printerr(_("%s: invalid command - %s. Doing nothing.\nValid commands: %s\n"), - GLib.Environment.get_application_name(),actions); + GLib.Environment.get_application_name(),command,actions); } } activate(); diff --git a/app/runner.vala b/app/runner.vala index f1facfd8..dfa5abae 100644 --- a/app/runner.vala +++ b/app/runner.vala @@ -109,14 +109,11 @@ namespace ValaPanel private Entry main_entry; [GtkChild (name="terminal-button")] private ToggleButton terminal_button; -//~ [GtkChild (name="main-box", internal=true)] -//~ private Box main_box; + [GtkChild (name="main-box", internal=true)] + private Box main_box; private CompletionThread? thread; private Thread thread_ref; - - private GLib.List apps_list; - private AppInfoMonitor monitor; private bool cached; private App app { @@ -135,29 +132,23 @@ namespace ValaPanel } construct { -//~ PanelCSS.apply_from_resource(this,"/org/vala-panel/app/style.css","-panel-run-dialog"); -//~ main_box.get_style_context().add_class("-panel-run-header"); + PanelCSS.apply_from_resource(this,"/org/vala-panel/app/style.css","-panel-run-dialog"); + main_box.get_style_context().add_class("-panel-run-header"); //FIXME: Implement cache cached = false; this.set_visual(this.get_screen().get_rgba_visual()); this.set_default_response(Gtk.ResponseType.OK); this.set_keep_above(true); thread = null; - monitor = AppInfoMonitor.get(); - apps_list = AppInfo.get_all(); - monitor.changed.connect(()=> - { - apps_list = AppInfo.get_all(); - }); } - private unowned DesktopAppInfo? match_app_by_exec(string exec) + private DesktopAppInfo? match_app_by_exec(string exec) { - unowned DesktopAppInfo? ret = null; + DesktopAppInfo? ret = null; string exec_path = GLib.Environment.find_program_in_path(exec); if (exec_path == null) return null; - foreach(unowned AppInfo app in apps_list) + foreach(unowned AppInfo app in AppInfo.get_all()) { var app_exec = app.get_executable(); if (app_exec == null) @@ -251,7 +242,7 @@ namespace ValaPanel [GtkCallback] private void on_entry_changed() { - unowned DesktopAppInfo? app = null; + DesktopAppInfo? app = null; if (main_entry.get_text()!=null && main_entry.get_text() != "") app = match_app_by_exec(main_entry.get_text()); if (app != null) diff --git a/debian/changelog b/debian/changelog index 303d6553..1357e472 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +vala-panel (0.3.4-1) vivid; urgency=medium + + * New upstream release. + + -- Konstantin Fri, 8 May 2015 18:10:43 +0600 + vala-panel (0.3.3-1) vivid; urgency=medium * New upstream release. diff --git a/lib/dbusmenu b/lib/dbusmenu index 0ef852c5..84fe1e93 160000 --- a/lib/dbusmenu +++ b/lib/dbusmenu @@ -1 +1 @@ -Subproject commit 0ef852c55956f3e5ec0202271d630fb57d4aabf2 +Subproject commit 84fe1e9373ed1ede22fa5ce97670e90d702ad73f