[gedit-latex] Fix (remove) unused bibtex prefs
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-latex] Fix (remove) unused bibtex prefs
- Date: Thu, 30 Jun 2011 23:47:17 +0000 (UTC)
commit f6b34568a4a129f7a8906389e2439121549d4c52
Author: John Stowers <john stowers gmail com>
Date: Thu Jun 30 17:23:30 2011 +1200
Fix (remove) unused bibtex prefs
latex/preferences/dialog.py | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
---
diff --git a/latex/preferences/dialog.py b/latex/preferences/dialog.py
index 447b9bc..882ad67 100644
--- a/latex/preferences/dialog.py
+++ b/latex/preferences/dialog.py
@@ -327,25 +327,9 @@ class PreferencesDialog(GladeInterface):
@property
def dialog(self):
if not self._dialog:
- self._preferences = Preferences()
-
self._dialog = self.find_widget("notebook1")
- #
- # recent bibliographies
- #
- self._storeBibs = Gtk.ListStore(str)
-
-# for bib in self._preferences.bibliographies:
-# self._storeBibs.append([bib.filename])
-
- self._viewBibs = self.find_widget("treeviewBibs")
- self._viewBibs.set_model(self._storeBibs)
- _insert_column_with_attributes(self._viewBibs, -1, "Filename", Gtk.CellRendererText(), text=0)
-
- #
- # tools
- #
+ self._preferences = Preferences()
self._tool_preferences = ToolPreferences()
# grab widgets
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]