Commit c864dece authored by Guilherme Becker Agge's avatar Guilherme Becker Agge
Browse files

SCRUM#630: Fix Dbus call to Inep-Bar

No related merge requests found
Pipeline #18438 passed with stages
in 28 minutes and 56 seconds
Showing with 5 additions and 4 deletions
+5 -4
......@@ -64,10 +64,6 @@ function verify_inep() {
if [ $? -eq 0 ];then
echo "$sch_inep" > "$inep_file"
if [[ "$1" == "--reconfigure" ]]; then
#notify inepbar(if it exists) that the inep was configure
gdbus call --session --dest org.gnome.Shell --object-path /br/ufpr/c3sl/inepbar --method br.ufpr.c3sl.inepbar.refresh || true
fi
return 0
else
# Check INEP is valid but not what the user expected
......@@ -243,3 +239,8 @@ if [[ -f "${F_INEP}" ]]; then
fi
give_permissions
if [[ "$1" == "--reconfigure" ]]; then
#notify inepbar (if it exists) that the inep was configured
gdbus call --session --dest org.gnome.Shell --object-path /br/ufpr/c3sl/inepbar --method br.ufpr.c3sl.inepbar.refresh || true
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment