[gedit] quickopen: Error is under the GLib namespace
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] quickopen: Error is under the GLib namespace
- Date: Wed, 23 Jul 2014 16:50:05 +0000 (UTC)
commit c2303071efd76be7e8f6da6fa155d4718b05db56
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Jul 23 18:49:29 2014 +0200
quickopen: Error is under the GLib namespace
plugins/quickopen/quickopen/popup.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index 17c60f4..2ccb53f 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -19,7 +19,7 @@ import os
import platform
import functools
import fnmatch
-from gi.repository import Gio, GObject, Pango, Gtk, Gdk, Gedit
+from gi.repository import GLib, Gio, GObject, Pango, Gtk, Gdk, Gedit
import xml.sax.saxutils
from .virtualdirs import VirtualDirectory
@@ -173,7 +173,7 @@ class Popup(Gtk.Dialog):
ret = gfile.enumerate_children("standard::*",
Gio.FileQueryInfoFlags.NONE,
None)
- except GObject.Error as e:
+ except GLib.Error as e:
pass
if isinstance(ret, Gio.FileEnumerator):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]