[meld] Unset statusbar size requests for cursor positions (closes bgo#602128)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Unset statusbar size requests for cursor positions (closes bgo#602128)
- Date: Thu, 18 Apr 2013 20:03:56 +0000 (UTC)
commit bbabc99d22ff843308053066ec789d67439814a1
Author: Kai Willadsen <kai willadsen gmail com>
Date: Fri Apr 19 06:00:44 2013 +1000
Unset statusbar size requests for cursor positions (closes bgo#602128)
There doesn't seem to be any good reason to set size requests here,
since we can't know how long line/column strings can be.
meld/filediff.py | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 18bf137..50714aa 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -275,10 +275,8 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
self.connect("next-conflict-changed", self.on_next_conflict_changed)
overwrite_label = gtk.Label()
- overwrite_label.set_size_request(50, -1)
overwrite_label.show()
cursor_label = gtk.Label()
- cursor_label.set_size_request(150, -1)
cursor_label.show()
self.status_info_labels = [overwrite_label, cursor_label]
@@ -384,10 +382,6 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
insert_overwrite = self._insert_overwrite_text[self.textview_overwrite]
line_column = self._line_column_text % (line + 1, offset + 1)
- status = "%s : %s" % (insert_overwrite, line_column)
- # FIXME: Think this status-changed is wrong...
- # self.emit("status-changed", status)
-
self.status_info_labels[0].set_text(insert_overwrite)
self.status_info_labels[1].set_text(line_column)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]