Commit 033b73b6 authored by Guilherme Becker Agge's avatar Guilherme Becker Agge

SCRUM#608: Change the configuration script call to the new path

parent e98aee36
Pipeline #18088 failed with stages
in 5 minutes and 33 seconds
......@@ -23,12 +23,9 @@
set -e
# Enable the extension
# if it is already enable will not crash
# if it is already enabled it will not crash
gnome-shell-extension-tool -e le-inep-bar@c3sl.ufpr.br || true
if [ -z "$NO_DBUS" ];then
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.ReloadExtension 'le-inep-bar@c3sl.ufpr.br'
fi
echo "Installation finished."
echo "Installation finished. Reset your system and enable the extension for it to work."
#DEBHELPER#
exit 0
......@@ -36,7 +36,7 @@ function getSchool() {
inep = GLib.spawn_command_line_sync(getInep)[1].toString();
// Removes unnecessary spaces
inep = inep.trim();
// Gets the school name if it's configured
// Gets the school name if it's configured
if (inep!='') {
color = 'white'; // Change text color
var getZone = 'grep -w '+inep+' /etc/le-proinfodata/le.zone';
......@@ -86,7 +86,7 @@ function init() {
xInfo=global.get_pointer()[0];
// Grants the infobox is drawn inside the screen
var screen = Main.layoutManager.primaryMonitor;
if (xInfo+infoBox.width>screen.width)
if (xInfo+infoBox.width>screen.width)
xInfo -= xInfo+infoBox.width - screen.width;
infoBox.set_position(xInfo, Main.panel._rightBox.height);
infoBox.show();
......@@ -112,7 +112,7 @@ function disable() {
Main.panel._rightBox.remove_child(button);
}
// Sets up DBus interface to refresh the name after configuration
// Sets up DBus interface to refresh the name after configuration
const DBusInterface = '<node>'+
' <interface name="br.ufpr.c3sl.inepbar">'+
' <method name="refresh">'+
......
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