summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-07-05 03:16:04 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-07-05 03:16:04 +0200
commit794bca2b17086ff4fa89bda6c0915815571d2aa9 (patch)
tree8314e86546e04c64e1befd3d82b37bb5e080866a /portato/gui
parent69c297fe956f174af2525ea94c07a17833674548 (diff)
downloadportato-794bca2b17086ff4fa89bda6c0915815571d2aa9.tar.gz
portato-794bca2b17086ff4fa89bda6c0915815571d2aa9.tar.bz2
portato-794bca2b17086ff4fa89bda6c0915815571d2aa9.zip
Also port FilesDetail
Diffstat (limited to 'portato/gui')
-rw-r--r--portato/gui/templates/MainWindow.ui23
-rw-r--r--portato/gui/windows/main.py11
2 files changed, 0 insertions, 34 deletions
diff --git a/portato/gui/templates/MainWindow.ui b/portato/gui/templates/MainWindow.ui
index e26a337..5577f9b 100644
--- a/portato/gui/templates/MainWindow.ui
+++ b/portato/gui/templates/MainWindow.ui
@@ -803,29 +803,6 @@
<property name="tab_fill">False</property>
</packing>
</child>
- <child>
- <object class="GtkScrolledWindow" id="filesScroll">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- <child type="tab">
- <object class="GtkLabel" id="label2">
- <property name="visible">True</property>
- <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="label" translatable="yes">Files</property>
- </object>
- <packing>
- <property name="position">5</property>
- <property name="tab_fill">False</property>
- </packing>
- </child>
</object>
<packing>
<property name="position">1</property>
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 0eec034..184d29b 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -98,7 +98,6 @@ class PackageTable:
# views
self.views = map (lambda x: self.tree.get_widget(x).get_child(),
[
- "filesScroll",
"dependencyScroll", "useListScroll"
])
@@ -523,16 +522,6 @@ class MainWindow (Window):
# the different scrolls
- def show_files (p):
- try:
- for f in p.get_files():
- yield " %s\n" % f
- except IOError, e:
- yield _("Error: %s") % e.strerror
-
- filesScroll = self.tree.get_widget("filesScroll")
- filesScroll.add(InstalledOnlyView(show_files))
-
depScroll = self.tree.get_widget("dependencyScroll")
depScroll.add(self.build_dep_list())