[gnome-online-accounts] Provide icon for windows-live service
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] Provide icon for windows-live service
- Date: Mon, 19 Dec 2011 14:59:09 +0000 (UTC)
commit d1c12ea6367b9fbbbe3818b24d29aac5c7c0e43f
Author: Xavier Claessens <xclaesse gmail com>
Date: Thu Nov 3 14:47:50 2011 +0100
Provide icon for windows-live service
PNGs copied from Empathy
https://bugzilla.gnome.org/show_bug.cgi?id=661067
data/icons/16x16/Makefile.am | 1 +
data/icons/16x16/goa-account-msn.png | Bin 0 -> 835 bytes
data/icons/22x22/Makefile.am | 1 +
data/icons/22x22/goa-account-msn.png | Bin 0 -> 1281 bytes
data/icons/24x24/Makefile.am | 1 +
data/icons/24x24/goa-account-msn.png | Bin 0 -> 1407 bytes
data/icons/32x32/Makefile.am | 1 +
data/icons/32x32/goa-account-msn.png | Bin 0 -> 1660 bytes
data/icons/48x48/Makefile.am | 1 +
data/icons/48x48/goa-account-msn.png | Bin 0 -> 2778 bytes
src/goabackend/goamessengerprovider.c | 8 ++++++++
11 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 54688e2..ec85f5b 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -5,6 +5,7 @@ icon_DATA = \
goa-account.png \
goa-account-facebook.png \
goa-account-google.png \
+ goa-account-msn.png \
goa-account-twitter.png \
goa-account-yahoo.png \
$(NULL)
diff --git a/data/icons/16x16/goa-account-msn.png b/data/icons/16x16/goa-account-msn.png
new file mode 100644
index 0000000..943ba35
Binary files /dev/null and b/data/icons/16x16/goa-account-msn.png differ
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index b3826c5..d13a3d6 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -5,6 +5,7 @@ icon_DATA = \
goa-account.png \
goa-account-facebook.png \
goa-account-google.png \
+ goa-account-msn.png \
goa-account-twitter.png \
goa-account-yahoo.png \
$(NULL)
diff --git a/data/icons/22x22/goa-account-msn.png b/data/icons/22x22/goa-account-msn.png
new file mode 100644
index 0000000..97977f2
Binary files /dev/null and b/data/icons/22x22/goa-account-msn.png differ
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
index a8ee709..4e2ffc8 100644
--- a/data/icons/24x24/Makefile.am
+++ b/data/icons/24x24/Makefile.am
@@ -5,6 +5,7 @@ icon_DATA = \
goa-account.png \
goa-account-facebook.png \
goa-account-google.png \
+ goa-account-msn.png \
goa-account-twitter.png \
goa-account-yahoo.png \
$(NULL)
diff --git a/data/icons/24x24/goa-account-msn.png b/data/icons/24x24/goa-account-msn.png
new file mode 100644
index 0000000..3c2adcd
Binary files /dev/null and b/data/icons/24x24/goa-account-msn.png differ
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
index 94703a1..612c6de 100644
--- a/data/icons/32x32/Makefile.am
+++ b/data/icons/32x32/Makefile.am
@@ -5,6 +5,7 @@ icon_DATA = \
goa-account.png \
goa-account-facebook.png \
goa-account-google.png \
+ goa-account-msn.png \
goa-account-twitter.png \
goa-account-yahoo.png \
$(NULL)
diff --git a/data/icons/32x32/goa-account-msn.png b/data/icons/32x32/goa-account-msn.png
new file mode 100644
index 0000000..c06eed2
Binary files /dev/null and b/data/icons/32x32/goa-account-msn.png differ
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 2d106b1..5009a91 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -5,6 +5,7 @@ icon_DATA = \
goa-account.png \
goa-account-facebook.png \
goa-account-google.png \
+ goa-account-msn.png \
goa-account-twitter.png \
goa-account-yahoo.png \
$(NULL)
diff --git a/data/icons/48x48/goa-account-msn.png b/data/icons/48x48/goa-account-msn.png
new file mode 100644
index 0000000..1b960dd
Binary files /dev/null and b/data/icons/48x48/goa-account-msn.png differ
diff --git a/src/goabackend/goamessengerprovider.c b/src/goabackend/goamessengerprovider.c
index 13d6996..a637c1d 100644
--- a/src/goabackend/goamessengerprovider.c
+++ b/src/goabackend/goamessengerprovider.c
@@ -82,6 +82,13 @@ get_provider_name (GoaProvider *_provider,
return g_strdup (_("Windows Live"));
}
+static GIcon *
+get_provider_icon (GoaProvider *provider,
+ GoaObject *object)
+{
+ return g_themed_icon_new_with_default_fallbacks ("goa-account-msn");
+}
+
static const gchar *
get_authorization_uri (GoaOAuth2Provider *provider)
{
@@ -311,6 +318,7 @@ goa_messenger_provider_class_init (GoaMessengerProviderClass *klass)
provider_class = GOA_PROVIDER_CLASS (klass);
provider_class->get_provider_type = get_provider_type;
provider_class->get_provider_name = get_provider_name;
+ provider_class->get_provider_icon = get_provider_icon;
provider_class->build_object = build_object;
provider_class->show_account = show_account;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]