Merge lp:~silver-fox/ubuntu-desktop-accomplishments/gwibber-identica into lp:ubuntu-desktop-accomplishments

Proposed by s.fox
Status: Merged
Merged at revision: 28
Proposed branch: lp:~silver-fox/ubuntu-desktop-accomplishments/gwibber-identica
Merge into: lp:ubuntu-desktop-accomplishments
Diff against target: 149 lines (+133/-0)
3 files modified
accomplishments/ubuntu-desktop/en/networking/gwibber-identica.accomplishment (+22/-0)
generated/accomplishments/ubuntu-desktop/gwibber-identica.c (+81/-0)
scripts/ubuntu-desktop/networking/gwibber-identica.py (+30/-0)
To merge this branch: bzr merge lp:~silver-fox/ubuntu-desktop-accomplishments/gwibber-identica
Reviewer Review Type Date Requested Status
Ubuntu Desktop Accomplishments Reviewers Pending
Review via email: mp+110966@code.launchpad.net

Description of the change

added identica gwibber accomplishment.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'accomplishments/ubuntu-desktop/en/networking/gwibber-identica.accomplishment'
--- accomplishments/ubuntu-desktop/en/networking/gwibber-identica.accomplishment 1970-01-01 00:00:00 +0000
+++ accomplishments/ubuntu-desktop/en/networking/gwibber-identica.accomplishment 2012-06-19 07:45:23 +0000
@@ -0,0 +1,22 @@
1[accomplishment]
2title=Gwibber - Added Identi.ca
3description=You have added your identi.ca account to Gwibber
4category=Networking:Gwibber
5icon=identica.png
6author=s.fox <silver-fox@ubuntu.com>
7collection=ubuntu-desktop
8summary=Gwibber is the social media client built into Ubuntu Desktop. It is capable of viewing and posting status updates on popular microblogging and social sites such as Twitter, Facebook and Identi.ca
9 This accomplishment is awarded when you have authorised your <b>identi.ca</b> account with Gwibber
10steps=Click the <i>Dash Home</i>
11 Enter <i>Gwibber</i>
12 You will be presented with the Gwibber application
13 Click the <i>Gwibber</i> icon
14 In the menu navigate to <b>Edit</b> <b>Accounts</b>
15 Click the + button
16 Select ident.ca and then click the Add button
17 Click Authorise
18 Enter your identi.ca details and click 'Allow'
19tips=You can add several indenti.ca accounts to gwibber
20help=https://wiki.ubuntu.com/Gwibber
21 http://live.gnome.org/Gwibber
22
023
=== added file 'accomplishments/ubuntu-desktop/trophyimages/identica.png'
1Binary files accomplishments/ubuntu-desktop/trophyimages/identica.png 1970-01-01 00:00:00 +0000 and accomplishments/ubuntu-desktop/trophyimages/identica.png 2012-06-19 07:45:23 +0000 differ24Binary files accomplishments/ubuntu-desktop/trophyimages/identica.png 1970-01-01 00:00:00 +0000 and accomplishments/ubuntu-desktop/trophyimages/identica.png 2012-06-19 07:45:23 +0000 differ
=== added file 'generated/accomplishments/ubuntu-desktop/gwibber-identica.c'
--- generated/accomplishments/ubuntu-desktop/gwibber-identica.c 1970-01-01 00:00:00 +0000
+++ generated/accomplishments/ubuntu-desktop/gwibber-identica.c 2012-06-19 07:45:23 +0000
@@ -0,0 +1,81 @@
1[accomplishment]
2// ACCOMPLISHMENT: Used Rhythmbox ('title' field)
3// .
4// ORIGINAL TRANSLATION:
5// Used Rhythmbox
6
7// .
8// ----- TRANSLATION INSTRUCTIONS -----
9// A short description of the accomplishment.
10// NOTE: Describe this in the past tense as if it has been achieved (e.g. Registered On Launchpad).
11_("ubuntu-desktop/musicinrhythmbox_title")
12// ACCOMPLISHMENT: Used Rhythmbox ('description' field)
13// .
14// ORIGINAL TRANSLATION:
15// You have used Rhythmbox.
16
17// .
18// ----- TRANSLATION INSTRUCTIONS -----
19// Add a descriptive single-line summary of the accomplishment.
20_("ubuntu-desktop/musicinrhythmbox_description")
21// ACCOMPLISHMENT: Used Rhythmbox ('summary' field)
22// .
23// ORIGINAL TRANSLATION:
24// Rhythmbox is a music player in Ubuntu. You can use it to play music from local or shared music stores, or on-line stream radios.
25// This accomplishment is awarded when you have <b>added music</b> to your Rhythmbox library
26
27// .
28// ----- TRANSLATION INSTRUCTIONS -----
29// Introduce the accomplishment, explain what the different concepts are that are involved, and provide guidance on how to accomplish it.
30// NOTE: Break this into paragraphs by putting each paragraph on a new line.
31// FORMATTING ALLOWED: <i> <strong> <tt>
32_("ubuntu-desktop/musicinrhythmbox_summary")
33// ACCOMPLISHMENT: Used Rhythmbox ('steps' field)
34// .
35// ORIGINAL TRANSLATION:
36// Click the <i>Dash Home</i>
37// Enter <i>Rhythmbox</i>
38// You will be presented with the Rhythmbox application
39// Click the <i>Rhythmbox</i> icon
40// Right click the 'music' entry under library and choose 'import file...' for a single song or 'import folder...' for a folder of music
41// Navigate to the folder or song desired
42
43// .
44// ----- TRANSLATION INSTRUCTIONS -----
45// Add a series of step-by-step instructions for how to accomplish this trophy.
46// NOTE: Put each step on a new line
47// FORMATTING ALLOWED: <i> <strong> <tt>
48_("ubuntu-desktop/musicinrhythmbox_steps")
49// ACCOMPLISHMENT: Used Rhythmbox ('tips' field)
50// .
51// ORIGINAL TRANSLATION:
52// You can even buy music through Rhythmbox
53
54// .
55// ----- TRANSLATION INSTRUCTIONS -----
56// Add tips and best practise for accomplishing this trophy.
57// NOTE: Put each tip on a new line
58// FORMATTING ALLOWED: <i> <strong> <tt>
59_("ubuntu-desktop/musicinrhythmbox_tips")
60// ACCOMPLISHMENT: Used Rhythmbox ('pitfalls' field)
61// .
62// ORIGINAL TRANSLATION:
63// Using a network share could resultin Rhythmbox reporting that you have missing files if you have not mounted the share prior to launching Rhythmbox.
64
65// .
66// ----- TRANSLATION INSTRUCTIONS -----
67// Add things the user should not do when working to accomplish this trophy.
68// NOTE: Put each pitfall on a new line
69// FORMATTING ALLOWED: <i> <strong> <tt>
70_("ubuntu-desktop/musicinrhythmbox_pitfalls")
71// ACCOMPLISHMENT: Used Rhythmbox ('help' field)
72// .
73// ORIGINAL TRANSLATION:
74// Click the <i>Help</i> menu.
75
76// .
77// ----- TRANSLATION INSTRUCTIONS -----
78// Add related help resources (e.g. IRC channel names).
79// NOTE: Put each help resource on a new line
80// FORMATTING ALLOWED: <i> <strong> <tt>
81_("ubuntu-desktop/musicinrhythmbox_help")
082
=== added file 'scripts/ubuntu-desktop/networking/gwibber-identica.py'
--- scripts/ubuntu-desktop/networking/gwibber-identica.py 1970-01-01 00:00:00 +0000
+++ scripts/ubuntu-desktop/networking/gwibber-identica.py 2012-06-19 07:45:23 +0000
@@ -0,0 +1,30 @@
1#!/usr/bin/python
2from dbus.mainloop.glib import DBusGMainLoop
3import gobject
4import json, gwibber.lib
5import sys
6
7DBusGMainLoop(set_as_default=True)
8loop = gobject.MainLoop()
9
10gw = gwibber.lib.GwibberPublic()
11accounts = json.loads(gw.GetAccounts())
12
13#go through json array picking up ALL services
14arrayServices = []
15i = 0
16for service in accounts:
17 arrayServices.append(accounts[i]['service'])
18 i = i +1
19
20#make array contain only unique services
21tempArray = {}
22for x in arrayServices: tempArray[x] = 0
23arrayServices = tempArray.keys()
24
25if (u'indentica' in arrayServices) or (u'indenti.ca' in arrayServices):
26 #user has indenti.ca setup on gwibber'
27 sys.exit(0)
28else:
29 #user does not have indenti.ca setup on gwibber'
30 sys.exit(1)

Subscribers

People subscribed via source and target branches