aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog17
-rw-r--r--gslapt.glade666
-rw-r--r--po/de.po20
-rw-r--r--po/en.po20
-rw-r--r--po/gslapt.pot29
-rw-r--r--po/pl.po20
-rw-r--r--po/pt.po20
-rw-r--r--po/sv.po20
-rw-r--r--src/callbacks.c84
-rw-r--r--src/interface.c335
10 files changed, 887 insertions, 344 deletions
diff --git a/ChangeLog b/ChangeLog
index 75d6182..8abdaa6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,24 @@
0.3.1 June 03, 2005
- * set busy cursor when rebuilding treeviews, and made most dialogs (except helps) modals
- * fixed duplicate column bug in adding/removing sources and excludes in preferences
+ * regenerated list of installed packages after install/remove/upgrade is
+ complete to correctly display post execute status in treeview
+ * added information in package info notebook about latest available and
+ installed versions
+ * added notification when install/remove/upgrade is complete
+ * set busy cursor when rebuilding treeviews, and made most dialogs (except
+ helps) modals
+ * fixed duplicate column bug in adding/removing sources and excludes in
+ preferences
* added icon legend to the help menu
* added status field to package information tab
* added german translation by Sebastian Jauch
* translation updates
* added missing pkg_action_reinstall.png
* set status icon for downgrades correctly
- * unmark correctly sets status column so status sorting after unmark works as expected
- * removed duplicate code to setup treeview columns for package listing and search listing
+ * unmark correctly sets status column so status sorting after unmark works as
+ expected
+ * removed duplicate code to setup treeview columns for package listing and
+ search listing
* added reset_pkg_view_status() to reset status of package treeview
rather than perform costly clear and repopulate treeview
* properly mark dependencies for install/upgrade/remove
diff --git a/gslapt.glade b/gslapt.glade
index 97e7d85..a42c060 100644
--- a/gslapt.glade
+++ b/gslapt.glade
@@ -1171,7 +1171,7 @@
<child>
<widget class="GtkTable" id="table2">
<property name="visible">True</property>
- <property name="n_rows">4</property>
+ <property name="n_rows">5</property>
<property name="n_columns">2</property>
<property name="homogeneous">False</property>
<property name="row_spacing">6</property>
@@ -1235,9 +1235,9 @@
</child>
<child>
- <widget class="GtkLabel" id="label227">
+ <widget class="GtkLabel" id="label244">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Description:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Location:&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1255,15 +1255,15 @@
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="pkg_info_description">
+ <widget class="GtkLabel" id="pkg_info_location">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes"></property>
@@ -1284,8 +1284,8 @@
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
@@ -1312,8 +1312,8 @@
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
@@ -1340,17 +1340,17 @@
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label244">
+ <widget class="GtkLabel" id="label227">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Location:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Description:&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1368,15 +1368,15 @@
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="pkg_info_location">
+ <widget class="GtkLabel" id="pkg_info_description">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes"></property>
@@ -1397,34 +1397,17 @@
<packing>
<property name="left_attach">1</property>
<property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkTable" id="table3">
- <property name="border_width">1</property>
- <property name="visible">True</property>
- <property name="n_rows">4</property>
- <property name="n_columns">2</property>
- <property name="homogeneous">False</property>
- <property name="row_spacing">6</property>
- <property name="column_spacing">12</property>
<child>
- <widget class="GtkLabel" id="label237">
+ <widget class="GtkLabel" id="label273">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Version:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Version&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1442,19 +1425,19 @@
<packing>
<property name="left_attach">0</property>
<property name="right_attach">1</property>
- <property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="label238">
+ <widget class="GtkLabel" id="pkg_info_version">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Size:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">label274</property>
<property name="use_underline">False</property>
- <property name="use_markup">True</property>
+ <property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
<property name="selectable">False</property>
@@ -1468,47 +1451,32 @@
<property name="angle">0</property>
</widget>
<packing>
- <property name="left_attach">0</property>
- <property name="right_attach">1</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">4</property>
+ <property name="bottom_attach">5</property>
<property name="x_options">fill</property>
<property name="y_options"></property>
</packing>
</child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
- <child>
- <widget class="GtkLabel" id="label239">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Installed Size:&lt;/b&gt;</property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
- </widget>
- <packing>
- <property name="left_attach">0</property>
- <property name="right_attach">1</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
+ <child>
+ <widget class="GtkVBox" id="vbox67">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
<child>
- <widget class="GtkLabel" id="label245">
+ <widget class="GtkLabel" id="label272">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Source:&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Installed Version&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -1524,83 +1492,203 @@
<property name="angle">0</property>
</widget>
<packing>
- <property name="left_attach">0</property>
- <property name="right_attach">1</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="pkg_info_version">
+ <widget class="GtkHBox" id="hbox106">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkLabel" id="label271">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"> </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkTable" id="table3">
+ <property name="border_width">1</property>
+ <property name="visible">True</property>
+ <property name="n_rows">2</property>
+ <property name="n_columns">2</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+
+ <child>
+ <widget class="GtkLabel" id="label237">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Version:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_installed_version">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label239">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Installed Size:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_installed_installed_size">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
</packing>
</child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ </packing>
+ </child>
- <child>
- <widget class="GtkLabel" id="pkg_info_size">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
- </widget>
- <packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
+ <child>
+ <widget class="GtkVBox" id="vbox66">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">6</property>
<child>
- <widget class="GtkLabel" id="pkg_info_installed_size">
+ <widget class="GtkLabel" id="label261">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes"></property>
+ <property name="label" translatable="yes">&lt;b&gt;Latest Available Version&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
<property name="wrap">False</property>
- <property name="selectable">True</property>
+ <property name="selectable">False</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
@@ -1611,48 +1699,294 @@
<property name="angle">0</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
<child>
- <widget class="GtkLabel" id="pkg_info_mirror">
+ <widget class="GtkHBox" id="hbox105">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes"></property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">True</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- <property name="width_chars">-1</property>
- <property name="single_line_mode">False</property>
- <property name="angle">0</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">0</property>
+
+ <child>
+ <widget class="GtkLabel" id="label262">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"> </property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkTable" id="table5">
+ <property name="visible">True</property>
+ <property name="n_rows">4</property>
+ <property name="n_columns">2</property>
+ <property name="homogeneous">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+
+ <child>
+ <widget class="GtkLabel" id="label263">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Version:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label264">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Size:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label265">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Installed Size:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="label266">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Source:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_available_version">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_available_size">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="bottom_attach">2</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_available_installed_size">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+
+ <child>
+ <widget class="GtkLabel" id="pkg_info_available_source">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"></property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">True</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
+ <property name="width_chars">-1</property>
+ <property name="single_line_mode">False</property>
+ <property name="angle">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="bottom_attach">4</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ </packing>
+ </child>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">3</property>
- <property name="bottom_attach">4</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
+ <property name="padding">0</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
</packing>
</child>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
</packing>
</child>
</widget>
diff --git a/po/de.po b/po/de.po
index 36f7be2..a745b48 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Sebastian Jauch <stellarboy653-minislack@yahoo.de>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -103,8 +103,8 @@ msgstr "Installiere"
msgid "Install/Upgrade package"
msgstr "Installiere/Aktualisiere Pakete"
-msgid "Installed Size"
-msgstr "Größe (installiert)"
+msgid "Installed Size:"
+msgstr "Größe (installiert):"
msgid "Installed"
msgstr "Installiert"
@@ -175,8 +175,8 @@ msgstr "Nach Ausdruck suchen"
msgid "Search"
msgstr "Suchen"
-msgid "Size"
-msgstr "Größe"
+msgid "Size:"
+msgstr "Größe:"
msgid "Source"
msgstr "Quelle"
@@ -328,14 +328,11 @@ msgstr "<b>Konflikte:</b>"
msgid "<b>Description:</b>"
msgstr "<b>Beschreibung</b>"
-msgid "<b>Installed Size:</b>"
-msgstr "<b>Größe (installiert):</b>"
-
msgid "<b>Location:</b>"
msgstr "<b>Ort:</b>"
-msgid "<b>Source:</b>"
-msgstr "<b>Source:</b>"
+msgid "Source:"
+msgstr "Source:"
msgid "<b>Name:</b>"
msgstr "<b>Name:</b>"
@@ -349,6 +346,9 @@ msgstr "<b>Größe:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>Vorschlag:</b>"
+msgid "Version:"
+msgstr "Version:"
+
msgid "<b>Version:</b>"
msgstr "<b>Version:</b>"
diff --git a/po/en.po b/po/en.po
index 097d600..4e63293 100644
--- a/po/en.po
+++ b/po/en.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-20 16:24-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -104,8 +104,8 @@ msgstr "Install"
msgid "Install/Upgrade package"
msgstr "Install/Upgrade package"
-msgid "Installed Size"
-msgstr "Installed Size"
+msgid "Installed Size:"
+msgstr "Installed Size:"
msgid "Installed"
msgstr "Installed"
@@ -173,8 +173,8 @@ msgstr "Search for expression"
msgid "Search"
msgstr "Search"
-msgid "Size"
-msgstr "Size"
+msgid "Size:"
+msgstr "Size:"
msgid "Source"
msgstr "Source"
@@ -324,14 +324,11 @@ msgstr "<b>Conflicts:</b>"
msgid "<b>Description:</b>"
msgstr "<b>Description:</b>"
-msgid "<b>Installed Size:</b>"
-msgstr "<b>Installed Size:</b>"
-
msgid "<b>Location:</b>"
msgstr "<b>Location:</b>"
-msgid "<b>Source:</b>"
-msgstr "<b>Source:</b>"
+msgid "Source:"
+msgstr "Source:"
msgid "<b>Name:</b>"
msgstr "<b>Name:</b>"
@@ -345,6 +342,9 @@ msgstr "<b>Size:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>Suggests:</b>"
+msgid "Version:"
+msgstr "Version:"
+
msgid "<b>Version:</b>"
msgstr "<b>Version:</b>"
diff --git a/po/gslapt.pot b/po/gslapt.pot
index cff92be..acc1941 100644
--- a/po/gslapt.pot
+++ b/po/gslapt.pot
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Jason Woodward <woodwardj@jaos.org>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -104,7 +104,7 @@ msgstr ""
msgid "Install/Upgrade package"
msgstr ""
-msgid "Installed Size"
+msgid "Installed Size:"
msgstr ""
msgid "Installed"
@@ -176,7 +176,7 @@ msgstr ""
msgid "Search"
msgstr ""
-msgid "Size"
+msgid "Size:"
msgstr ""
msgid "Source"
@@ -325,13 +325,10 @@ msgstr ""
msgid "<b>Description:</b>"
msgstr ""
-msgid "<b>Installed Size:</b>"
-msgstr ""
-
msgid "<b>Location:</b>"
msgstr ""
-msgid "<b>Source:</b>"
+msgid "Source:"
msgstr ""
msgid "<b>Name:</b>"
@@ -346,6 +343,9 @@ msgstr ""
msgid "<b>Suggests:</b>"
msgstr ""
+msgid "Version:"
+msgstr ""
+
msgid "<b>Version:</b>"
msgstr ""
@@ -409,3 +409,18 @@ msgstr ""
msgid "Icon Legend"
msgstr ""
+msgid "Completed actions"
+msgstr ""
+
+msgid "Successfully executed all actions."
+msgstr ""
+
+msgid "<b>Installed Version</b>"
+msgstr ""
+
+msgid "<b>Latest Available Version</b>"
+msgstr ""
+
+msgid "N/A"
+msgstr ""
+
diff --git a/po/pl.po b/po/pl.po
index a204126..ef6b43a 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-17 14:52-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Piotr Simon <sajmon@tenboard.com>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -158,11 +158,11 @@ msgstr "Lokacja"
msgid "Version"
msgstr "Wersja"
-msgid "Size"
-msgstr "Rozmiar"
+msgid "Size:"
+msgstr "Rozmiar:"
-msgid "Installed Size"
-msgstr "Rozmiar po instalacji"
+msgid "Installed Size:"
+msgstr "Rozmiar po instalacji:"
msgid "Installed"
msgstr "Zainstalowany"
@@ -300,14 +300,11 @@ msgstr "<b>Konflikt:</b>"
msgid "<b>Description:</b>"
msgstr "<b>Opis:</b>"
-msgid "<b>Installed Size:</b>"
-msgstr "<b>Rozmiar po instalacji:</b>"
-
msgid "<b>Location:</b>"
msgstr "<b>Lokacja:</b>"
-msgid "<b>Source:</b>"
-msgstr "<b>Source:</b>"
+msgid "Source:"
+msgstr "Source:"
msgid "<b>Name:</b>"
msgstr "<b>Nazwa:</b>"
@@ -321,6 +318,9 @@ msgstr "<b>Rozmiar:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>Sugerowane:</b>"
+msgid "Version:"
+msgstr "Wersja:"
+
msgid "<b>Version:</b>"
msgstr "<b>Wersja:</b>"
diff --git a/po/pt.po b/po/pt.po
index 419510a..59b3daa 100644
--- a/po/pt.po
+++ b/po/pt.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-05-06 11:10-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Pedro Pinto [aka _PN_boy] <pedro_nuno_pn@zmail.pt>\n"
"Language-Team: slapt-get devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -104,8 +104,8 @@ msgstr "Instalar"
msgid "Install/Upgrade package"
msgstr "Instalar/Upgrade aos pacotes"
-msgid "Installed Size"
-msgstr "Tamanho ocupado após a instalação"
+msgid "Installed Size:"
+msgstr "Tamanho ocupado após a instalação:"
msgid "Installed"
msgstr "Instalado"
@@ -176,8 +176,8 @@ msgstr "Procurar por expressão"
msgid "Search"
msgstr "Procurar"
-msgid "Size"
-msgstr "Tamanho"
+msgid "Size:"
+msgstr "Tamanho:"
msgid "Source"
msgstr "Fonte"
@@ -326,14 +326,11 @@ msgstr "<b>Conflicts:</b>"
msgid "<b>Description:</b>"
msgstr "<b>Description:</b>"
-msgid "<b>Installed Size:</b>"
-msgstr "<b>Installed Size:</b>"
-
msgid "<b>Location:</b>"
msgstr "<b>Location:</b>"
-msgid "<b>Source:</b>"
-msgstr "<b>Source:</b>"
+msgid "Source:"
+msgstr "Source:"
msgid "<b>Name:</b>"
msgstr "<b>Name:</b>"
@@ -347,6 +344,9 @@ msgstr "<b>Size:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>Suggests:</b>"
+msgid "Version:"
+msgstr "Version:"
+
msgid "<b>Version:</b>"
msgstr "<b>Version:</b>"
diff --git a/po/sv.po b/po/sv.po
index 4ea7ea3..c4a9774 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: gslapt 0.3.1\n"
"Report-Msgid-Bugs-To: slapt-get-devel@software.jaos.org\n"
"POT-Creation-Date: 2005-02-26 22:25-0500\n"
-"PO-Revision-Date: 2005-06-03 00:14+0500\n"
+"PO-Revision-Date: 2005-06-03 13:46+0500\n"
"Last-Translator: Hakan Lindqvist <tfy00hlt@cs.umu.se>\n"
"Language-Team: slapt-get-devel <slapt-get-devel@software.jaos.org>\n"
"MIME-Version: 1.0\n"
@@ -104,8 +104,8 @@ msgstr "Installera"
msgid "Install/Upgrade package"
msgstr "Installera/Uppgradera paket"
-msgid "Installed Size"
-msgstr "Storlek som installerad"
+msgid "Installed Size:"
+msgstr "Storlek som installerad:"
msgid "Installed"
msgstr "Installerad"
@@ -176,8 +176,8 @@ msgstr "Sk efter uttrycket"
msgid "Search"
msgstr "Sk"
-msgid "Size"
-msgstr "Storlek"
+msgid "Size:"
+msgstr "Storlek:"
msgid "Source"
msgstr "Klla"
@@ -327,14 +327,11 @@ msgstr "<b>Konflikter:</b>"
msgid "<b>Description:</b>"
msgstr "<b>Beskrivning</b>"
-msgid "<b>Installed Size:</b>"
-msgstr "<b>Storlek som installerad:</b>"
-
msgid "<b>Location:</b>"
msgstr "<b>Lokalisering:</b>"
-msgid "<b>Source:</b>"
-msgstr "<b>Spegling:</b>"
+msgid "Source:"
+msgstr "Spegling:"
msgid "<b>Name:</b>"
msgstr "<b>Namn:<b>"
@@ -348,6 +345,9 @@ msgstr "<b>Storlek:</b>"
msgid "<b>Suggests:</b>"
msgstr "<b>Freslr:</b>"
+msgid "Version:"
+msgstr "Version:"
+
msgid "<b>Version:</b>"
msgstr "<b>Version:</b>"
diff --git a/src/callbacks.c b/src/callbacks.c
index 38c917e..6d30d6d 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -642,37 +642,43 @@ static void fillin_pkg_details(pkg_info_t *pkg)
extern struct pkg_list *all;
extern struct pkg_list *installed;
extern transaction_t *trans;
- gchar size_c[20],size_u[20],*short_desc;
+ gchar *short_desc;
GtkTextBuffer *pkg_full_desc;
+ pkg_info_t *latest_pkg = get_newest_pkg(all,pkg->name);
+ pkg_info_t *installed_pkg = get_newest_pkg(installed,pkg->name);
+ /* set package details */
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_name")),pkg->name);
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_location")),pkg->location);
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_version")),pkg->version);
- if ( pkg->mirror != NULL ) {
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_mirror")),pkg->mirror);
+ short_desc = gen_short_pkg_description(pkg);
+ if (short_desc != NULL) {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_description")),short_desc);
+ free(short_desc);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_description")),"");
}
- sprintf(size_c,"%d K",pkg->size_c);
- sprintf(size_u,"%d K",pkg->size_u);
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_size")),size_c);
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_installed_size")),size_u);
-
+ /* dependency information tab */
if ( pkg->required != NULL ) {
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_required")),pkg->required);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_required")),"");
}
if ( pkg->conflicts != NULL ) {
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_conflicts")),pkg->conflicts);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_conflicts")),"");
}
if ( pkg->suggests != NULL ) {
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_suggests")),pkg->suggests);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_suggests")),"");
}
-
- short_desc = gen_short_pkg_description(pkg);
- gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_description")),short_desc);
- free(short_desc);
-
+ /* description tab */
pkg_full_desc = gtk_text_view_get_buffer(GTK_TEXT_VIEW(lookup_widget(gslapt,"pkg_description_textview")));
gtk_text_buffer_set_text(pkg_full_desc,pkg->description,-1);
+
/* set status */
if ((trans->exclude_pkgs->pkg_count > 0 &&
get_exact_pkg(trans->exclude_pkgs,pkg->name,pkg->version) != NULL) ||
@@ -699,6 +705,34 @@ static void fillin_pkg_details(pkg_info_t *pkg)
} else {
gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_status")),(gchar *)_("Not Installed"));
}
+
+ /* set installed info */
+ if (installed_pkg != NULL) {
+ gchar size_u[20];
+ sprintf(size_u,"%d K",installed_pkg->size_u);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_installed_installed_size")),size_u);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_installed_version")),installed_pkg->version);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_installed_installed_size")),"");
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_installed_version")),"");
+ }
+
+ /* set latest available info */
+ if (latest_pkg != NULL) {
+ gchar latest_size_c[20],latest_size_u[20];
+ sprintf(latest_size_c,"%d K",latest_pkg->size_c);
+ sprintf(latest_size_u,"%d K",latest_pkg->size_u);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_version")),latest_pkg->version);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_source")),latest_pkg->mirror);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_size")),latest_size_c);
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_installed_size")),latest_size_u);
+ } else {
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_version")),"");
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_source")),"");
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_size")),"");
+ gtk_label_set_text(GTK_LABEL(lookup_widget(gslapt,"pkg_info_available_installed_size")),"");
+ }
+
}
static void clear_treeview(GtkTreeView *treeview)
@@ -1083,7 +1117,11 @@ static void lhandle_transaction(GtkWidget *w)
{
GtkCheckButton *dl_only_checkbutton;
gboolean dl_only = FALSE;
+ extern GtkWidget *gslapt;
extern transaction_t *trans;
+ extern struct pkg_list *installed;
+ struct pkg_list *installed_ptr;
+ GdkCursor *c;
gdk_threads_enter();
lock_toolbar_buttons();
@@ -1125,13 +1163,29 @@ static void lhandle_transaction(GtkWidget *w)
return;
}
+ /* set busy cursor */
+ c = gdk_cursor_new(GDK_WATCH);
+ gdk_threads_enter();
+ clear_execute_active();
+ gdk_window_set_cursor(gslapt->window,c);
+ gdk_flush();
+ gdk_threads_leave();
+ gdk_cursor_destroy(c);
+
free_transaction(trans);
init_transaction(trans);
+ /* rebuild the installed list */
+ installed_ptr = installed;
+ installed = get_installed_pkgs();
+ free_pkg_list(installed_ptr);
gdk_threads_enter();
- unlock_toolbar_buttons();
+ /* reset cursor */
+ gdk_window_set_cursor(gslapt->window,NULL);
+ gdk_flush();
reset_pkg_view_status();
- clear_execute_active();
+ unlock_toolbar_buttons();
+ notify((gchar *)_("Completed actions"),(gchar *)_("Successfully executed all actions."));
gdk_threads_leave();
}
diff --git a/src/interface.c b/src/interface.c
index 04d455b..4f38429 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -456,21 +456,36 @@ create_gslapt (void)
GtkWidget *table2;
GtkWidget *label226;
GtkWidget *pkg_info_name;
- GtkWidget *label227;
- GtkWidget *pkg_info_description;
- GtkWidget *label250;
- GtkWidget *pkg_info_status;
GtkWidget *label244;
GtkWidget *pkg_info_location;
+ GtkWidget *label250;
+ GtkWidget *pkg_info_status;
+ GtkWidget *label227;
+ GtkWidget *pkg_info_description;
+ GtkWidget *label273;
+ GtkWidget *pkg_info_version;
+ GtkWidget *vbox67;
+ GtkWidget *label272;
+ GtkWidget *hbox106;
+ GtkWidget *label271;
GtkWidget *table3;
GtkWidget *label237;
- GtkWidget *label238;
+ GtkWidget *pkg_info_installed_version;
GtkWidget *label239;
- GtkWidget *label245;
- GtkWidget *pkg_info_version;
- GtkWidget *pkg_info_size;
- GtkWidget *pkg_info_installed_size;
- GtkWidget *pkg_info_mirror;
+ GtkWidget *pkg_info_installed_installed_size;
+ GtkWidget *vbox66;
+ GtkWidget *label261;
+ GtkWidget *hbox105;
+ GtkWidget *label262;
+ GtkWidget *table5;
+ GtkWidget *label263;
+ GtkWidget *label264;
+ GtkWidget *label265;
+ GtkWidget *label266;
+ GtkWidget *pkg_info_available_version;
+ GtkWidget *pkg_info_available_size;
+ GtkWidget *pkg_info_available_installed_size;
+ GtkWidget *pkg_info_available_source;
GtkWidget *pkg_info_common_label;
GtkWidget *vbox64;
GtkWidget *scrolledwindow19;
@@ -706,7 +721,7 @@ create_gslapt (void)
gtk_container_add (GTK_CONTAINER (viewport1), vbox63);
gtk_container_set_border_width (GTK_CONTAINER (vbox63), 6);
- table2 = gtk_table_new (4, 2, FALSE);
+ table2 = gtk_table_new (5, 2, FALSE);
gtk_widget_set_name (table2, "table2");
gtk_widget_show (table2);
gtk_box_pack_start (GTK_BOX (vbox63), table2, FALSE, FALSE, 0);
@@ -733,30 +748,30 @@ create_gslapt (void)
gtk_label_set_selectable (GTK_LABEL (pkg_info_name), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_name), 0, 0.5);
- label227 = gtk_label_new (_("<b>Description:</b>"));
- gtk_widget_set_name (label227, "label227");
- gtk_widget_show (label227);
- gtk_table_attach (GTK_TABLE (table2), label227, 0, 1, 2, 3,
+ label244 = gtk_label_new (_("<b>Location:</b>"));
+ gtk_widget_set_name (label244, "label244");
+ gtk_widget_show (label244);
+ gtk_table_attach (GTK_TABLE (table2), label244, 0, 1, 3, 4,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label227), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label227), 0, 0.5);
+ gtk_label_set_use_markup (GTK_LABEL (label244), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label244), 0, 0.5);
- pkg_info_description = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_description, "pkg_info_description");
- gtk_widget_show (pkg_info_description);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_description, 1, 2, 2, 3,
+ pkg_info_location = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_location, "pkg_info_location");
+ gtk_widget_show (pkg_info_location);
+ gtk_table_attach (GTK_TABLE (table2), pkg_info_location, 1, 2, 3, 4,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_description, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_description), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_description), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_description), 0, 0.5);
+ GTK_WIDGET_SET_FLAGS (pkg_info_location, GTK_CAN_FOCUS);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_location), TRUE);
+ gtk_label_set_selectable (GTK_LABEL (pkg_info_location), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_location), 0, 0.5);
label250 = gtk_label_new (_("<b>Status:</b>"));
gtk_widget_set_name (label250, "label250");
gtk_widget_show (label250);
- gtk_table_attach (GTK_TABLE (table2), label250, 0, 1, 1, 2,
+ gtk_table_attach (GTK_TABLE (table2), label250, 0, 1, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_use_markup (GTK_LABEL (label250), TRUE);
@@ -765,41 +780,81 @@ create_gslapt (void)
pkg_info_status = gtk_label_new ("");
gtk_widget_set_name (pkg_info_status, "pkg_info_status");
gtk_widget_show (pkg_info_status);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_status, 1, 2, 1, 2,
+ gtk_table_attach (GTK_TABLE (table2), pkg_info_status, 1, 2, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_use_markup (GTK_LABEL (pkg_info_status), TRUE);
gtk_misc_set_alignment (GTK_MISC (pkg_info_status), 0, 0.5);
- label244 = gtk_label_new (_("<b>Location:</b>"));
- gtk_widget_set_name (label244, "label244");
- gtk_widget_show (label244);
- gtk_table_attach (GTK_TABLE (table2), label244, 0, 1, 3, 4,
+ label227 = gtk_label_new (_("<b>Description:</b>"));
+ gtk_widget_set_name (label227, "label227");
+ gtk_widget_show (label227);
+ gtk_table_attach (GTK_TABLE (table2), label227, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label244), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label244), 0, 0.5);
+ gtk_label_set_use_markup (GTK_LABEL (label227), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label227), 0, 0.5);
- pkg_info_location = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_location, "pkg_info_location");
- gtk_widget_show (pkg_info_location);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_location, 1, 2, 3, 4,
+ pkg_info_description = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_description, "pkg_info_description");
+ gtk_widget_show (pkg_info_description);
+ gtk_table_attach (GTK_TABLE (table2), pkg_info_description, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_location, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_location), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_location), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_location), 0, 0.5);
+ GTK_WIDGET_SET_FLAGS (pkg_info_description, GTK_CAN_FOCUS);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_description), TRUE);
+ gtk_label_set_selectable (GTK_LABEL (pkg_info_description), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_description), 0, 0.5);
+
+ label273 = gtk_label_new (_("<b>Version</b>"));
+ gtk_widget_set_name (label273, "label273");
+ gtk_widget_show (label273);
+ gtk_table_attach (GTK_TABLE (table2), label273, 0, 1, 4, 5,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_label_set_use_markup (GTK_LABEL (label273), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label273), 0, 0.5);
+
+ pkg_info_version = gtk_label_new (_("label274"));
+ gtk_widget_set_name (pkg_info_version, "pkg_info_version");
+ gtk_widget_show (pkg_info_version);
+ gtk_table_attach (GTK_TABLE (table2), pkg_info_version, 1, 2, 4, 5,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_version), 0, 0.5);
- table3 = gtk_table_new (4, 2, FALSE);
+ vbox67 = gtk_vbox_new (FALSE, 0);
+ gtk_widget_set_name (vbox67, "vbox67");
+ gtk_widget_show (vbox67);
+ gtk_box_pack_start (GTK_BOX (vbox63), vbox67, FALSE, FALSE, 0);
+
+ label272 = gtk_label_new (_("<b>Installed Version</b>"));
+ gtk_widget_set_name (label272, "label272");
+ gtk_widget_show (label272);
+ gtk_box_pack_start (GTK_BOX (vbox67), label272, FALSE, FALSE, 0);
+ gtk_label_set_use_markup (GTK_LABEL (label272), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label272), 0, 0.5);
+
+ hbox106 = gtk_hbox_new (FALSE, 0);
+ gtk_widget_set_name (hbox106, "hbox106");
+ gtk_widget_show (hbox106);
+ gtk_box_pack_start (GTK_BOX (vbox67), hbox106, TRUE, TRUE, 0);
+
+ label271 = gtk_label_new (_(" "));
+ gtk_widget_set_name (label271, "label271");
+ gtk_widget_show (label271);
+ gtk_box_pack_start (GTK_BOX (hbox106), label271, FALSE, FALSE, 0);
+ gtk_misc_set_alignment (GTK_MISC (label271), 0, 0.5);
+
+ table3 = gtk_table_new (2, 2, FALSE);
gtk_widget_set_name (table3, "table3");
gtk_widget_show (table3);
- gtk_box_pack_start (GTK_BOX (vbox63), table3, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (hbox106), table3, TRUE, TRUE, 0);
gtk_container_set_border_width (GTK_CONTAINER (table3), 1);
gtk_table_set_row_spacings (GTK_TABLE (table3), 6);
gtk_table_set_col_spacings (GTK_TABLE (table3), 12);
- label237 = gtk_label_new (_("<b>Version:</b>"));
+ label237 = gtk_label_new (_("Version:"));
gtk_widget_set_name (label237, "label237");
gtk_widget_show (label237);
gtk_table_attach (GTK_TABLE (table3), label237, 0, 1, 0, 1,
@@ -808,76 +863,137 @@ create_gslapt (void)
gtk_label_set_use_markup (GTK_LABEL (label237), TRUE);
gtk_misc_set_alignment (GTK_MISC (label237), 0, 0.5);
- label238 = gtk_label_new (_("<b>Size:</b>"));
- gtk_widget_set_name (label238, "label238");
- gtk_widget_show (label238);
- gtk_table_attach (GTK_TABLE (table3), label238, 0, 1, 1, 2,
+ pkg_info_installed_version = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_installed_version, "pkg_info_installed_version");
+ gtk_widget_show (pkg_info_installed_version);
+ gtk_table_attach (GTK_TABLE (table3), pkg_info_installed_version, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label238), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label238), 0, 0.5);
+ GTK_WIDGET_SET_FLAGS (pkg_info_installed_version, GTK_CAN_FOCUS);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_installed_version), TRUE);
+ gtk_label_set_selectable (GTK_LABEL (pkg_info_installed_version), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_installed_version), 0, 0.5);
- label239 = gtk_label_new (_("<b>Installed Size:</b>"));
+ label239 = gtk_label_new (_("Installed Size:"));
gtk_widget_set_name (label239, "label239");
gtk_widget_show (label239);
- gtk_table_attach (GTK_TABLE (table3), label239, 0, 1, 2, 3,
+ gtk_table_attach (GTK_TABLE (table3), label239, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_label_set_use_markup (GTK_LABEL (label239), TRUE);
gtk_misc_set_alignment (GTK_MISC (label239), 0, 0.5);
- label245 = gtk_label_new (_("<b>Source:</b>"));
- gtk_widget_set_name (label245, "label245");
- gtk_widget_show (label245);
- gtk_table_attach (GTK_TABLE (table3), label245, 0, 1, 3, 4,
+ pkg_info_installed_installed_size = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_installed_installed_size, "pkg_info_installed_installed_size");
+ gtk_widget_show (pkg_info_installed_installed_size);
+ gtk_table_attach (GTK_TABLE (table3), pkg_info_installed_installed_size, 1, 2, 1, 2,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ GTK_WIDGET_SET_FLAGS (pkg_info_installed_installed_size, GTK_CAN_FOCUS);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_installed_installed_size), TRUE);
+ gtk_label_set_selectable (GTK_LABEL (pkg_info_installed_installed_size), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_installed_installed_size), 0, 0.5);
+
+ vbox66 = gtk_vbox_new (FALSE, 6);
+ gtk_widget_set_name (vbox66, "vbox66");
+ gtk_widget_show (vbox66);
+ gtk_box_pack_start (GTK_BOX (vbox63), vbox66, TRUE, TRUE, 0);
+
+ label261 = gtk_label_new (_("<b>Latest Available Version</b>"));
+ gtk_widget_set_name (label261, "label261");
+ gtk_widget_show (label261);
+ gtk_box_pack_start (GTK_BOX (vbox66), label261, FALSE, FALSE, 0);
+ gtk_label_set_use_markup (GTK_LABEL (label261), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label261), 0, 0.5);
+
+ hbox105 = gtk_hbox_new (FALSE, 0);
+ gtk_widget_set_name (hbox105, "hbox105");
+ gtk_widget_show (hbox105);
+ gtk_box_pack_start (GTK_BOX (vbox66), hbox105, TRUE, TRUE, 0);
+
+ label262 = gtk_label_new (_(" "));
+ gtk_widget_set_name (label262, "label262");
+ gtk_widget_show (label262);
+ gtk_box_pack_start (GTK_BOX (hbox105), label262, FALSE, TRUE, 0);
+
+ table5 = gtk_table_new (4, 2, FALSE);
+ gtk_widget_set_name (table5, "table5");
+ gtk_widget_show (table5);
+ gtk_box_pack_start (GTK_BOX (hbox105), table5, TRUE, TRUE, 0);
+ gtk_table_set_row_spacings (GTK_TABLE (table5), 6);
+ gtk_table_set_col_spacings (GTK_TABLE (table5), 12);
+
+ label263 = gtk_label_new (_("Version:"));
+ gtk_widget_set_name (label263, "label263");
+ gtk_widget_show (label263);
+ gtk_table_attach (GTK_TABLE (table5), label263, 0, 1, 0, 1,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_label_set_use_markup (GTK_LABEL (label263), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label263), 0, 0.5);
+
+ label264 = gtk_label_new (_("Size:"));
+ gtk_widget_set_name (label264, "label264");
+ gtk_widget_show (label264);
+ gtk_table_attach (GTK_TABLE (table5), label264, 0, 1, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label245), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label245), 0, 0.5);
+ gtk_label_set_use_markup (GTK_LABEL (label264), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label264), 0, 0.5);
- pkg_info_version = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_version, "pkg_info_version");
- gtk_widget_show (pkg_info_version);
- gtk_table_attach (GTK_TABLE (table3), pkg_info_version, 1, 2, 0, 1,
+ label265 = gtk_label_new (_("Installed Size:"));
+ gtk_widget_set_name (label265, "label265");
+ gtk_widget_show (label265);
+ gtk_table_attach (GTK_TABLE (table5), label265, 0, 1, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_version, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_version), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_version), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_version), 0, 0.5);
+ gtk_label_set_use_markup (GTK_LABEL (label265), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label265), 0, 0.5);
+
+ label266 = gtk_label_new (_("Source:"));
+ gtk_widget_set_name (label266, "label266");
+ gtk_widget_show (label266);
+ gtk_table_attach (GTK_TABLE (table5), label266, 0, 1, 3, 4,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_label_set_use_markup (GTK_LABEL (label266), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (label266), 0, 0.5);
+
+ pkg_info_available_version = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_available_version, "pkg_info_available_version");
+ gtk_widget_show (pkg_info_available_version);
+ gtk_table_attach (GTK_TABLE (table5), pkg_info_available_version, 1, 2, 0, 1,
+ (GtkAttachOptions) (GTK_FILL),
+ (GtkAttachOptions) (0), 0, 0);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_version), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_available_version), 0, 0.5);
- pkg_info_size = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_size, "pkg_info_size");
- gtk_widget_show (pkg_info_size);
- gtk_table_attach (GTK_TABLE (table3), pkg_info_size, 1, 2, 1, 2,
+ pkg_info_available_size = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_available_size, "pkg_info_available_size");
+ gtk_widget_show (pkg_info_available_size);
+ gtk_table_attach (GTK_TABLE (table5), pkg_info_available_size, 1, 2, 1, 2,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_size, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_size), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_size), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_size), 0, 0.5);
-
- pkg_info_installed_size = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_installed_size, "pkg_info_installed_size");
- gtk_widget_show (pkg_info_installed_size);
- gtk_table_attach (GTK_TABLE (table3), pkg_info_installed_size, 1, 2, 2, 3,
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_size), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_available_size), 0, 0.5);
+
+ pkg_info_available_installed_size = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_available_installed_size, "pkg_info_available_installed_size");
+ gtk_widget_show (pkg_info_available_installed_size);
+ gtk_table_attach (GTK_TABLE (table5), pkg_info_available_installed_size, 1, 2, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_installed_size, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_installed_size), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_installed_size), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_installed_size), 0, 0.5);
-
- pkg_info_mirror = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_mirror, "pkg_info_mirror");
- gtk_widget_show (pkg_info_mirror);
- gtk_table_attach (GTK_TABLE (table3), pkg_info_mirror, 1, 2, 3, 4,
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_installed_size), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_available_installed_size), 0, 0.5);
+
+ pkg_info_available_source = gtk_label_new ("");
+ gtk_widget_set_name (pkg_info_available_source, "pkg_info_available_source");
+ gtk_widget_show (pkg_info_available_source);
+ gtk_table_attach (GTK_TABLE (table5), pkg_info_available_source, 1, 2, 3, 4,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_mirror, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_mirror), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_mirror), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_mirror), 0, 0.5);
+ gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_source), TRUE);
+ gtk_misc_set_alignment (GTK_MISC (pkg_info_available_source), 0, 0.5);
pkg_info_common_label = gtk_label_new (_("Common"));
gtk_widget_set_name (pkg_info_common_label, "pkg_info_common_label");
@@ -1081,21 +1197,36 @@ create_gslapt (void)
GLADE_HOOKUP_OBJECT (gslapt, table2, "table2");
GLADE_HOOKUP_OBJECT (gslapt, label226, "label226");
GLADE_HOOKUP_OBJECT (gslapt, pkg_info_name, "pkg_info_name");
- GLADE_HOOKUP_OBJECT (gslapt, label227, "label227");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_description, "pkg_info_description");
- GLADE_HOOKUP_OBJECT (gslapt, label250, "label250");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_status, "pkg_info_status");
GLADE_HOOKUP_OBJECT (gslapt, label244, "label244");
GLADE_HOOKUP_OBJECT (gslapt, pkg_info_location, "pkg_info_location");
+ GLADE_HOOKUP_OBJECT (gslapt, label250, "label250");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_status, "pkg_info_status");
+ GLADE_HOOKUP_OBJECT (gslapt, label227, "label227");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_description, "pkg_info_description");
+ GLADE_HOOKUP_OBJECT (gslapt, label273, "label273");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_version, "pkg_info_version");
+ GLADE_HOOKUP_OBJECT (gslapt, vbox67, "vbox67");
+ GLADE_HOOKUP_OBJECT (gslapt, label272, "label272");
+ GLADE_HOOKUP_OBJECT (gslapt, hbox106, "hbox106");
+ GLADE_HOOKUP_OBJECT (gslapt, label271, "label271");
GLADE_HOOKUP_OBJECT (gslapt, table3, "table3");
GLADE_HOOKUP_OBJECT (gslapt, label237, "label237");
- GLADE_HOOKUP_OBJECT (gslapt, label238, "label238");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_installed_version, "pkg_info_installed_version");
GLADE_HOOKUP_OBJECT (gslapt, label239, "label239");
- GLADE_HOOKUP_OBJECT (gslapt, label245, "label245");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_version, "pkg_info_version");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_size, "pkg_info_size");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_installed_size, "pkg_info_installed_size");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_mirror, "pkg_info_mirror");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_installed_installed_size, "pkg_info_installed_installed_size");
+ GLADE_HOOKUP_OBJECT (gslapt, vbox66, "vbox66");
+ GLADE_HOOKUP_OBJECT (gslapt, label261, "label261");
+ GLADE_HOOKUP_OBJECT (gslapt, hbox105, "hbox105");
+ GLADE_HOOKUP_OBJECT (gslapt, label262, "label262");
+ GLADE_HOOKUP_OBJECT (gslapt, table5, "table5");
+ GLADE_HOOKUP_OBJECT (gslapt, label263, "label263");
+ GLADE_HOOKUP_OBJECT (gslapt, label264, "label264");
+ GLADE_HOOKUP_OBJECT (gslapt, label265, "label265");
+ GLADE_HOOKUP_OBJECT (gslapt, label266, "label266");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_available_version, "pkg_info_available_version");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_available_size, "pkg_info_available_size");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_available_installed_size, "pkg_info_available_installed_size");
+ GLADE_HOOKUP_OBJECT (gslapt, pkg_info_available_source, "pkg_info_available_source");
GLADE_HOOKUP_OBJECT (gslapt, pkg_info_common_label, "pkg_info_common_label");
GLADE_HOOKUP_OBJECT (gslapt, vbox64, "vbox64");
GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow19, "scrolledwindow19");