~ubuntu-branches/ubuntu/utopic/gramps/utopic

« back to all changes in this revision

Viewing changes to src/plugins/gramplet/PlaceDetails.py

  • Committer: Package Import Robot
  • Author(s): James A. Treacy
  • Date: 2012-05-22 17:18:36 UTC
  • mfrom: (39.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120522171836-35fi62lp4w7jnrd7
Tags: 3.4.0-1
* New upstream version
* Updated desktop file. Closes: #667472

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# along with this program; if not, write to the Free Software
17
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
18
#
19
 
# $Id: PlaceDetails.py 17761 2011-06-12 18:41:43Z ldnp $
 
19
# $Id: PlaceDetails.py 18679 2012-01-01 17:58:33Z nick-h $
20
20
#
21
21
 
22
22
from gen.plug import Gramplet
42
42
        """
43
43
        self.top = gtk.HBox()
44
44
        vbox = gtk.VBox()
45
 
        self.photo = Photo()
 
45
        self.photo = Photo(self.uistate.screen_height() < 1000)
46
46
        self.title = gtk.Label()
47
47
        self.title.set_alignment(0, 0)
48
48
        self.title.modify_font(pango.FontDescription('sans bold 12'))
81
81
    def db_changed(self):
82
82
        self.dbstate.db.connect('place-update', self.update)
83
83
        self.connect_signal('Place', self.update)
84
 
        self.update()
85
84
 
86
85
    def update_has_data(self): 
87
86
        active_handle = self.get_active('Person')