summaryrefslogtreecommitdiff
path: root/portato/gui/templates
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 14:41:36 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-10-05 14:41:36 +0200
commit7a5d63304dbc17dccad6f98bcd22144b164d057f (patch)
tree89f1d5855d1f17e151949911027d4b86587bf8d5 /portato/gui/templates
parent5ae4fda6f6fdcc8a21253dd6dc9d6051c99af34f (diff)
downloadportato-7a5d63304dbc17dccad6f98bcd22144b164d057f.tar.gz
portato-7a5d63304dbc17dccad6f98bcd22144b164d057f.tar.bz2
portato-7a5d63304dbc17dccad6f98bcd22144b164d057f.zip
Add uninstall button and rename to PkgListWindow
Diffstat (limited to '')
-rw-r--r--portato/gui/templates/UpdateWindow.ui19
1 files changed, 17 insertions, 2 deletions
diff --git a/portato/gui/templates/UpdateWindow.ui b/portato/gui/templates/UpdateWindow.ui
index ec8288e..fdcdb23 100644
--- a/portato/gui/templates/UpdateWindow.ui
+++ b/portato/gui/templates/UpdateWindow.ui
@@ -2,9 +2,8 @@
<interface>
<requires lib="gtk+" version="2.14"/>
<!-- interface-naming-policy toplevel-contextual -->
- <object class="GtkWindow" id="UpdateWindow">
+ <object class="GtkWindow" id="PkgListWindow">
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
- <property name="title" translatable="yes">Updatable Packages</property>
<property name="window_position">center-on-parent</property>
<property name="destroy_with_parent">True</property>
<property name="urgency_hint">True</property>
@@ -92,6 +91,22 @@
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <object class="GtkButton" id="uninstallBtn">
+ <property name="label" translatable="yes">_Uninstall Selected</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">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="use_underline">True</property>
+ <signal name="clicked" handler="cb_uninstall_clicked"/>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>