[d-feet] Remove references to the obsoleted paned_buswatch



commit e2c53f290547d0e33ef77735b695232dcdd8b601
Author: Zheng Li <dev zheng li>
Date:   Tue Apr 15 17:48:23 2014 +0100

    Remove references to the obsoleted paned_buswatch
    
    The "paned_buswatch" property was replaced during the transition from TreeView
    to GtkListBox (cset: af222fc548). Some references seemed to be left over.
    These stopped "Connect to other bus" feature from working properly.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728279

 src/dfeet/bus_watch.py |    2 +-
 src/dfeet/window.py    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/dfeet/bus_watch.py b/src/dfeet/bus_watch.py
index bcee717..091f0d5 100644
--- a/src/dfeet/bus_watch.py
+++ b/src/dfeet/bus_watch.py
@@ -373,7 +373,7 @@ if __name__ == "__main__":
     win = Gtk.Window()
     win.connect("delete-event", Gtk.main_quit)
     win.set_default_size(1024, 768)
-    win.add(bw.paned_buswatch)
+    win.add(bw.box_bus)
     win.show_all()
     try:
         Gtk.main()
diff --git a/src/dfeet/window.py b/src/dfeet/window.py
index 39a6d3e..e500a91 100644
--- a/src/dfeet/window.py
+++ b/src/dfeet/window.py
@@ -163,7 +163,7 @@ class DFeetWindow(Gtk.ApplicationWindow):
             else:
                 try:
                     bw = BusWatch(self.data_dir, address)
-                    self.stack.add_titled(bw.paned_buswatch, address, address)
+                    self.stack.add_titled(bw.box_bus, address, address)
                     # Fill history
                     if address in self.bus_history:
                         self.bus_history.remove(address)


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