diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/debian/bzr-builder.manifest synapse-0.2.99.2+bzr666~ubuntu17.10.1/debian/bzr-builder.manifest --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/debian/bzr-builder.manifest 2018-02-05 11:31:41.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/debian/bzr-builder.manifest 2018-03-29 20:16:54.000000000 +0000 @@ -1,2 +1,2 @@ -# bzr-builder format 0.2 deb-version 0.2.99.2+bzr665 -lp:synapse-project revid:ricotz@ubuntu.com-20180204165847-ud0lcroozcm7w3cw +# bzr-builder format 0.2 deb-version 0.2.99.2+bzr666 +lp:synapse-project revid:ricotz@ubuntu.com-20180329061353-7ekshhynwgk1sgpb diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/debian/changelog synapse-0.2.99.2+bzr666~ubuntu17.10.1/debian/changelog --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/debian/changelog 2018-02-05 11:31:41.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/debian/changelog 2018-03-29 20:16:54.000000000 +0000 @@ -1,8 +1,8 @@ -synapse (0.2.99.2+bzr665~ubuntu17.10.1) artful; urgency=low +synapse (0.2.99.2+bzr666~ubuntu17.10.1) artful; urgency=low * Auto build. - -- Launchpad Package Builder Mon, 05 Feb 2018 11:31:41 +0000 + -- Launchpad Package Builder Thu, 29 Mar 2018 20:16:54 +0000 synapse (0.2.99-1) UNRELEASED; urgency=medium diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/core/dbus-service.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/core/dbus-service.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/core/dbus-service.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/core/dbus-service.vala 2018-03-29 20:16:54.000000000 +0000 @@ -26,16 +26,16 @@ public const string UNIQUE_NAME = "org.freedesktop.DBus"; public const string OBJECT_PATH = "/org/freedesktop/DBus"; - public abstract async string[] list_queued_owners (string name) throws IOError; - public abstract async string[] list_names () throws IOError; - public abstract async string[] list_activatable_names () throws IOError; - public abstract async bool name_has_owner (string name) throws IOError; + public abstract async string[] list_queued_owners (string name) throws Error; + public abstract async string[] list_names () throws Error; + public abstract async string[] list_activatable_names () throws Error; + public abstract async bool name_has_owner (string name) throws Error; public signal void name_owner_changed (string name, string old_owner, string new_owner); public abstract async uint32 start_service_by_name (string name, - uint32 flags) throws IOError; - public abstract async string get_name_owner (string name) throws IOError; + uint32 flags) throws Error; + public abstract async string get_name_owner (string name) throws Error; } public class DBusService : Object diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/banshee-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/banshee-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/banshee-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/banshee-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -26,9 +26,9 @@ public const string UNIQUE_NAME = "org.bansheeproject.Banshee"; public const string OBJECT_PATH = "/org/bansheeproject/Banshee/PlayerEngine"; - public abstract void play () throws IOError; - public abstract void pause () throws IOError; - public abstract void open (string uri) throws IOError; + public abstract void play () throws Error; + public abstract void pause () throws Error; + public abstract void open (string uri) throws Error; } [DBus (name = "org.bansheeproject.Banshee.PlaybackController")] @@ -36,8 +36,8 @@ public const string UNIQUE_NAME = "org.bansheeproject.Banshee"; public const string OBJECT_PATH = "/org/bansheeproject/Banshee/PlaybackController"; - public abstract void next (bool restart) throws IOError; - public abstract void previous (bool restart) throws IOError; + public abstract void next (bool restart) throws Error; + public abstract void previous (bool restart) throws Error; } [DBus (name = "org.bansheeproject.Banshee.PlayQueue")] @@ -45,7 +45,7 @@ public const string UNIQUE_NAME = "org.bansheeproject.Banshee"; public const string OBJECT_PATH = "/org/bansheeproject/Banshee/SourceManager/PlayQueue"; - public abstract void enqueue_uri (string uri, bool prepend) throws IOError; + public abstract void enqueue_uri (string uri, bool prepend) throws Error; } public class BansheeActions : Object, Activatable, ItemProvider, ActionProvider @@ -123,7 +123,7 @@ BansheePlayerEngine.OBJECT_PATH); player.play (); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } @@ -148,7 +148,7 @@ BansheePlayerEngine.UNIQUE_NAME, BansheePlayerEngine.OBJECT_PATH); player.pause (); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } @@ -170,7 +170,7 @@ BansheePlaybackController.OBJECT_PATH); player.next (false); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } @@ -191,7 +191,7 @@ BansheePlaybackController.UNIQUE_NAME, BansheePlaybackController.OBJECT_PATH); player.previous (false); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } @@ -219,7 +219,7 @@ BansheePlayQueue.OBJECT_PATH); player.enqueue_uri (uri.uri, false); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } @@ -256,7 +256,7 @@ BansheePlayerEngine.OBJECT_PATH); player.open (uri.uri); player.play (); - } catch (IOError e) { + } catch (Error e) { stderr.printf ("Banshee is not available.\n%s", e.message); } } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/gnome-session-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/gnome-session-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/gnome-session-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/gnome-session-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,10 +27,10 @@ public const string UNIQUE_NAME = "org.gnome.SessionManager"; public const string OBJECT_PATH = "/org/gnome/SessionManager"; - public abstract bool can_shutdown () throws IOError; - public abstract void shutdown () throws IOError; - public abstract void request_reboot () throws IOError; - public abstract void logout (uint32 mode = 0) throws IOError; + public abstract bool can_shutdown () throws Error; + public abstract void shutdown () throws Error; + public abstract void request_reboot () throws Error; + public abstract void logout (uint32 mode = 0) throws Error; } public class GnomeSessionPlugin : Object, Activatable, ItemProvider @@ -66,7 +66,7 @@ dbus_interface.shutdown (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -92,7 +92,7 @@ dbus_interface.request_reboot (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -123,7 +123,7 @@ */ dbus_interface.logout (1); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/pidgin-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/pidgin-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/pidgin-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/pidgin-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,21 +27,21 @@ public const string UNIQUE_NAME = "im.pidgin.purple.PurpleService"; public const string OBJECT_PATH = "/im/pidgin/purple/PurpleObject"; - public abstract string purple_account_get_protocol_name (int account) throws IOError; - public abstract int purple_buddy_get_account (int buddy) throws IOError; - public abstract string purple_buddy_get_name (int buddy) throws IOError; - public abstract string purple_buddy_get_alias (int buddy) throws IOError; - public abstract string purple_buddy_icon_get_full_path (int icon) throws IOError; - public abstract int purple_buddy_get_icon (int buddy) throws IOError; - public abstract int purple_buddy_is_online (int buddy) throws IOError; - - public abstract int[] purple_accounts_get_all_active () throws IOError; - public abstract int[] purple_find_buddies (int account, string pattern = "") throws IOError; - - public abstract int purple_conversation_new (int type, int account, string name) throws IOError; - public abstract void purple_conversation_present (int conv) throws IOError; - public abstract int purple_conv_im (int conv) throws IOError; - public abstract void purple_conv_im_send (int im, string mess) throws IOError; + public abstract string purple_account_get_protocol_name (int account) throws Error; + public abstract int purple_buddy_get_account (int buddy) throws Error; + public abstract string purple_buddy_get_name (int buddy) throws Error; + public abstract string purple_buddy_get_alias (int buddy) throws Error; + public abstract string purple_buddy_icon_get_full_path (int icon) throws Error; + public abstract int purple_buddy_get_icon (int buddy) throws Error; + public abstract int purple_buddy_is_online (int buddy) throws Error; + + public abstract int[] purple_accounts_get_all_active () throws Error; + public abstract int[] purple_find_buddies (int account, string pattern = "") throws Error; + + public abstract int purple_conversation_new (int type, int account, string name) throws Error; + public abstract void purple_conversation_present (int conv) throws Error; + public abstract int purple_conv_im (int conv) throws Error; + public abstract void purple_conv_im_send (int im, string mess) throws Error; public abstract signal void account_added (int acc); public abstract signal void account_removed (int acc); @@ -51,8 +51,8 @@ public abstract signal void buddy_signed_off (int buddy); public abstract signal void buddy_icon_changed (int buddy); - public abstract void serv_send_file (int conn, string who, string file) throws IOError; - public abstract int purple_account_get_connection (int account) throws IOError; + public abstract void serv_send_file (int conn, string who, string file) throws Error; + public abstract int purple_account_get_connection (int account) throws Error; } public class PidginPlugin : Object, Activatable, ItemProvider, ActionProvider @@ -180,7 +180,7 @@ return; } p.serv_send_file (conn, contact.name, path); - } catch (IOError err) + } catch (Error err) { warning ("Cannot send file to %s", contact.title); } @@ -196,7 +196,7 @@ p.purple_conv_im_send (im, message); } if (present) p.purple_conversation_present (conv); - } catch (IOError err) + } catch (Error err) { warning ("Cannot open chat for %s", contact.title); } @@ -340,7 +340,7 @@ return results; } - private async void get_contact (int buddy, int account = -1, string? protocol = null) throws IOError + private async void get_contact (int buddy, int account = -1, string? protocol = null) throws Error { if (p == null) return; string prot = protocol; @@ -383,7 +383,7 @@ } } - } catch (IOError err) { + } catch (Error err) { warning ("Cannot load Pidgin contacts"); } } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/rhythmbox-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/rhythmbox-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/rhythmbox-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/rhythmbox-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,9 +27,9 @@ public const string UNIQUE_NAME = "org.gnome.Rhythmbox3"; public const string OBJECT_PATH = "/org/gnome/Rhythmbox3/PlayQueue"; - public abstract void add_to_queue (string uri) throws IOError; - //public abstract void clear_queue () throws IOError; - //public abstract void remove_from_queue (string uri) throws IOError; + public abstract void add_to_queue (string uri) throws Error; + //public abstract void clear_queue () throws Error; + //public abstract void remove_from_queue (string uri) throws Error; } [DBus (name = "org.mpris.MediaPlayer2.Player")] @@ -39,13 +39,13 @@ public abstract string playback_status { owned get; } - public abstract void next () throws IOError; - public abstract void open_uri (string uri) throws IOError; - public abstract void pause () throws IOError; - public abstract void play () throws IOError; - //public abstract void play_pause () throws IOError; - public abstract void previous () throws IOError; - //public abstract void stop () throws IOError; + public abstract void next () throws Error; + public abstract void open_uri (string uri) throws Error; + public abstract void pause () throws Error; + public abstract void play () throws Error; + //public abstract void play_pause () throws Error; + public abstract void previous () throws Error; + //public abstract void stop () throws Error; } public class RhythmboxActions : Object, Activatable, ItemProvider, ActionProvider @@ -131,7 +131,7 @@ player.play (); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } @@ -157,7 +157,7 @@ player.pause (); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } @@ -182,7 +182,7 @@ player.next (); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } @@ -208,7 +208,7 @@ player.previous (); player.previous (); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } @@ -245,7 +245,7 @@ if (!(player.playback_status == "Playing")) player.play (); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } @@ -283,7 +283,7 @@ player.play (); player.open_uri (uri.uri); } - catch (IOError e) + catch (Error e) { warning ("Rythmbox is not available.\n%s", e.message); } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/screensaver-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/screensaver-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/screensaver-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/screensaver-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,7 +27,7 @@ public const string UNIQUE_NAME = "org.gnome.ScreenSaver"; public const string OBJECT_PATH = "/org/gnome/ScreenSaver"; - public abstract async void lock () throws IOError; + public abstract async void lock () throws Error; } [DBus (name = "org.mate.ScreenSaver")] @@ -36,7 +36,7 @@ public const string UNIQUE_NAME = "org.mate.ScreenSaver"; public const string OBJECT_PATH = "/org/mate/ScreenSaver"; - public abstract async void lock () throws IOError; + public abstract async void lock () throws Error; } public class ScreenSaverPlugin : Object, Activatable, ItemProvider @@ -91,7 +91,7 @@ GnomeScreenSaver.OBJECT_PATH); // we need the async variant cause Screensaver doesn't send the reply dbus_interface.lock.begin (); - } catch (IOError err) { + } catch (Error err) { warning ("%s", err.message); } } @@ -104,7 +104,7 @@ MateScreenSaver.OBJECT_PATH); // we need the async variant cause Screensaver doesn't send the reply dbus_interface.lock.begin (); - } catch (IOError err) { + } catch (Error err) { warning ("%s", err.message); } } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/system-management.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/system-management.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/system-management.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/system-management.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,12 +27,12 @@ public const string UNIQUE_NAME = "org.freedesktop.UPower"; public const string OBJECT_PATH = "/org/freedesktop/UPower"; - public abstract async void hibernate () throws IOError; - public abstract async void suspend () throws IOError; - public abstract async bool hibernate_allowed () throws IOError; - public abstract async bool suspend_allowed () throws IOError; + public abstract async void hibernate () throws Error; + public abstract async void suspend () throws Error; + public abstract async bool hibernate_allowed () throws Error; + public abstract async bool suspend_allowed () throws Error; - public abstract async void about_to_sleep () throws IOError; + public abstract async void about_to_sleep () throws Error; } [DBus (name = "org.freedesktop.ConsoleKit.Manager")] @@ -41,10 +41,10 @@ public const string UNIQUE_NAME = "org.freedesktop.ConsoleKit"; public const string OBJECT_PATH = "/org/freedesktop/ConsoleKit/Manager"; - public abstract void restart () throws IOError; - public abstract void stop () throws IOError; - public abstract async bool can_restart () throws IOError; - public abstract async bool can_stop () throws IOError; + public abstract void restart () throws Error; + public abstract void stop () throws Error; + public abstract async bool can_restart () throws Error; + public abstract async bool can_stop () throws Error; } [DBus (name = "org.freedesktop.login1.Manager")] @@ -53,14 +53,14 @@ public const string UNIQUE_NAME = "org.freedesktop.login1"; public const string OBJECT_PATH = "/org/freedesktop/login1"; - public abstract void reboot (bool interactive) throws IOError; - public abstract void suspend (bool interactive) throws IOError; - public abstract void hibernate (bool interactive) throws IOError; - public abstract void power_off (bool interactive) throws IOError; - public abstract string can_suspend () throws IOError; - public abstract string can_hibernate () throws IOError; - public abstract string can_reboot () throws IOError; - public abstract string can_power_off () throws IOError; + public abstract void reboot (bool interactive) throws Error; + public abstract void suspend (bool interactive) throws Error; + public abstract void hibernate (bool interactive) throws Error; + public abstract void power_off (bool interactive) throws Error; + public abstract string can_suspend () throws Error; + public abstract string can_hibernate () throws Error; + public abstract string can_reboot () throws Error; + public abstract string can_power_off () throws Error; } public class SystemManagementPlugin : Object, Activatable, ItemProvider @@ -107,7 +107,7 @@ allowed = (dbus_interface.can_suspend () == "yes"); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -121,7 +121,7 @@ allowed = yield dbus_interface.suspend_allowed (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -146,7 +146,7 @@ dbus_interface.suspend (true); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -170,7 +170,7 @@ yield dbus_interface.suspend (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -207,7 +207,7 @@ allowed = (dbus_interface.can_hibernate () == "yes"); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -221,7 +221,7 @@ allowed = yield dbus_interface.hibernate_allowed (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -246,7 +246,7 @@ dbus_interface.hibernate (true); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -269,7 +269,7 @@ yield; dbus_interface.hibernate.begin (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -306,7 +306,7 @@ allowed = (dbus_interface.can_power_off () == "yes"); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -320,7 +320,7 @@ allowed = yield dbus_interface.can_stop (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -345,7 +345,7 @@ dbus_interface.power_off (true); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -358,7 +358,7 @@ dbus_interface.stop (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -390,7 +390,7 @@ allowed = (dbus_interface.can_reboot () == "yes"); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -404,7 +404,7 @@ allowed = yield dbus_interface.can_restart (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); allowed = false; @@ -429,7 +429,7 @@ dbus_interface.reboot (true); return; } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } @@ -442,7 +442,7 @@ dbus_interface.restart (); } - catch (IOError err) + catch (Error err) { warning ("%s", err.message); } diff -Nru synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/xnoise-media-player-plugin.vala synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/xnoise-media-player-plugin.vala --- synapse-0.2.99.2+bzr665~ubuntu17.10.1/src/plugins/xnoise-media-player-plugin.vala 2018-02-05 11:31:40.000000000 +0000 +++ synapse-0.2.99.2+bzr666~ubuntu17.10.1/src/plugins/xnoise-media-player-plugin.vala 2018-03-29 20:16:54.000000000 +0000 @@ -27,16 +27,16 @@ public const string UNIQUE_NAME = "org.gtk.xnoise.PlayerEngine"; public const string OBJECT_PATH = "/PlayerEngine"; - public abstract void quit () throws IOError; - public abstract void raise () throws IOError; + public abstract void quit () throws Error; + public abstract void raise () throws Error; - public abstract void next () throws IOError; - public abstract void previous () throws IOError; - public abstract void pause () throws IOError; - public abstract void toggle_playing () throws IOError; - public abstract void stop () throws IOError; - public abstract void play () throws IOError; - public abstract void open_uri (string uri) throws IOError; + public abstract void next () throws Error; + public abstract void previous () throws Error; + public abstract void pause () throws Error; + public abstract void toggle_playing () throws Error; + public abstract void stop () throws Error; + public abstract void play () throws Error; + public abstract void open_uri (string uri) throws Error; } public class XnoiseActions : Object, Activatable, ItemProvider, ActionProvider @@ -104,7 +104,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.quit (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -127,7 +127,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.raise (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -150,7 +150,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.play (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -173,7 +173,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.toggle_playing (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -201,7 +201,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.pause (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -225,7 +225,7 @@ XnoisePlayerEngine.OBJECT_PATH); player.next (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -248,7 +248,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.previous (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -271,7 +271,7 @@ XnoisePlayerEngine.UNIQUE_NAME, XnoisePlayerEngine.OBJECT_PATH); player.stop (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } } @@ -303,7 +303,7 @@ XnoisePlayerEngine.OBJECT_PATH); player.open_uri (uri.uri); player.play (); - } catch (IOError e) { + } catch (Error e) { warning ("Xnoise is not available.\n%s", e.message); } }