~ubuntu-branches/ubuntu/raring/pida/raring

« back to all changes in this revision

Viewing changes to pida/utils/vim/vimcom.py

  • Committer: Package Import Robot
  • Author(s): Philipp Kaluza
  • Date: 2011-07-29 23:46:20 UTC
  • mfrom: (0.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20110729234620-zka1d28kv0jeunix
Tags: 0.5.1-6
* merge NMUs; thanks to Marek Kubica and Sandro Tosi.
* remove python-gtkhtml2 completely; its gone for good (closes: #549033)
* move to 3.0 (quilt) source format
* update maintainer's email address
* transition from python-central to dh_python2 (closes: #616937)
* patches/0000-call-vim.gnome.patch:
  - "gvim" is too generic a name now, we need to depend on vim-gnome
    (thanks to Moritz Muehlenhoff for the idea; closes: #582524)
  - also, depend on vim-gnome
* patches/0001-pida-optionsmanager-NoneTypeFix.diff:
  - optionsmanager: do the prefill only of current is not None
    (thanks to Nick Daly; closes: #519152)
* fix some linitan warnings
* bump debhelper compat level to 7 (still allowing lucid builds)
* update Standards-Version to 3.9.2.0 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
        if not self.pid:
145
145
            # Get the console vim executable path
146
146
            #command = self.prop_main_registry.commands.vim.value()
147
 
            command = 'gvim'
 
147
            command = '/usr/bin/vim.gnome'
148
148
            # Fork using pty.fork to prevent Vim taking the terminal
149
149
            sock = gtk.Socket()
150
150
            w = gtk.Window()
154
154
            pid, fd = pty.fork()
155
155
            if pid == 0:
156
156
                # Child, execute Vim with the correct servername argument
157
 
                os.execvp(command, ['gvim', '-f', '--servername', self.name,
 
157
                os.execvp(command, ['/usr/bin/vim.gnome', '-f', '--servername', self.name,
158
158
                    '--socketid', '%s' % xid])
159
159
                    #'-v'])
160
160
                # os.system('%s -v --servername %s' % (command, self.name))