[gedit-latex] Use ui files intead of glade ones
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Use ui files intead of glade ones
- Date: Thu, 23 Jun 2011 23:04:19 +0000 (UTC)
commit a60e1b07b277b0d19329fc99e34fa1ec678b79ae
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Jun 24 01:04:05 2011 +0200
Use ui files intead of glade ones
latex/bibtex/dialogs.py | 4 ++--
latex/preferences/dialog.py | 6 +++---
latex/util.py | 3 ---
3 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/latex/bibtex/dialogs.py b/latex/bibtex/dialogs.py
index 43fa13e..7a4167e 100644
--- a/latex/bibtex/dialogs.py
+++ b/latex/bibtex/dialogs.py
@@ -32,7 +32,7 @@ from model import BibTeXModel
class InsertBibTeXEntryDialog(GladeInterface):
- filename = find_resource("glade/insert_bibtex_entry.glade")
+ filename = find_resource("ui/insert_bibtex_entry.ui")
_dialog = None
def run(self):
@@ -189,4 +189,4 @@ class InsertBibTeXEntryDialog(GladeInterface):
child.destroy()
tbl_optional.show_all()
- self._boxOptional.pack_start(tbl_optional, False)
\ No newline at end of file
+ self._boxOptional.pack_start(tbl_optional, False)
diff --git a/latex/preferences/dialog.py b/latex/preferences/dialog.py
index 02d83de..b4e9de8 100644
--- a/latex/preferences/dialog.py
+++ b/latex/preferences/dialog.py
@@ -97,7 +97,7 @@ class ConfigureToolDialog(GladeInterface):
Wraps the dialog for setting up a Tool
"""
- filename = find_resource("glade/configure_tool.glade")
+ filename = find_resource("ui/configure_tool.ui")
_dialog = None
@@ -342,7 +342,7 @@ class ConfigureToolDialog(GladeInterface):
class ConfigureSnippetDialog(GladeInterface):
- filename = find_resource("glade/configure_snippet.glade")
+ filename = find_resource("ui/configure_snippet.ui")
_dialog = None
@@ -423,7 +423,7 @@ class PreferencesDialog(GladeInterface, IPreferencesMonitor):
_log = getLogger("PreferencesWizard")
- filename = find_resource("glade/configure.glade")
+ filename = find_resource("ui/configure.ui")
_dialog = None
@property
diff --git a/latex/util.py b/latex/util.py
index eae53cc..4ce2898 100644
--- a/latex/util.py
+++ b/latex/util.py
@@ -156,9 +156,6 @@ def verbose(function):
return decorated_function
-#from gtk import glade
-
-
class GladeInterface(object):
"""
Utility base class for interfaces loaded from a Glade definition
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]