[meld] Rename our language selector



commit 523f1d5d9b5428ecc627dfc421bb696164ca2fb5
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Nov 26 06:44:48 2017 +1000

    Rename our language selector

 ...light-mode-selector.ui => language-selector.ui} |    0
 meld/ui/bufferselectors.py                         |    2 +-
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/gedit-highlight-mode-selector.ui b/data/ui/language-selector.ui
similarity index 100%
rename from data/ui/gedit-highlight-mode-selector.ui
rename to data/ui/language-selector.ui
diff --git a/meld/ui/bufferselectors.py b/meld/ui/bufferselectors.py
index e62734a..57ea4ab 100644
--- a/meld/ui/bufferselectors.py
+++ b/meld/ui/bufferselectors.py
@@ -77,6 +77,6 @@ class SourceLangSelector(FilteredListSelector, Gtk.Grid):
 # TODO: When there's proper pygobject support for widget templates,
 # make both selectors here use a generic UI file. We can't do this
 # currently due to subclassing issues.
-template = open(ui_file('gedit-highlight-mode-selector.ui'), 'rb').read()
+template = open(ui_file('language-selector.ui'), 'rb').read()
 template_bytes = GLib.Bytes.new(template)
 SourceLangSelector.set_template(template_bytes)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]