diff options
-rw-r--r-- | debian/changelog | 372 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 34 | ||||
-rw-r--r-- | debian/copyright | 37 | ||||
-rwxr-xr-x | debian/rules | 19 | ||||
-rw-r--r-- | debian/watch | 2 | ||||
-rw-r--r-- | src/settings-manager.vala | 2 | ||||
-rw-r--r-- | vapi/Indicate-0.2.vapi | 218 |
8 files changed, 684 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0572e06 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,372 @@ +indicator-sound (0.5.4-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release. + - unity-panel-service crashed with SIGSEGV in cairo_translate (LP: #683184) + - Add MPRIS Playlist support (LP: #692644) + - only first word of application name is shown (LP: #695385) + - The players list should be customizable (LP: #685725) + - gio-unix-2.0 checks (LP: #694828) + - Desktop file loading should not manually use full path (LP: #693824) + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 11 Jan 2011 14:38:36 -0600 + +indicator-sound (0.5.3-0ubuntu1) natty; urgency=low + + * New upstream release. + - Libindicate removed from registration process (LP: #691189) + - Vala code now using Gdbus exclusively for mpris interaction + - Fixed memory leak with album art resizing (LP: #689686) + - Gconf removed and Gsettings schema added (LP: #656405) + - registration process now uses gsettings + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 16 Dec 2010 15:03:15 -0500 + +indicator-sound (0.5.2-0ubuntu2) natty; urgency=low + + * debian/control + - Bump build depends for libdbusmenu-* to >= 0.3.90 + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 09 Dec 2010 11:44:02 -0500 + +indicator-sound (0.5.2-0ubuntu1) natty; urgency=low + + * New upstream release. + - updated to accommodate vala 0.10 to vala 0.12 api changes + - grey scale icon for default music player + - button and key handling improvements + * debian/control + - Changed build depends from valac-0.10 to valac, it builds now with + the 0.12 series + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 18 Nov 2010 11:13:32 -0500 + +indicator-sound (0.5.1-0ubuntu1) natty; urgency=low + + * New upstream release. + - Includes a lot of Design updates collected at UDS. + * album art border, now rectangular with a simple top and bottom 1 pixel + border. top dark and bottom light. + * Empty album art image now has darker background rather than same + colour as menu background + * Application icon now uses application image as opposed to generic + image used in maverick + * Banshee is now the default player. + * spacing between metadata and transport widget has been resolved plus + the spacing between the transport and the separator below it. + * debian/control + - Bump standards version to 3.9.1 + - Changed build depends to valac-0.10, until it is ported to valac-0.12 + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 12 Nov 2010 10:14:49 -0500 + +indicator-sound (0.5.0.1-0ubuntu1) maverick-proposed; urgency=low + + * New upstream release. + - Fixed a regression, which would show the metadata widget when the + player has no current track (LP: #674016) + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 12 Nov 2010 09:40:47 -0500 + +indicator-sound (0.5.0-0ubuntu1) maverick-proposed; urgency=low + + * New upstream release. + - Buttons' hover image stays after dragging (LP: #643395) + - Sound indicator works incorrect with playing status (LP: #656947) + - sound applet volume slider has no effect if pulseaudio is + restarted (LP: #662296) + - Default music player should be present in the menu from a clean + install (LP: #664743) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 04 Nov 2010 17:03:08 -0400 + +indicator-sound (0.4.9-0ubuntu1) maverick-proposed; urgency=low + + * New upstream release. + - fixes tranlation mpris name regression (LP: #654140) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 14 Oct 2010 10:40:13 -0400 + +indicator-sound (0.4.8-0ubuntu1) maverick-proposed; urgency=low + + * New upstream release. + - indicator-sound-service eating CPU on second user login (LP: #581173) + - Right border of transport control is different colour while using + Ambiance (LP: #632774) + - Incorrect ellipsing (LP: #637580) + - always show unmuted at startup (LP: #648238) + - click or enter on metadata widget does not copy contents to + clipboard (LP: #651246) + - Sound menu has two Rhythmbox elements when using + translations (LP: #654140) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 07 Oct 2010 10:08:19 -0400 + +indicator-sound (0.4.7-0ubuntu2) maverick; urgency=low + + * Rebuild for libindicator ABI change (LP: #637692) + * debian/control: depends on latest libindicator-dev + + -- Didier Roche <didrocks@ubuntu.com> Wed, 22 Sep 2010 18:40:25 +0200 + +indicator-sound (0.4.7-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Media Buttons should trigger action only on button release (LP: #624610) + + -- Ken VanDine <ken.vandine@canonical.com> Wed, 15 Sep 2010 18:02:13 -0400 + +indicator-sound (0.4.6-0ubuntu1) maverick; urgency=low + + * New upstream release. + - indicator crashes in the event of the service crashing (LP: #638891) + - metadata widget should remain hidden if there is no track + data (LP: #637031) + + -- Ken VanDine <ken.vandine@canonical.com> Wed, 15 Sep 2010 08:47:49 -0400 + +indicator-sound (0.4.5-0ubuntu1) maverick; urgency=low + + * New upstream release. + - service crashes on last fm playback with rb (LP: #633654) + - sound_icon for indicator-sound missing for ubuntu-light (LP: #628896) + - indicator-sound-service crashed with signal 5 in dbusmenu_menuitem_handle_event() (LP: #633897) + - mpris2 playback status behaving as if it were static (LP: #631893) + + -- Ken VanDine <ken.vandine@canonical.com> Tue, 14 Sep 2010 15:13:50 -0400 + +indicator-sound (0.4.4-0ubuntu1) maverick; urgency=low + + * New upstream release, fix crash in gtk_range_get_value() (lp: #615277) + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 10 Sep 2010 17:49:49 +0200 + +indicator-sound (0.4.3-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 08 Sep 2010 17:53:33 +0200 + +indicator-sound (0.4.2-0ubuntu1) maverick; urgency=low + + * New upstream release fixing those issues + - Media Buttons should trigger action only on button release (lp: #624610) + - Mouse wheel no longer works to change volume (lp: #620858) + - Crashes if Rhythmbox is playing from Last.FM (lp: #627505) + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 08 Sep 2010 12:32:24 +0200 + +indicator-sound (0.4.1-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 26 Aug 2010 11:38:07 +0200 + +indicator-sound (0.4.0-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 18 Aug 2010 15:51:03 +0200 + +indicator-sound (0.3.9-0ubuntu2) maverick; urgency=low + + * Backport upstream commit to fix the indicator crashing when rhythmbox starts + (lp: #612299) + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 02 Aug 2010 12:08:57 +0200 + +indicator-sound (0.3.9-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Scrub bar should now work properly. + - Spacing between all UI widgets should be fixed. + - Playlist menuitem in place (for now this is just a mock up item, will + complete once there is a client with which I can test against) + - Transport bar has been visually tweaked. + * debian/control + - build depend on libido-0.1-dev (>= 0.1.11) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 29 Jul 2010 11:26:41 -0400 + +indicator-sound (0.3.8-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/control: + - update ido requirement + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 22 Jul 2010 21:12:10 +0200 + +indicator-sound (0.3.6-0ubuntu1) maverick; urgency=low + + * New upstream release. + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 12 Jul 2010 17:45:06 +0200 + +indicator-sound (0.3.5-0ubuntu1) maverick; urgency=low + + * New upstream release: + -New transport widget integrated + -New title widget integrated which allows the user + to launch familiar app directly from the menu + - UI tidied + - Each player that registers with the menu will be stored in the + cache file allowing the menu to show the application even if it has + not been launched. + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 08 Jul 2010 19:32:29 +0200 + +indicator-sound (0.3.4-0ubuntu1) maverick; urgency=low + + * New upstream version: + - Album art now positioned correctly + - Track title, artist name and album name now the correct size, + weight and position + - Text truncated with an ellipsis if it is over the an estimated acceptable + width (no guidance given by design). + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 28 Jun 2010 17:20:03 +0200 + +indicator-sound (0.3.3-0ubuntu1) maverick; urgency=low + + * New upstream release. + - Fixes menu flicker when playing a song with artwork + displayed (LP: #598438) + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 25 Jun 2010 11:19:15 -0400 + +indicator-sound (0.3.2-0ubuntu1) maverick; urgency=low + + * New upstream release. + - MPRIS transport status updates reflecting in UI + If externally a registered player transport is changed (play/stop) + the menu should reflect that + - The first time a player registers its desktop file path should be + stored ~.cache/indicators/sound/familiar-players-db.keyfile (provided + the application indicator has a desktop file set. + - Album art dynamically updated + - Album title dynamically updated + - Track title dynamically updated + - Artist name dynamically updated + - Play/pause transport control should be working from the menu + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 24 Jun 2010 13:55:01 -0400 + +indicator-sound (0.3.1-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/control + - bumped build-dep version of libdbusmenu-glib-dev to (>= 0.3.1) + - Added build-dep for libindicate-dev (>= 0.4.1) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 17 Jun 2010 16:50:31 -0400 + +indicator-sound (0.2.3-0ubuntu1) lucid-proposed; urgency=low + + * New upstream version: + - "Changing left/right balance in sound-preferences changes the output + volume slider when indicator-applet is running" (lp: #532095) + - update the mute animation on theme changes (lp: #568586) + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 29 Apr 2010 11:53:37 +0200 + +indicator-sound (0.2.2-0ubuntu1) lucid; urgency=low + + * New upstream version + - Animation for mute-blocking state greatly improved + - Handles sink removal far better + - improves scrolling action icon on panel + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 31 Mar 2010 18:12:47 +0200 + +indicator-sound (0.2.2-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release. + + -- Sebastien Bacher <seb128@ubuntu.com> Wed, 31 Mar 2010 17:49:12 +0200 + +indicator-sound (0.2.1-0ubuntu1) lucid; urgency=low + + * New upstream release. + - can't change audio using mouse wheel (LP: #521046) + + -- Ken VanDine <ken.vandine@canonical.com> Thu, 18 Mar 2010 15:07:24 -0400 + +indicator-sound (0.1.3.1-0ubuntu2) lucid; urgency=low + + * Backport upstream changes to fix those issues: + - "Wrong i18n for menu entries", thank Luca Ferretti (lp: #538704) + - "display a mute icon until volume is changed since update" (lp: #537977) + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 15 Mar 2010 15:51:35 +0100 + +indicator-sound (0.1.3.1-0ubuntu1) lucid; urgency=low + + * New upstream version: + - clear looks seg fault fix (lp: #537891) + - slider resizing properly (lp: #533208) + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 12 Mar 2010 20:29:25 +0100 + +indicator-sound (0.1.3-0ubuntu1) lucid; urgency=low + + * New upstream version: + - icon sizing fixed. + - correct icon names loaded with fallback mechanism + - no sink handling improved - now handles going from no sink to one sink + back to no sink properly + - Mute blocking state implemented with animation on title image. + - smoother sliding due new signals emitted from the 0.1.4 of ido + * debian/control: + - updated libindicator requirement + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 11 Mar 2010 18:53:58 +0100 + +indicator-sound (0.1.2-0ubuntu1) lucid; urgency=low + + * New upstream version: + - Stability of the service should now be much improved. The backend sound + service should now be able to handle Pulseaudio not being up or flapping. + (lp: #529324) + - Arrow keys should be working properly allowing users to move between + indicators. (lp: #525733) + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 04 Mar 2010 13:32:10 +0100 + +indicator-sound (0.1.1-0ubuntu2) lucid; urgency=low + + * Backporting trunk commit to fix keyboard controls (lp: #521088) + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 18 Feb 2010 19:13:03 +0100 + +indicator-sound (0.1.1-0ubuntu1) lucid; urgency=low + + * New upstream version + - resolve the UI keyboard controls which were lacking (lp: #521088) + - the volume control should now be far smoother + - included is the ability to dynamically swap output devices + using gnome volume control + - use of new icons from the new humanity theme. + - update volume slider in the right direction on mouse scroll (lp: #521090) + * debian/control: + - updated ido requirement + + -- Sebastien Bacher <seb128@ubuntu.com> Thu, 18 Feb 2010 17:46:11 +0100 + +indicator-sound (0.1.0-0ubuntu2) lucid; urgency=low + + * Backport trunk change to fix audiosink detection and volume controls + not working for some users (lp: #521286, #521930) + + -- Sebastien Bacher <seb128@ubuntu.com> Mon, 15 Feb 2010 16:44:01 +0100 + +indicator-sound (0.1.0-0ubuntu1) lucid; urgency=low + + * debian/control: + - depends on pulseaudio + - don't set lib section, the applet is not a library + * debian/rules: + - build using --as-needed to avoid unnecessary depends + + [ Ken VanDine ] + * Initial release + + -- Sebastien Bacher <seb128@ubuntu.com> Fri, 12 Feb 2010 11:13:22 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dab145b --- /dev/null +++ b/debian/control @@ -0,0 +1,34 @@ +Source: indicator-sound +Section: sound +Priority: extra +Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com> +XSBC-Original-Maintainer: Conor Curran <conor.curran@canonical.com> +Build-Depends: debhelper (>= 7), + cdbs (>= 0.4.41), + autotools-dev, + libglib2.0-dev (>= 2.22.3), + libgtk2.0-dev (>= 2.12.0), + libdbus-glib-1-dev, + libdbusmenu-glib-dev (>= 0.3.90), + libdbusmenu-gtk-dev (>= 0.3.90) , + libindicator-dev (>= 0.3.14), + libpulse-dev (>= 0.9.18), + libpulse-mainloop-glib0 (>= 0.9.18), + libido-0.1-dev (>= 0.1.11), + libgconf2-dev, + libgee-dev, + libindicate-dev (>= 0.4.1), + valac +Standards-Version: 3.9.1 +Homepage: https://launchpad.net/indicator-sound + +Package: indicator-sound +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends}, + pulseaudio +Description: A system sound indicator. + A system sound indicator which provides easy control of the PulseAudio sound + daemon. + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..09ddeab --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by: + + Conor Curran <conor.curran@canonical.com> on Fri, 22 Jan 2010 11:36:32 +0000 + +It was downloaded from: + + https://launchpad.net/indicator-sound + +Upstream Author(s): + + Conor Curran <conor.curran@canonical.com> + +Copyright: + + Copyright (C) 2010 Canonical Ltd + +License: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3 of the License. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + +The Debian packaging is: + + Copyright (C) 2010 Conor Curran <conor.curran@canonical.com> + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..0bae2ff --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/gnome.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# List any files which are not installed +include /usr/share/cdbs/1/rules/utils.mk +common-binary-post-install-arch:: list-missing + +LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed + +DEB_DH_MAKESHLIBS_ARGS = -Xusr/lib/indicators + +binary-install/indicator-sound:: + # remove .a/.la clutter + rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.a + rm -f debian/$(cdbs_curpkg)/usr/lib/indicators/*/*.la + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..079f994 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://launchpad.net/indicator-sound/+download .*/indicator-sound-([0-9.]+)\.tar\.gz diff --git a/src/settings-manager.vala b/src/settings-manager.vala index 57b4487..90219c3 100644 --- a/src/settings-manager.vala +++ b/src/settings-manager.vala @@ -68,4 +68,4 @@ public class SettingsManager : GLib.Object { this.blacklist_updates(this.settings.get_strv ("blacklisted-media-players")); } -}
\ No newline at end of file +} diff --git a/vapi/Indicate-0.2.vapi b/vapi/Indicate-0.2.vapi new file mode 100644 index 0000000..1381037 --- /dev/null +++ b/vapi/Indicate-0.2.vapi @@ -0,0 +1,218 @@ +/* Indicate-0.2.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Indicate", lower_case_cprefix = "indicate_")] +namespace Indicate { + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public class Indicator : GLib.Object { + public weak GLib.Object parent; + [CCode (has_construct_function = false)] + public Indicator (); + public bool get_displayed (); + public uint get_id (); + public virtual GLib.Value get_property (string key); + public GLib.Value get_property_value (string key); + public Indicate.Server get_server (); + public bool is_visible (); + public string[] list_properties (); + public void set_displayed (bool displayed); + public virtual void set_property (string key, GLib.Value data); + public void set_property_bool (string key, bool value); + public void set_property_int (string key, int value); + public void set_property_time (string key, GLib.TimeVal time); + public void set_property_value (string key, GLib.Value value); + public void set_server (Indicate.Server server); + [CCode (has_construct_function = false)] + public Indicator.with_server (Indicate.Server server); + public signal void displayed (bool object); + [HasEmitter] + public signal void hide (); + public signal void modified (string object); + [HasEmitter] + public signal void show (); + [HasEmitter] + public signal void user_display (uint object); + } + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public class Listener : GLib.Object { + public weak GLib.Object parent; + [CCode (has_construct_function = false)] + public Listener (); + public void display (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, uint timestamp); + public void displayed (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, bool displayed); + public void get_property (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, [CCode (delegate_target_pos = 0)] Indicate.listener_get_property_cb callback); + public void get_property_bool (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, [CCode (delegate_target_pos = 0)] Indicate.listener_get_property_bool_cb callback); + public void get_property_int (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, [CCode (delegate_target_pos = 0)] Indicate.listener_get_property_int_cb callback); + public void get_property_time (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, [CCode (delegate_target_pos = 0)] Indicate.listener_get_property_time_cb callback); + public void get_property_value (Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, [CCode (delegate_target_pos = 0)] Indicate.listener_get_property_value_cb callback); + public static GLib.Type indicator_get_gtype (); + public static Indicate.Listener ref_default (); + public bool server_check_interest (Indicate.ListenerServer server, Indicate.Interests interest); + public void server_get_count (Indicate.ListenerServer server, [CCode (delegate_target_pos = 0)] Indicate.listener_get_server_uint_property_cb callback); + public void server_get_desktop (Indicate.ListenerServer server, [CCode (delegate_target_pos = 0)] Indicate.listener_get_server_property_cb callback, void* data); + public static GLib.Type server_get_gtype (); + public void server_get_menu (Indicate.ListenerServer server, [CCode (delegate_target_pos = 0)] Indicate.listener_get_server_property_cb callback); + public static void server_get_type (Indicate.Listener listener, Indicate.ListenerServer server, [CCode (delegate_target_pos = 0)] Indicate.listener_get_server_property_cb callback); + public void server_remove_interest (Indicate.ListenerServer server, Indicate.Interests interest); + public void server_show_interest (Indicate.ListenerServer server, Indicate.Interests interest); + public void set_default_max_indicators (int max); + public void set_server_max_indicators (Indicate.ListenerServer server, int max); + public signal void indicator_added (Indicate.ListenerServer object, Indicate.ListenerIndicator p0); + public signal void indicator_modified (Indicate.ListenerServer object, Indicate.ListenerIndicator p0, string p1); + public signal void indicator_removed (Indicate.ListenerServer object, Indicate.ListenerIndicator p0); + public signal void indicator_servers_report (); + public signal void server_added (Indicate.ListenerServer object, string p0); + public signal void server_count_changed (Indicate.ListenerServer object, uint p0); + public signal void server_removed (Indicate.ListenerServer object, string p0); + } + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public class Server : GLib.Object { + public weak GLib.Object parent; + public void add_indicator (Indicate.Indicator indicator); + public virtual bool check_interest (Indicate.Interests interest); + public virtual bool get_indicator_count (out uint count) throws GLib.Error; + public virtual bool get_indicator_property (uint id, owned string property, GLib.Value value) throws GLib.Error; + public int get_max_indicators (); + public virtual uint get_next_id (); + public void hide (); + public virtual void indicator_added (uint id); + public virtual bool indicator_displayed (owned string sender, uint id, bool displayed) throws GLib.Error; + public virtual void indicator_removed (uint id); + public virtual int max_indicators_get (); + public virtual bool max_indicators_set (owned string sender, int max); + public static Indicate.Server ref_default (); + public void remove_indicator (Indicate.Indicator indicator); + public virtual bool remove_interest (owned string sender, Indicate.Interests interest); + public void set_count (uint count); + public static void set_dbus_object (string obj); + public void set_default (); + public void set_desktop_file (string path); + public void set_menu (Dbusmenu.Server menu); + public void set_type (string type); + public void show (); + public virtual bool show_indicator_to_user (uint id, uint timestamp) throws GLib.Error; + public virtual bool show_interest (owned string sender, Indicate.Interests interest); + public uint count { get; set; } + public string desktop { get; set; } + public string type { get; set; } + public signal void indicator_delete (uint object); + public signal void indicator_modified (uint object, string p0); + public signal void indicator_new (uint object); + public signal void interest_added (uint object); + public signal void interest_removed (uint object); + public signal void max_indicators_changed (int object); + public signal void server_count_changed (uint object); + public signal void server_display (uint object); + public signal void server_hide (string object); + public signal void server_show (string object); + } + [CCode (type_id = "INDICATE_TYPE_LISTENER_INDICATOR", cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public struct ListenerIndicator { + public uint get_id (); + } + [CCode (type_id = "INDICATE_TYPE_LISTENER_SERVER", cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public struct ListenerServer { + public unowned string get_dbusname (); + } + [CCode (cprefix = "INDICATE_INTEREST_", cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public enum Interests { + NONE, + SERVER_DISPLAY, + SERVER_SIGNAL, + INDICATOR_DISPLAY, + INDICATOR_SIGNAL, + INDICATOR_COUNT, + LAST + } + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate string[] indicator_list_properties_slot_t (Indicate.Indicator indicator); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_property_bool_cb (Indicate.Listener listener, Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, bool propertydata, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_property_cb (Indicate.Listener listener, Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, string propertydata, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_property_int_cb (Indicate.Listener listener, Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, int propertydata, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_property_time_cb (Indicate.Listener listener, Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, GLib.TimeVal propertydata, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_property_value_cb (Indicate.Listener listener, Indicate.ListenerServer server, Indicate.ListenerIndicator indicator, owned string property, GLib.Value propertydata, void* data); + [CCode (cname ="indicate_listener_get_server_property_cb", cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_server_property_cb (Indicate.Listener listener, Indicate.ListenerServer server, owned string value, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate void listener_get_server_uint_property_cb (Indicate.Listener listener, Indicate.ListenerServer server, uint value, void* data); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate bool server_get_indicator_list_slot_t (Indicate.Server server, out unowned Indicate.Indicator[] indicators); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate bool server_get_indicator_properties_slot_t (Indicate.Server server, uint id, out string[] properties); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h", has_target = false)] + public delegate bool server_get_indicator_property_group_slot_t (Indicate.Server server, uint id, string[] properties, out string[] value); + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int INDICATOR_H_INCLUDED__; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int INDICATOR_MESSAGES_H_INCLUDED__; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_PROP_ATTENTION; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_PROP_COUNT; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_PROP_ICON; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_PROP_NAME; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_PROP_TIME; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_MESSAGES_SERVER_TYPE; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_SIGNAL_DISPLAY; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_SIGNAL_DISPLAYED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_SIGNAL_HIDE; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_SIGNAL_MODIFIED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_SIGNAL_SHOW; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_VALUE_FALSE; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string INDICATOR_VALUE_TRUE; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int INTERESTS_H_INCLUDED__; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int LISTENER_H_INCLUDED__; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_INDICATOR_ADDED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_INDICATOR_MODIFIED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_INDICATOR_REMOVED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_SERVER_ADDED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_SERVER_COUNT_CHANGED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string LISTENER_SIGNAL_SERVER_REMOVED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int SERVER_H_INCLUDED__; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const int SERVER_INDICATOR_NULL; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_INDICATOR_ADDED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_INDICATOR_MODIFIED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_INDICATOR_REMOVED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_INTEREST_ADDED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_INTEREST_REMOVED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_MAX_INDICATORS_CHANGED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_SERVER_COUNT_CHANGED; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_SERVER_DISPLAY; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_SERVER_HIDE; + [CCode (cheader_filename = "libindicate/./indicator-messages.h,libindicate/./indicator.h,libindicate/./interests.h,libindicate/./listener.h,libindicate/./server.h")] + public const string SERVER_SIGNAL_SERVER_SHOW; +} |