Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Schneegans committed Jul 26, 2015
1 parent 6f2cf07 commit 16033d0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/gui/indicator.vala
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ public class Indicator : GLib.Object {

#if HAVE_APPINDICATOR

string path = "";
try {
path = GLib.Path.get_dirname(GLib.FileUtils.read_link("/proc/self/exe"))+"/resources";
} catch (GLib.FileError e) {
warning("Failed to get path of executable!");
}

if (gnome_shell) {
string path = "";
try {
path = GLib.Path.get_dirname(GLib.FileUtils.read_link("/proc/self/exe"))+"/resources";
} catch (GLib.FileError e) {
warning("Failed to get path of executable!");
}

if (GLib.File.new_for_path(path).query_exists()) {
this.indicator = new AppIndicator.Indicator("Gnome-Pie", path + "/" + icon + ".svg",
Expand Down

0 comments on commit 16033d0

Please sign in to comment.