Package: gedit
Version: 3.0.0-1
Severity: normal

Hi,

I am using GNOME 3 from experimental.
If I add an external tool in gedit, assign a shortcut to it and set "Save" to 
"Nothing", everything works as expected: When I use the shortcut, it is 
executed and its output is shown in the bottom panel.
But if I set "Save" to "Current Document" (or "All Documents"), the shortcut 
has no visible effect. Instead, the following error message is printed on the 
console, if gedit has been started from there:

Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/externaltools/functions.py", line 246, in 
capture_menu_action
    MultipleDocumentsSaver(window, panel, [window.get_active_document()], node)
  File "/usr/lib/gedit/plugins/externaltools/functions.py", line 225, in 
__init__
    Gedit.commands.save_document(window, doc)
  File "/usr/lib/python2.6/dist-packages/gi/module.py", line 270, in __getattr__
    return getattr(self._introspection_module, name)
  File "/usr/lib/python2.6/dist-packages/gi/module.py", line 101, in __getattr__
    self.__name__, name))
AttributeError: 'gi.repository.Gedit' object has no attribute 'commands'

Regards,
Andreas


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.0.0-rc6-amd64

Debian Release: wheezy/sid
  990 testing         security.debian.org 
  990 testing         ftp.de.debian.org 
  800 unstable        ftp.de.debian.org 
  700 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                       (Version) | Installed
=======================================-+-=============
python                         (>= 2.5) | 2.6.6-14
python-support              (>= 0.90.0) | 1.0.14
libatk1.0-0                 (>= 1.12.4) | 2.0.1-2
libc6                        (>= 2.2.5) | 2.13-7
libcairo2                    (>= 1.2.4) | 1.10.2-6
libenchant1c2a                 (>= 1.6) | 1.6.0-2
libgdk-pixbuf2.0-0          (>= 2.22.0) | 2.23.5-1
libgirepository-1.0-1        (>= 0.9.3) | 0.10.8-2
libglib2.0-0                (>= 2.28.0) | 2.28.6-2
libgtk-3-0                   (>= 3.0.0) | 3.0.10-1
libgtksourceview-3.0-0       (>= 3.0.0) | 3.0.4-1
libice6                    (>= 1:1.0.0) | 2:1.0.7-2
libpango1.0-0               (>= 1.14.0) | 1.28.4-1
libpeas-1.0-0                           | 1.0.0-4
libsm6                                  | 2:1.2.0-2
libx11-6                                | 2:1.4.3-2
libxml2                      (>= 2.7.4) | 2.7.8.dfsg-3
gedit-common                   (>= 3.0) | 3.0.0-1
gedit-common                   (<< 3.1) | 3.0.0-1
python-gobject                (>= 2.28) | 2.28.6-1
gir1.2-glib-2.0                         | 0.10.8-2
gir1.2-peas-1.0                         | 1.0.0-4
gir1.2-gtk-3.0                          | 3.0.10-1
iso-codes                               | 3.26-1


Recommends         (Version) | Installed
============================-+-===========
zenity                       | 3.0.0-1
python-gnome2                | 2.28.1-3
yelp                         | 3.0.1-1


Package's Suggests field is empty.


--- Output from package bug script ---




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to