~ubuntu-branches/ubuntu/maverick/pitivi/maverick-proposed

« back to all changes in this revision

Viewing changes to pitivi/ui/mainwindow.py

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-08-04 14:12:55 UTC
  • mfrom: (6.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100804141255-u2xit5ktx0722rrd
Tags: 0.13.4-3ubuntu1
* Resync on Debian
* debian/rules:
  - use gnome.mk so a translation template is built (lp: #613110)
* debian/control:
  - build-depends on python-launchpad-integration
* debian/patches/01_lpi.patch:
  - launchpad integration
* debian/patches/02_remove_version_from_title.patch:
  - remove the version from the title
* debian/patches/lp537619_gdk_cairo_reset_clip.patch:
  - use correct parameters for gtk.gdk.CairoContext.reset_clip

Show diffs side-by-side

added added

removed removed

Lines of Context:
358
358
        self.uimanager.add_ui_from_file(os.path.join(os.path.dirname(
359
359
            os.path.abspath(__file__)), "mainwindow.xml"))
360
360
 
 
361
        # Launchpad integration
 
362
        import LaunchpadIntegration
 
363
        LaunchpadIntegration.set_sourcepackagename ("pitivi")
 
364
        LaunchpadIntegration.add_ui (self.uimanager, "/MainMenuBar/Help/LaunchpadItems")
 
365
 
361
366
    def _createUi(self, instance):
362
367
        """ Create the graphical interface """
363
 
        self.set_title("%s v%s" % (APPNAME, pitivi_version))
 
368
        self.set_title("%s" % (APPNAME))
364
369
        self.connect("delete-event", self._deleteCb)
365
370
        self.connect("configure-event", self._configureCb)
366
371
 
902
907
        redo_action.set_sensitive(can_redo)
903
908
 
904
909
        if self.project is not None:
905
 
            app_name = "%s %s" % (APPNAME, pitivi_version)
 
910
            app_name = "%s" % (APPNAME)
906
911
            title = u"%s \u2014 %s" % (self.project.name, app_name)
907
912
            if dirty:
908
913
                title = "*" + title