diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-09 20:58:24 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-10 04:58:57 +0000 |
commit | def21c26e7c517b3abd8db299b8601742bccbafd (patch) | |
tree | 1ab46a157df1b28f1545b89d05c5b00a1466ec0a /bindings/mono/examples | |
parent | bf7bc280421b10b395e8620181568ea389b8a396 (diff) | |
download | libayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.tar.gz libayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.tar.bz2 libayatana-appindicator-def21c26e7c517b3abd8db299b8601742bccbafd.zip |
Fork from Ubuntu's libappindicator project.
Diffstat (limited to 'bindings/mono/examples')
-rw-r--r-- | bindings/mono/examples/AyatanaIndicatorExample.cs (renamed from bindings/mono/examples/IndicatorExample.cs) | 6 | ||||
-rw-r--r-- | bindings/mono/examples/Makefile.am | 7 | ||||
-rwxr-xr-x | bindings/mono/examples/ayatana-indicator-example.in (renamed from bindings/mono/examples/indicator-example.in) | 2 |
3 files changed, 8 insertions, 7 deletions
diff --git a/bindings/mono/examples/IndicatorExample.cs b/bindings/mono/examples/AyatanaIndicatorExample.cs index 7413c54..35f3c79 100644 --- a/bindings/mono/examples/IndicatorExample.cs +++ b/bindings/mono/examples/AyatanaIndicatorExample.cs @@ -18,7 +18,7 @@ */ using Gtk; -using AppIndicator; +using AyatanaAppIndicator; public class IndicatorExample { @@ -36,9 +36,9 @@ public class IndicatorExample ApplicationIndicator indicator = new ApplicationIndicator ("Example", "applications-microblogging-panel", - Category.ApplicationStatus); + AppIndicatorCategory.ApplicationStatus); - indicator.Status = Status.Attention; + indicator.AppIndicatorStatus = AppIndicatorStatus.Attention; Menu menu = new Menu (); var foo = new MenuItem ("Foo"); diff --git a/bindings/mono/examples/Makefile.am b/bindings/mono/examples/Makefile.am index b929492..de93b20 100644 --- a/bindings/mono/examples/Makefile.am +++ b/bindings/mono/examples/Makefile.am @@ -1,10 +1,11 @@ -ASSEMBLY = IndicatorExample.exe -CSFILES = IndicatorExample.cs +ASSEMBLY = AyatanaIndicatorExample.exe +CSFILES = AyatanaIndicatorExample.cs CLEANFILES = $(ASSEMBLY) +DISTCLEANFILES = Makefile.in EXTRA_DIST = $(CSFILES) -references = $(GTK_SHARP_LIBS) -r:$(top_builddir)/bindings/mono/appindicator-sharp.dll +references = $(GTK_SHARP_LIBS) -r:$(top_builddir)/bindings/mono/ayatana-appindicator-sharp.dll $(ASSEMBLY): $(CSFILES) Makefile.am $(CSC) $(CSFLAGS) -out:$(ASSEMBLY) -target:exe $(references) $(srcdir)/$(CSFILES) diff --git a/bindings/mono/examples/indicator-example.in b/bindings/mono/examples/ayatana-indicator-example.in index 3eca155..07d1473 100755 --- a/bindings/mono/examples/indicator-example.in +++ b/bindings/mono/examples/ayatana-indicator-example.in @@ -1,2 +1,2 @@ #!/bin/sh -MONO_PATH=@top_builddir@/bindings/mono @top_builddir@/bindings/mono/examples/IndicatorExample.exe +MONO_PATH=@top_builddir@/bindings/mono @top_builddir@/bindings/mono/examples/AyatanaIndicatorExample.exe |