diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:13:31 -0500 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-11-18 11:13:31 -0500 |
commit | 13bc64e0a3c144740c30e2469fdb5f605d58ee39 (patch) | |
tree | 21b2af1f4d2d796bdbf2af16761de5be769e87fa /src/familiar-players-db.vala | |
parent | 908222c0681fba3c6e1265d0f85a0b667927c169 (diff) | |
parent | 0d5c60e9161f4b1b4315bbfac7862ef662f577ee (diff) | |
download | ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.tar.gz ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.tar.bz2 ayatana-indicator-sound-13bc64e0a3c144740c30e2469fdb5f605d58ee39.zip |
Import upstream version 0.5.2
Diffstat (limited to 'src/familiar-players-db.vala')
-rw-r--r-- | src/familiar-players-db.vala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/familiar-players-db.vala b/src/familiar-players-db.vala index af7d07f..47ddc70 100644 --- a/src/familiar-players-db.vala +++ b/src/familiar-players-db.vala @@ -167,9 +167,14 @@ public class FamiliarPlayersDB : GLib.Object desktop_keyfile.load_from_file (desktop_path, KeyFileFlags.NONE); } catch(GLib.FileError error){ - warning("Error loading keyfile"); + warning("Error loading keyfile - FileError"); return null; } + catch(GLib.KeyFileError error){ + warning("Error loading keyfile - KeyFileError"); + return null; + } + try{ return desktop_keyfile.get_string (KeyFileDesktop.GROUP, KeyFileDesktop.KEY_ICON); |