[gnome-panel] status-notifier: add org.kde.StatusNotifierItem.xml
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] status-notifier: add org.kde.StatusNotifierItem.xml
- Date: Wed, 2 Nov 2016 12:31:57 +0000 (UTC)
commit 83ad8da8f5e1c500303c12d5dabec7232fd1ffb0
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Nov 2 14:28:31 2016 +0200
status-notifier: add org.kde.StatusNotifierItem.xml
applets/status-notifier/Makefile.am | 9 ++
.../status-notifier/org.kde.StatusNotifierItem.xml | 80 ++++++++++++++++++++
2 files changed, 89 insertions(+), 0 deletions(-)
---
diff --git a/applets/status-notifier/Makefile.am b/applets/status-notifier/Makefile.am
index 040dd6a..9f8c0c1 100644
--- a/applets/status-notifier/Makefile.am
+++ b/applets/status-notifier/Makefile.am
@@ -47,6 +47,12 @@ sn-host-v0-gen.c: org.kde.StatusNotifierHost.xml
--generate-c-code sn-host-v0-gen \
$(srcdir)/org.kde.StatusNotifierHost.xml
+sn-item-v0-gen.h:
+sn-item-v0-gen.c: org.kde.StatusNotifierItem.xml
+ $(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Sn \
+ --generate-c-code sn-item-v0-gen \
+ $(srcdir)/org.kde.StatusNotifierItem.xml
+
sn-watcher-v0-gen.h:
sn-watcher-v0-gen.c: org.kde.StatusNotifierWatcher.xml
$(AM_V_GEN) $(GDBUS_CODEGEN) --c-namespace Sn \
@@ -56,12 +62,15 @@ sn-watcher-v0-gen.c: org.kde.StatusNotifierWatcher.xml
BUILT_SOURCES = \
sn-host-v0-gen.c \
sn-host-v0-gen.h \
+ sn-item-v0-gen.c \
+ sn-item-v0-gen.h \
sn-watcher-v0-gen.c \
sn-watcher-v0-gen.h \
$(NULL)
EXTRA_DIST = \
org.kde.StatusNotifierHost.xml \
+ org.kde.StatusNotifierItem.xml \
org.kde.StatusNotifierWatcher.xml \
$(NULL)
diff --git a/applets/status-notifier/org.kde.StatusNotifierItem.xml
b/applets/status-notifier/org.kde.StatusNotifierItem.xml
new file mode 100644
index 0000000..609d305
--- /dev/null
+++ b/applets/status-notifier/org.kde.StatusNotifierItem.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.kde.StatusNotifierItem">
+ <annotation name="org.gtk.GDBus.C.Name" value="ItemV0Gen" />
+
+ <method name="ContextMenu">
+ <arg name="x" type="i" direction="in" />
+ <arg name="y" type="i" direction="in" />
+ </method>
+
+ <method name="Activate">
+ <arg name="x" type="i" direction="in" />
+ <arg name="y" type="i" direction="in" />
+ </method>
+
+ <method name="SecondaryActivate">
+ <arg name="x" type="i" direction="in" />
+ <arg name="y" type="i" direction="in" />
+ </method>
+
+ <method name="Scroll">
+ <arg name="delta" type="i" direction="in" />
+ <arg name="orientation" type="s" direction="in" />
+ </method>
+
+ <property name="Category" type="s" access="read" />
+
+ <property name="Id" type="s" access="read" />
+
+ <property name="Title" type="s" access="read" />
+
+ <property name="Status" type="s" access="read" />
+
+ <property name="WindowId" type="i" access="read" />
+
+ <property name="IconName" type="s" access="read"/>
+
+ <property name="IconPixmap" type="a(iiay)" access="read" />
+
+ <property name="OverlayIconName" type="s" access="read"/>
+
+ <property name="OverlayIconPixmap" type="a(iiay)" access="read" />
+
+ <property name="AttentionIconName" type="s" access="read"/>
+
+ <property name="AttentionIconPixmap" type="a(iiay)" access="read" />
+
+ <property name="AttentionMovieName" type="s" access="read" />
+
+ <property name="ToolTip" type="(sa(iiay)ss)" access="read" />
+
+ <signal name="NewTitle" />
+
+ <signal name="NewIcon" />
+
+ <signal name="NewAttentionIcon" />
+
+ <signal name="NewOverlayIcon" />
+
+ <signal name="NewToolTip" />
+
+ <signal name="NewStatus">
+ <arg name="status" type="s" />
+ </signal>
+
+ <!-- Properties and signals that is not part of specification -->
+
+ <property name="IconThemePath" type="s" access="read" />
+
+ <property name="Menu" type="o" access="read" />
+
+ <property name="ItemIsMenu" type="b" access="read" />
+
+ <signal name="NewIconThemePath">
+ <arg name="icon_theme_path" type="s" />
+ </signal>
+ </interface>
+</node>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]