aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.in2
-rw-r--r--example/simple-client-vala.c5
-rw-r--r--example/simple-client-vala.vala1
-rw-r--r--example/simple-client.c1
4 files changed, 8 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index c8972db..6cd1b9c 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -181,6 +181,8 @@ MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@
MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@
+MONO_NUNIT_CFLAGS = @MONO_NUNIT_CFLAGS@
+MONO_NUNIT_LIBS = @MONO_NUNIT_LIBS@
NM = @NM@
NMEDIT = @NMEDIT@
NUNIT_CFLAGS = @NUNIT_CFLAGS@
diff --git a/example/simple-client-vala.c b/example/simple-client-vala.c
index 08306c3..0555913 100644
--- a/example/simple-client-vala.c
+++ b/example/simple-client-vala.c
@@ -1,4 +1,4 @@
-/* simple-client-vala.c generated by valac 0.14.0, the Vala compiler
+/* simple-client-vala.c generated by valac 0.14.1, the Vala compiler
* generated from simple-client-vala.vala, do not modify */
/*
@@ -174,6 +174,7 @@ SimpleClient* simple_client_construct (GType object_type, gchar** args, int args
AppIndicator* _tmp1_;
AppIndicator* _tmp2_;
AppIndicator* _tmp3_;
+ AppIndicator* _tmp4_;
self = (SimpleClient*) g_type_create_instance (object_type);
gtk_init (&args_length1, &args);
_tmp0_ = app_indicator_new ("example-simple-client", "indicator-messages", APP_INDICATOR_CATEGORY_APPLICATION_STATUS);
@@ -185,6 +186,8 @@ SimpleClient* simple_client_construct (GType object_type, gchar** args, int args
app_indicator_set_attention_icon (_tmp2_, "indicator-messages-new");
_tmp3_ = self->priv->ci;
app_indicator_set_label (_tmp3_, "1%", "100%");
+ _tmp4_ = self->priv->ci;
+ app_indicator_set_title (_tmp4_, "Test Indicator (vala)");
self->priv->active = TRUE;
self->priv->can_haz_label = TRUE;
return self;
diff --git a/example/simple-client-vala.vala b/example/simple-client-vala.vala
index 8d661ce..1b8bad9 100644
--- a/example/simple-client-vala.vala
+++ b/example/simple-client-vala.vala
@@ -46,6 +46,7 @@ class SimpleClient {
ci.set_status(IndicatorStatus.ACTIVE);
ci.set_attention_icon("indicator-messages-new");
ci.set_label("1%", "100%");
+ ci.set_title("Test Indicator (vala)");
active = true;
can_haz_label = true;
diff --git a/example/simple-client.c b/example/simple-client.c
index dcee81b..6d67955 100644
--- a/example/simple-client.c
+++ b/example/simple-client.c
@@ -167,6 +167,7 @@ main (int argc, char ** argv)
app_indicator_set_status (ci, APP_INDICATOR_STATUS_ACTIVE);
app_indicator_set_attention_icon_full(ci, "indicator-messages-new", "System Messages Icon Highlighted");
app_indicator_set_label (ci, "1%", "100%");
+ app_indicator_set_title (ci, "Test Inidcator");
g_signal_connect (ci, "scroll-event",
G_CALLBACK (scroll_event_cb), NULL);