~ubuntu-branches/ubuntu/lucid/gwibber/lucid-proposed

« back to all changes in this revision

Viewing changes to gwibber/lib/gtk/statusnet.py

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine, Ken VanDine, Didier Roche
  • Date: 2010-02-17 14:47:15 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217144715-emnd56aqicc3hone
Tags: 2.29.90-0ubuntu1
[ Ken VanDine ]
* New upstream release 2.29.90
  - ported Qaiku, StatusNet and Digg to 2.29.x
  - Added logging, now outputs logs in $HOME/.cache/gwibber/
  - Added url shortening to the python API
  - Updated docstrings for epydoc friendly API docs

[ Didier Roche ]
* debian/control:
  - bump Standard-Version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Copyright (C) 2010 Canonical Ltd
 
3
#
 
4
# This program is free software: you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License version 2 as
 
6
# published by the Free Software Foundation.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
#
 
16
# Copyright (C) 2010 Ken VanDine <ken.vandine@canonical.com>
 
17
#
 
18
# Identi.ca widgets for Gwibber
 
19
#
 
20
 
 
21
import gtk
 
22
from gtk import Builder
 
23
import gwibber.microblog
 
24
 
 
25
class AccountWidget(gtk.VBox):
 
26
  """AccountWidget: A widget that provides a user interface for configuring identica accounts in Gwibber
 
27
  """
 
28
  
 
29
  def __init__(self, account=None):
 
30
    """Creates the account pane for configuring identica accounts"""
 
31
    gtk.VBox.__init__( self, False, 20 )
 
32
    self.ui = gtk.Builder()
 
33
    self.ui.add_from_file (gwibber.resources.get_ui_asset("gwibber-accounts-statusnet.ui"))
 
34
    self.ui.connect_signals(self)
 
35
    self.vbox_settings = self.ui.get_object("vbox_settings")
 
36
    self.pack_start(self.vbox_settings, False, False)
 
37
    self.vbox_settings.show_all()
 
38