Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
how to install
Browse files Browse the repository at this point in the history
  • Loading branch information
Lafydev committed Feb 25, 2020
1 parent 0a30a95 commit 5209bed
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 32 deletions.
47 changes: 16 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,28 @@
# Wingpanel Ayatana-Compatibility Indicator (Community Version)
A compatibility plug-in that enables ayatana indicators on Wingpanel.
<h1>Description:</h1>
Keep compatibility with ubuntu/unity indicators on Elementary OS wingpanel.
If you want to install applications with indicators like weather forecast, redshift... this plug-in
let these indicators appear in your panel.

This is needed for third-party indicator support on Elementary OS Juno.
<p align="center"><img src="screenshot.png"/> </p>

## Dependencies
<h1>Installation</h1>
Download the last release (zip) et extract files<br/>

You'll need the following dependencies to build wingpanel-indicator-ayatana:
<h2>Depedencies</h2>

|Dependency|Version|
|:--|:--|
|gobject-introspection|*|
|libglib2.0-dev|*|
|libgranite-dev|*|
|libindicator3-dev|*|
|libwingpanel-2.0-dev|*|
|meson|0.48 or newer|
|valac|*|
You'll need the following dependencies to build :

On ElementaryOS Juno, you will need to install `meson` through `pip3 install meson`.
<pre>sudo apt-get install gobject-introspection libglib2.0-dev libgranite-dev libindicator3-dev
sudo apt-get install libwingpanel-2.0-dev valac gcc gtk+-3.0 meson </pre/>

## Building
<h2>Build with meson</h2>

Run `meson` to configure the build environment
Open a Terminal in the extracted folder, build your application with meson and install it with ninja:<br/>

```bash
meson build
```

Then run `ninja` to build

```bash
<pre>meson build --prefix=/usr
cd build
ninja
```

## Installation

To install, use `ninja install`

```bash
sudo ninja install
```
</pre>

Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion src/AyatanaIndicator.vala
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ public class AyatanaCompatibility.Indicator : Wingpanel.Indicator {
button.activate.connect (() => {
item.activate();
});

(item as Gtk.CheckMenuItem).toggled.connect (() => {
button.active = (item as Gtk.RadioMenuItem).get_active ();
});
connect_signals (item, button);
return button;
}
Expand Down

0 comments on commit 5209bed

Please sign in to comment.