diff options
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 |