[meld] filediff: Allow changing primary text for files-identical notification
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] filediff: Allow changing primary text for files-identical notification
- Date: Sat, 7 Feb 2015 23:45:43 +0000 (UTC)
commit 98cf9f0b3b229a1cc56dda507a03ec37f9300f79
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Feb 8 08:22:10 2015 +1000
filediff: Allow changing primary text for files-identical notification
meld/filediff.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index c56c381..ccff023 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -1422,6 +1422,7 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
if self.num_panes == 1 or error_message:
return
for index, mgr in enumerate(self.msgarea_mgr):
+ primary = _("Files are identical")
secondary_text = None
# TODO: Currently this only checks to see whether text filters
# are active, and may be altering the comparison. It would be
@@ -1434,9 +1435,8 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
"Would you like to compare the "
"unfiltered files?")
- msgarea = mgr.new_from_text_and_icon(Gtk.STOCK_INFO,
- _("Files are identical"),
- secondary_text)
+ msgarea = mgr.new_from_text_and_icon(
+ Gtk.STOCK_INFO, primary, secondary_text)
mgr.set_msg_id(FileDiff.MSG_SAME)
button = msgarea.add_button(_("Hide"), Gtk.ResponseType.CLOSE)
if index == 0:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]