gedit r6272 - in trunk: . plugins/externaltools/tools
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6272 - in trunk: . plugins/externaltools/tools
- Date: Fri, 9 May 2008 17:50:55 +0100 (BST)
Author: pborelli
Date: Fri May 9 16:50:54 2008
New Revision: 6272
URL: http://svn.gnome.org/viewvc/gedit?rev=6272&view=rev
Log:
2008-05-09 Paolo Borelli <pborelli katamail com>
* plugins/externaltools/tools/__init__.py:
* plugins/externaltools/tools/outputpanel.py:
Remove a couple of trivial uses of gnomevfs
Modified:
trunk/ChangeLog
trunk/plugins/externaltools/tools/__init__.py
trunk/plugins/externaltools/tools/outputpanel.py
Modified: trunk/plugins/externaltools/tools/__init__.py
==============================================================================
--- trunk/plugins/externaltools/tools/__init__.py (original)
+++ trunk/plugins/externaltools/tools/__init__.py Fri May 9 16:50:54 2008
@@ -21,7 +21,6 @@
import gedit
import gtk
-import gnomevfs
from manager import Manager
from library import ToolLibrary
from outputpanel import OutputPanel
@@ -94,10 +93,8 @@
if document is None:
return
- uri = document.get_uri()
-
- titled = uri is not None
- remote = titled and gnomevfs.get_uri_scheme(uri) != 'file'
+ titled = document.get_uri() is not None
+ remote = not document.is_local()
states = {
'all' : True,
Modified: trunk/plugins/externaltools/tools/outputpanel.py
==============================================================================
--- trunk/plugins/externaltools/tools/outputpanel.py (original)
+++ trunk/plugins/externaltools/tools/outputpanel.py Fri May 9 16:50:54 2008
@@ -23,7 +23,6 @@
import pango
import gobject
import os
-import gnomevfs
from weakref import WeakKeyDictionary
from capture import *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]