summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2014-06-22 23:39:16 -0400
committerJason Woodward2014-06-23 20:40:41 -0400
commitf9374fd76c674ad8c75bc08a45dcd60806d54bdd (patch)
tree67d9d7f0ee5d597f4c93acd67655db6652267eab
parent21ffb87c7c3772119f5f553af1df1806e1809dc3 (diff)
downloadgslapt-f9374fd76c674ad8c75bc08a45dcd60806d54bdd.tar.gz
remove old glade cruft
-rw-r--r--Makefile.am10
-rw-r--r--gslapt.glade5435
-rw-r--r--gslapt.gladep9
-rw-r--r--src/Makefile.am1
-rw-r--r--src/callbacks.c2
-rw-r--r--src/callbacks.h30
-rw-r--r--src/interface.c3052
-rw-r--r--src/interface.h17
-rw-r--r--src/main.c2
-rw-r--r--src/support.c144
-rw-r--r--src/support.h69
-rw-r--r--ui/Makefile.am18
-rw-r--r--ui/gslapt.png (renamed from pixmaps/gslapt.png)bin2803 -> 2803 bytes
-rw-r--r--ui/pkg_action_available.png (renamed from pixmaps/pkg_action_available.png)bin305 -> 305 bytes
-rw-r--r--ui/pkg_action_available_excluded.png (renamed from pixmaps/pkg_action_available_excluded.png)bin606 -> 606 bytes
-rw-r--r--ui/pkg_action_downgrade.png (renamed from pixmaps/pkg_action_downgrade.png)bin471 -> 471 bytes
-rw-r--r--ui/pkg_action_install.png (renamed from pixmaps/pkg_action_install.png)bin643 -> 643 bytes
-rw-r--r--ui/pkg_action_installed.png (renamed from pixmaps/pkg_action_installed.png)bin167 -> 167 bytes
-rw-r--r--ui/pkg_action_installed_excluded.png (renamed from pixmaps/pkg_action_installed_excluded.png)bin496 -> 496 bytes
-rw-r--r--ui/pkg_action_reinstall.png (renamed from pixmaps/pkg_action_reinstall.png)bin518 -> 518 bytes
-rw-r--r--ui/pkg_action_remove.png (renamed from pixmaps/pkg_action_remove.png)bin591 -> 591 bytes
-rw-r--r--ui/pkg_action_upgrade.png (renamed from pixmaps/pkg_action_upgrade.png)bin481 -> 481 bytes
22 files changed, 46 insertions, 8743 deletions
diff --git a/Makefile.am b/Makefile.am
index 5180a2c..2867a6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -37,15 +37,7 @@ install-data-local:
$(INSTALL_DATA) gslapt-kde.desktop $(DESTDIR)/$(datadir)/applications/gslapt-kde.desktop; \
$(INSTALL_DATA) series_map.rc $(DESTDIR)/$(pkgdatadir)/; \
$(mkinstalldirs) $(DESTDIR)/$(datadir)/pixmaps; \
- $(INSTALL_DATA) pixmaps/gslapt.png $(DESTDIR)/$(datadir)/pixmaps/; \
- if test -d $(srcdir)/pixmaps; then \
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/ui; \
- for pixmap in $(srcdir)/pixmaps/*; do \
- if test -f $$pixmap; then \
- $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/ui; \
- fi \
- done \
- fi
+ $(INSTALL_DATA) ui/gslapt.png $(DESTDIR)/$(datadir)/pixmaps/
dist-hook:
if test -d pixmaps; then \
diff --git a/gslapt.glade b/gslapt.glade
deleted file mode 100644
index 60f7417..0000000
--- a/gslapt.glade
+++ /dev/null
@@ -1,5435 +0,0 @@
-<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
-
-<glade-interface>
-
-<widget class="GtkWindow" id="window_preferences">
- <property name="title" translatable="yes">Preferences</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="default_width">400</property>
- <property name="default_height">300</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="destroy_event" handler="gtk_widget_destroy" last_modification_time="Sat, 05 Feb 2005 19:57:33 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="preferences_vbox">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkNotebook" id="preferences_notebook">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="show_tabs">True</property>
- <property name="show_border">True</property>
- <property name="tab_pos">GTK_POS_TOP</property>
- <property name="scrollable">False</property>
- <property name="enable_popup">False</property>
-
- <child>
- <widget class="GtkVBox" id="preferences_working_dir_vbox">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">18</property>
-
- <child>
- <widget class="GtkVBox" id="preferences_working_dir_vbox_vbox">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="preferences_working_dir_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Package and data storage&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="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox3">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label72">
- <property name="visible">True</property>
- <property name="label"> </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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox12">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkEntry" id="preferences_working_dir_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
- <property name="invisible_char">*</property>
- <property name="activates_default">False</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkButton" id="button7">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">_Delete Cached Package Files</property>
- <property name="use_underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="clean_callback" last_modification_time="Fri, 05 Aug 2005 16:21:38 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</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="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label50">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Working Directory</property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_CENTER</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="preferences_exclude_vbox">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">18</property>
-
- <child>
- <widget class="GtkVBox" id="preferences_exclude_vbox_vbox">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="preferences_exclude_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Exclude List&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="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox81">
- <property name="height_request">174</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label140">
- <property name="visible">True</property>
- <property name="label"> </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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox82">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">12</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow12">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="preferences_exclude_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">False</property>
- <property name="rules_hint">True</property>
- <property name="reorderable">True</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox42">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="preferences_remove_exclude_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-remove</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_exclude_remove" object="window_preferences" last_modification_time="Sun, 06 Feb 2005 04:41:58 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</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="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox95">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkLabel" id="label164">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Exclude Expression:&lt;/span&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.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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkEntry" id="new_exclude_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
- <property name="invisible_char">*</property>
- <property name="activates_default">False</property>
- <signal name="editing_done" handler="preferences_exclude_add" object="window_preferences" last_modification_time="Wed, 08 Jun 2005 18:22:36 GMT"/>
- <signal name="activate" handler="preferences_exclude_add" object="window_preferences" last_modification_time="Wed, 08 Jun 2005 18:22:28 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkButton" id="preferences_add_exclude_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-add</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_exclude_add" object="window_preferences" last_modification_time="Sun, 06 Feb 2005 04:41:48 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</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="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label51">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Excludes</property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_CENTER</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="preferences_sources_vbox">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">18</property>
-
- <child>
- <widget class="GtkVBox" id="vbox57">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="label161">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Package Sources&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="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox92">
- <property name="height_request">174</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label162">
- <property name="visible">True</property>
- <property name="label"> </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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox93">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">12</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow16">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="preferences_sources_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">True</property>
- <property name="rules_hint">True</property>
- <property name="reorderable">True</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox58">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="preferences_add_source_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-add</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_sources_add" object="window_preferences" last_modification_time="Mon, 15 Nov 2004 04:01:52 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkButton" id="button8">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-edit</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_sources_edit" object="window_preferences" last_modification_time="Sun, 29 Oct 2006 21:20:22 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkButton" id="preferences_remove_source_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-remove</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_sources_remove" object="window_preferences" last_modification_time="Mon, 15 Nov 2004 04:02:03 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</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="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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label160">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Sources</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="preferences_verification_vbox">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">18</property>
-
- <child>
- <widget class="GtkVBox" id="vbox76">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="label294">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;GPG Keys&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="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox116">
- <property name="height_request">174</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label295">
- <property name="visible">True</property>
- <property name="label"> </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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox117">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">12</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow24">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="preferences_verification_sources_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">True</property>
- <property name="rules_hint">True</property>
- <property name="reorderable">True</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox77">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="button9">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-add</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_sources_add_key" object="window_preferences" last_modification_time="Sun, 17 Jun 2007 15:55:57 GMT"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</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="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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label293">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Verification</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="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="preferences_hbuttonbox">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="preferences_close_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="cancel_preferences" object="window_preferences" last_modification_time="Mon, 21 Feb 2005 21:26:16 GMT"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="preferences_ok_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-ok</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="preferences_on_ok_clicked" object="window_preferences" last_modification_time="Mon, 15 Nov 2004 04:01:32 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="gslapt">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Gslapt</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">False</property>
- <property name="default_width">640</property>
- <property name="default_height">480</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="destroy" handler="on_gslapt_destroy" last_modification_time="Sat, 05 Feb 2005 06:56:30 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="gslapt_vbox">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkMenuBar" id="top_menubar">
- <property name="visible">True</property>
- <property name="pack_direction">GTK_PACK_DIRECTION_LTR</property>
- <property name="child_pack_direction">GTK_PACK_DIRECTION_LTR</property>
-
- <child>
- <widget class="GtkMenuItem" id="actions2">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_File</property>
- <property name="use_underline">True</property>
-
- <child>
- <widget class="GtkMenu" id="actions2_menu">
-
- <child>
- <widget class="GtkImageMenuItem" id="update1">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Update local package cache</property>
- <property name="label" translatable="yes">Update</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="update_activate" last_modification_time="Fri, 05 Aug 2005 16:40:24 GMT"/>
- <accelerator key="y" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1731">
- <property name="visible">True</property>
- <property name="stock">gtk-refresh</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="mark_all_upgrades2">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Mark all possible upgrades</property>
- <property name="label" translatable="yes">Mark All Upgrades</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="mark_all_upgrades_activate" last_modification_time="Fri, 05 Aug 2005 16:40:24 GMT"/>
- <accelerator key="a" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1732">
- <property name="visible">True</property>
- <property name="stock">gtk-go-up</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="mark_obsolete1">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Mark all obsolete packages</property>
- <property name="label" translatable="yes">Mark Obsolete</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="mark_obsolete_packages" last_modification_time="Fri, 28 Jul 2006 01:13:48 GMT"/>
- <accelerator key="o" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1733">
- <property name="visible">True</property>
- <property name="stock">gtk-remove</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="execute1">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Execute all scheduled actions in current transaction</property>
- <property name="label" translatable="yes">Execute</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="execute_activate" last_modification_time="Fri, 05 Aug 2005 16:40:24 GMT"/>
- <accelerator key="Return" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1734">
- <property name="visible">True</property>
- <property name="stock">gtk-apply</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkSeparatorMenuItem" id="separator2">
- <property name="visible">True</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="quit">
- <property name="visible">True</property>
- <property name="label">gtk-quit</property>
- <property name="use_stock">True</property>
- <signal name="activate" handler="on_gslapt_destroy" last_modification_time="Wed, 09 Feb 2005 17:51:18 GMT"/>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkMenuItem" id="edit1">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_Edit</property>
- <property name="use_underline">True</property>
-
- <child>
- <widget class="GtkMenu" id="edit1_menu">
-
- <child>
- <widget class="GtkImageMenuItem" id="unmark_all1">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Unmark All</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="unmark_all_activate" last_modification_time="Fri, 05 Aug 2005 16:42:40 GMT"/>
- <signal name="activate" handler="unmark_all_activate" last_modification_time="Fri, 05 Aug 2005 16:40:24 GMT"/>
- <accelerator key="z" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1735">
- <property name="visible">True</property>
- <property name="stock">gtk-undo</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkSeparatorMenuItem" id="separator1">
- <property name="visible">True</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="preferences2">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Preferences</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="open_preferences" last_modification_time="Sat, 05 Feb 2005 21:02:58 GMT"/>
- <accelerator key="p" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1736">
- <property name="visible">True</property>
- <property name="stock">gtk-preferences</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkMenuItem" id="view1">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_View</property>
- <property name="use_underline">True</property>
-
- <child>
- <widget class="GtkMenu" id="view1_menu">
-
- <child>
- <widget class="GtkRadioMenuItem" id="view_all_packages_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View all packages</property>
- <property name="label" translatable="yes">All</property>
- <property name="use_underline">True</property>
- <property name="active">False</property>
- <signal name="activate" handler="view_all_packages" last_modification_time="Mon, 29 May 2006 04:08:47 GMT"/>
- <accelerator key="F1" modifiers="0" signal="activate"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkRadioMenuItem" id="view_available_packages_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View available packages from current sources</property>
- <property name="label" translatable="yes">Available</property>
- <property name="use_underline">True</property>
- <property name="active">False</property>
- <property name="group">view_all_packages_menu</property>
- <signal name="activate" handler="view_available_packages" last_modification_time="Mon, 29 May 2006 04:08:47 GMT"/>
- <accelerator key="F2" modifiers="0" signal="activate"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkRadioMenuItem" id="view_installed_packages_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View installed packages</property>
- <property name="label" translatable="yes">Installed</property>
- <property name="use_underline">True</property>
- <property name="active">False</property>
- <property name="group">view_all_packages_menu</property>
- <signal name="activate" handler="view_installed_packages" last_modification_time="Mon, 29 May 2006 04:08:47 GMT"/>
- <accelerator key="F3" modifiers="0" signal="activate"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkRadioMenuItem" id="view_marked_packages_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View Marked Packages</property>
- <property name="label" translatable="yes">Marked</property>
- <property name="use_underline">True</property>
- <property name="active">False</property>
- <property name="group">view_all_packages_menu</property>
- <signal name="activate" handler="view_marked_packages" last_modification_time="Sun, 18 Jun 2006 20:20:52 GMT"/>
- <accelerator key="F4" modifiers="0" signal="activate"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkRadioMenuItem" id="view_upgradeable_packages_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View Upgradeable Packages</property>
- <property name="label" translatable="yes">Upgradeable</property>
- <property name="use_underline">True</property>
- <property name="active">False</property>
- <property name="group">view_all_packages_menu</property>
- <signal name="activate" handler="view_upgradeable_packages" last_modification_time="Sat, 08 Mar 2008 21:29:50 GMT"/>
- <accelerator key="F5" modifiers="0" signal="activate"/>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkMenuItem" id="package1">
- <property name="visible">True</property>
- <property name="label" translatable="yes">P_ackage</property>
- <property name="use_underline">True</property>
-
- <child>
- <widget class="GtkMenu" id="package1_menu">
-
- <child>
- <widget class="GtkImageMenuItem" id="unmark1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Unmark</property>
- <property name="use_underline">True</property>
- <accelerator key="n" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1737">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_available.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="install1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Install</property>
- <property name="use_underline">True</property>
- <accelerator key="i" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1738">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_install.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="re-install1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Re-Install</property>
- <property name="use_underline">True</property>
- <accelerator key="e" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1739">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_reinstall.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="upgrade1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Upgrade</property>
- <property name="use_underline">True</property>
- <accelerator key="u" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1740">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_upgrade.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="downgrade1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Downgrade</property>
- <property name="use_underline">True</property>
- <accelerator key="d" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1741">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_downgrade.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="remove1">
- <property name="visible">True</property>
- <property name="sensitive">False</property>
- <property name="label" translatable="yes">Remove</property>
- <property name="use_underline">True</property>
- <accelerator key="r" modifiers="GDK_CONTROL_MASK" signal="activate"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1742">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_remove.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkMenuItem" id="help3">
- <property name="visible">True</property>
- <property name="label" translatable="yes">_Help</property>
- <property name="use_underline">True</property>
-
- <child>
- <widget class="GtkMenu" id="help3_menu">
-
- <child>
- <widget class="GtkImageMenuItem" id="icon_legend1">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Icon Legend</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="open_icon_legend" last_modification_time="Wed, 01 Jun 2005 03:20:34 GMT"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1743">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-info</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="changelogs_menu">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">View ChangeLogs</property>
- <property name="label" translatable="yes">ChangeLogs</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="view_changelogs" last_modification_time="Sat, 08 Mar 2008 21:29:50 GMT"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1744">
- <property name="visible">True</property>
- <property name="stock">gtk-info</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
-
- <child>
- <widget class="GtkImageMenuItem" id="about3">
- <property name="visible">True</property>
- <property name="label" translatable="yes">About</property>
- <property name="use_underline">True</property>
- <signal name="activate" handler="open_about" last_modification_time="Sat, 05 Feb 2005 20:48:31 GMT"/>
-
- <child internal-child="image">
- <widget class="GtkImage" id="image1745">
- <property name="visible">True</property>
- <property name="stock">gtk-about</property>
- <property name="icon_size">1</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkToolbar" id="action_toolbar">
- <property name="visible">True</property>
- <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
- <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
- <property name="tooltips">True</property>
- <property name="show_arrow">True</property>
-
- <child>
- <widget class="GtkToolButton" id="action_bar_update_button">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Update local package cache</property>
- <property name="label" translatable="yes">Update</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-refresh</property>
- <property name="visible_horizontal">True</property>
- <property name="visible_vertical">True</property>
- <property name="is_important">False</property>
- <signal name="clicked" handler="update_callback" object="gslapt" last_modification_time="Fri, 14 Nov 2003 19:05:38 GMT"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkToolButton" id="action_bar_upgrade_button">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Mark all possible upgrades</property>
- <property name="label" translatable="yes">Mark All Upgrades</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-go-up</property>
- <property name="visible_horizontal">True</property>
- <property name="visible_vertical">True</property>
- <property name="is_important">False</property>
- <signal name="clicked" handler="upgrade_callback" object="gslapt" last_modification_time="Fri, 14 Nov 2003 19:05:58 GMT"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkSeparatorToolItem" id="separatortoolitem1">
- <property name="visible">True</property>
- <property name="draw">True</property>
- <property name="visible_horizontal">True</property>
- <property name="visible_vertical">True</property>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkToolButton" id="action_bar_execute_button">
- <property name="visible">True</property>
- <property name="tooltip" translatable="yes">Execute all scheduled actions in current transaction</property>
- <property name="label" translatable="yes">Execute</property>
- <property name="use_underline">True</property>
- <property name="stock_id">gtk-apply</property>
- <property name="visible_horizontal">True</property>
- <property name="visible_vertical">True</property>
- <property name="is_important">False</property>
- <signal name="clicked" handler="execute_callback" object="gslapt" last_modification_time="Fri, 14 Nov 2003 19:06:49 GMT"/>
- </widget>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">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="GtkVBox" id="search_vbox">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkAlignment" id="search_align">
- <property name="border_width">1</property>
- <property name="visible">True</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xscale">1</property>
- <property name="yscale">1</property>
- <property name="top_padding">0</property>
- <property name="bottom_padding">0</property>
- <property name="left_padding">0</property>
- <property name="right_padding">0</property>
-
- <child>
- <widget class="GtkHBox" id="search_hbox">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label292">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Search</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkEntry" id="search_entry">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
- <property name="invisible_char">*</property>
- <property name="activates_default">False</property>
- <signal name="editing_done" handler="search_activated" object="gslapt" last_modification_time="Sun, 05 Nov 2006 08:32:36 GMT"/>
- <signal name="activate" handler="search_activated" object="gslapt" last_modification_time="Sun, 05 Nov 2006 08:32:46 GMT"/>
- <accelerator key="L" modifiers="GDK_CONTROL_MASK" signal="grab_focus"/>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <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="GtkVPaned" id="pkg_vpaned">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="pkg_list_scrolled">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="pkg_listing_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">True</property>
- <property name="rules_hint">True</property>
- <property name="reorderable">False</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="shrink">True</property>
- <property name="resize">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkNotebook" id="pkg_info_notebook">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="show_tabs">True</property>
- <property name="show_border">False</property>
- <property name="tab_pos">GTK_POS_TOP</property>
- <property name="scrollable">True</property>
- <property name="enable_popup">False</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow20">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkViewport" id="viewport1">
- <property name="visible">True</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
-
- <child>
- <widget class="GtkVBox" id="vbox63">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">18</property>
-
- <child>
- <widget class="GtkTable" id="table2">
- <property name="visible">True</property>
- <property name="n_rows">7</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="label226">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Name:&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">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_name">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">No package is selected.</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="label250">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Status:&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="GtkLabel" id="label227">
- <property name="visible">True</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>
- <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_description">
- <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="label273">
- <property name="visible">True</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>
- <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">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="pkg_info_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">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="pkg_info_status">
- <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="label291">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Source:&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">5</property>
- <property name="bottom_attach">6</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_source">
- <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">5</property>
- <property name="bottom_attach">6</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label298">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Priority:&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">6</property>
- <property name="bottom_attach">7</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_priority">
- <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="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">6</property>
- <property name="bottom_attach">7</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label244">
- <property name="visible">True</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>
- <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_location">
- <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">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">False</property>
- <property name="fill">False</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="label272">
- <property name="visible">True</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>
- <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="GtkHBox" id="hbox106">
- <property name="visible">True</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"> </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="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>
- </widget>
- <packing>
- <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">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="GtkVBox" id="vbox66">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="label261">
- <property name="visible">True</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">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="GtkHBox" id="hbox105">
- <property name="visible">True</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"> </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="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="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="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">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="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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_common_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Common</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox64">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow19">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTextView" id="pkg_description_textview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">False</property>
- <property name="overwrite">False</property>
- <property name="accepts_tab">True</property>
- <property name="justification">GTK_JUSTIFY_LEFT</property>
- <property name="wrap_mode">GTK_WRAP_NONE</property>
- <property name="cursor_visible">False</property>
- <property name="pixels_above_lines">0</property>
- <property name="pixels_below_lines">0</property>
- <property name="pixels_inside_wrap">0</property>
- <property name="left_margin">0</property>
- <property name="right_margin">0</property>
- <property name="indent">0</property>
- <property name="text" translatable="yes"></property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_description_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Description</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow21">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="dep_conf_sug_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">False</property>
- <property name="rules_hint">False</property>
- <property name="reorderable">False</property>
- <property name="enable_search">False</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_dependencies_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Dependencies</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow23">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTextView" id="pkg_changelog_textview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">False</property>
- <property name="overwrite">False</property>
- <property name="accepts_tab">True</property>
- <property name="justification">GTK_JUSTIFY_LEFT</property>
- <property name="wrap_mode">GTK_WRAP_WORD</property>
- <property name="cursor_visible">False</property>
- <property name="pixels_above_lines">0</property>
- <property name="pixels_below_lines">0</property>
- <property name="pixels_inside_wrap">0</property>
- <property name="left_margin">0</property>
- <property name="right_margin">0</property>
- <property name="indent">0</property>
- <property name="text" translatable="yes"></property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_changelog">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Changelog</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="type">tab</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow25">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
- <property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
- <property name="shadow_type">GTK_SHADOW_IN</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTextView" id="pkg_filelist_textview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">False</property>
- <property name="overwrite">False</property>
- <property name="accepts_tab">True</property>
- <property name="justification">GTK_JUSTIFY_LEFT</property>
- <property name="wrap_mode">GTK_WRAP_WORD</property>
- <property name="cursor_visible">False</property>
- <property name="pixels_above_lines">0</property>
- <property name="pixels_below_lines">0</property>
- <property name="pixels_inside_wrap">0</property>
- <property name="left_margin">0</property>
- <property name="right_margin">0</property>
- <property name="indent">0</property>
- <property name="text" translatable="yes"></property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="tab_expand">False</property>
- <property name="tab_fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="pkg_info_filelist">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Files</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="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="shrink">True</property>
- <property name="resize">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkStatusbar" id="bottom_statusbar">
- <property name="visible">True</property>
- <property name="has_resize_grip">True</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="transaction_window">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes">Summary</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="default_width">200</property>
- <property name="default_height">400</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="destroy_event" handler="gtk_widget_destroy" last_modification_time="Tue, 08 Feb 2005 16:18:17 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="vbox47">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkVBox" id="vbox61">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkHBox" id="hbox97">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkImage" id="image852">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-question</property>
- <property name="icon_size">6</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox62">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkLabel" id="label167">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot; size=&quot;large&quot;&gt;Apply the following changes?&lt;/span&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</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="GtkLabel" id="label168">
- <property name="visible">True</property>
- <property name="label" translatable="yes">This is a summary of the changes about to be performed.</property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">True</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <property name="xpad">0</property>
- <property name="ypad">6</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>
- </widget>
- <packing>
- <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">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkScrolledWindow" id="scrolledwindow18">
- <property name="border_width">1</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTreeView" id="transaction_summary_treeview">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="headers_visible">False</property>
- <property name="rules_hint">True</property>
- <property name="reorderable">False</property>
- <property name="enable_search">True</property>
- <property name="fixed_height_mode">False</property>
- <property name="hover_selection">False</property>
- <property name="hover_expand">False</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="summary_breakdown">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkLabel" id="summary_pkg_numbers">
- <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</property>
- <property name="xpad">6</property>
- <property name="ypad">1</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="GtkLabel" id="summary_dl_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</property>
- <property name="xpad">6</property>
- <property name="ypad">1</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="GtkLabel" id="summary_free_space">
- <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</property>
- <property name="xpad">6</property>
- <property name="ypad">1</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>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkCheckButton" id="download_only_checkbutton">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">Download packages only</property>
- <property name="use_underline">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="active">False</property>
- <property name="inconsistent">False</property>
- <property name="draw_indicator">True</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">2</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="hbuttonbox1">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkButton" id="button2">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="cancel_transaction" object="transaction_window" last_modification_time="Mon, 21 Feb 2005 21:25:57 GMT"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="button3">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-ok</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="transaction_okbutton_clicked" object="transaction_window" last_modification_time="Fri, 05 Aug 2005 16:43:04 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">1</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="dl_progress_window">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes">working</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="delete_event" handler="gtk_true" last_modification_time="Wed, 02 Mar 2005 20:25:17 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="vbox49">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkProgressBar" id="progress_progressbar">
- <property name="visible">True</property>
- <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
- <property name="fraction">0</property>
- <property name="pulse_step">0.10000000149</property>
- <property name="text" translatable="yes">total progress</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkProgressBar" id="dl_progress">
- <property name="visible">True</property>
- <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
- <property name="fraction">0</property>
- <property name="pulse_step">0.10000000149</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- </widget>
- <packing>
- <property name="padding">2</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_dl_speed">
- <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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_action">
- <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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_message">
- <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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_package_description">
- <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</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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="hbuttonbox2">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkButton" id="button4">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="on_button_cancel_clicked" last_modification_time="Sun, 05 Jun 2005 19:26:46 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="about">
- <property name="visible">True</property>
- <property name="title" translatable="yes">About gslapt</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">False</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">True</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox1">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area1">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="closebutton1">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-close</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-7</property>
- <signal name="clicked" handler="gtk_widget_destroy" object="about" last_modification_time="Fri, 11 Feb 2005 16:37:34 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox50">
- <property name="visible">True</property>
- <property name="homogeneous">True</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image853">
- <property name="visible">True</property>
- <property name="pixbuf">gslapt.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label146">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label">&lt;span weight=&quot;bold&quot; size=&quot;xx-large&quot;&gt;&lt;/span&gt;</property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_RIGHT</property>
- <property name="wrap">False</property>
- <property name="selectable">True</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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label147">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label" translatable="yes">gslapt is a GTK+ frontend to slapt-get, an APT like package system for Slackware</property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_CENTER</property>
- <property name="wrap">True</property>
- <property name="selectable">True</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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label170">
- <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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label149">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="label">&lt;span size=&quot;small&quot;&gt;Copyright (c) 2005-2009 Jason Woodward
-http://software.jaos.org/#gslapt&lt;/span&gt;</property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_CENTER</property>
- <property name="wrap">False</property>
- <property name="selectable">True</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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="notification">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes"></property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox3">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area3">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="okbutton2">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-close</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-7</property>
- <signal name="clicked" handler="gtk_widget_destroy" object="notification" last_modification_time="Mon, 21 Feb 2005 04:15:31 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox112">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkImage" id="image1260">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-info</property>
- <property name="icon_size">6</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.20000000298</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="notification_label">
- <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.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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">2</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="icon_legend">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes">Icon Legend</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">False</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox4">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area4">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="closebutton2">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-close</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-7</property>
- <signal name="clicked" handler="gtk_widget_destroy" object="icon_legend" last_modification_time="Wed, 01 Jun 2005 03:14:44 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox65">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="label252">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;The following icons are used to indicate the current status of a package:&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">True</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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label260">
- <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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox98">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image865">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_available.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label253">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Not Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox109">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image1257">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_available_excluded.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label277">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Not Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label280">
- <property name="visible">True</property>
- <property name="label">/</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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label281">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Excluded</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">6</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox99">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image866">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_installed.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label254">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox108">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image1256">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_installed_excluded.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label276">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label278">
- <property name="visible">True</property>
- <property name="label">/</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="GtkLabel" id="label279">
- <property name="visible">True</property>
- <property name="label" translatable="yes">Excluded</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox100">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image867">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_install.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label255">
- <property name="visible">True</property>
- <property name="label" translatable="yes">To be Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox101">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image868">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_reinstall.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label256">
- <property name="visible">True</property>
- <property name="label" translatable="yes">To be Re-Installed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox102">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image869">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_upgrade.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label257">
- <property name="visible">True</property>
- <property name="label" translatable="yes">To be Upgraded</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox103">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image870">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_remove.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label258">
- <property name="visible">True</property>
- <property name="label" translatable="yes">To be Removed</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox104">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkImage" id="image871">
- <property name="visible">True</property>
- <property name="pixbuf">pkg_action_downgrade.png</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label259">
- <property name="visible">True</property>
- <property name="label" translatable="yes">To be Downgraded</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">6</property>
- <property name="expand">False</property>
- <property name="fill">True</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="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="pkgtools_progress_window">
- <property name="border_width">12</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes">working</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="delete_event" handler="gtk_true" last_modification_time="Sun, 05 Jun 2005 20:15:50 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="vbox68">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">2</property>
-
- <child>
- <widget class="GtkProgressBar" id="progress_progressbar">
- <property name="visible">True</property>
- <property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
- <property name="fraction">0</property>
- <property name="pulse_step">0.10000000149</property>
- <property name="text" translatable="yes">total progress</property>
- <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_action">
- <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">2</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_message">
- <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">6</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="progress_package_description">
- <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</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">6</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="repositories_changed">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Repositories changed</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_NONE</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox5">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area5">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="button5">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-no</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-9</property>
- <signal name="clicked" handler="gtk_widget_destroy" object="repositories_changed" last_modification_time="Sun, 17 Jul 2005 23:31:44 GMT"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="button6">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-yes</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-8</property>
- <signal name="clicked" handler="repositories_changed_callback" object="repositories_changed" last_modification_time="Sun, 17 Jul 2005 23:32:22 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox114">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkImage" id="image1299">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-info</property>
- <property name="icon_size">6</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.20000000298</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox73">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="label287">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;span size=&quot;large&quot; weight=&quot;bold&quot;&gt;Repositories changed&lt;/span&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="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label288">
- <property name="visible">True</property>
- <property name="label" translatable="yes">You need to reload the package list from the sources you have listed. Do you want to do this now?</property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">True</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0</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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</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="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="dep_error_dialog">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes"></property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_CENTER</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox6">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area6">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="dep_error_cancel_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="can_focus">True</property>
- <property name="has_focus">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-6</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="dep_error_install_button">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-ok</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-5</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox113">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkImage" id="image1261">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-error</property>
- <property name="icon_size">6</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.20000000298</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox72">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkLabel" id="label285">
- <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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="dep_error_label">
- <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">True</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0</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="GtkScrolledWindow" id="scrolledwindow22">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
- <property name="shadow_type">GTK_SHADOW_NONE</property>
- <property name="window_placement">GTK_CORNER_TOP_LEFT</property>
-
- <child>
- <widget class="GtkTextView" id="dep_error_text">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="overwrite">False</property>
- <property name="accepts_tab">False</property>
- <property name="justification">GTK_JUSTIFY_LEFT</property>
- <property name="wrap_mode">GTK_WRAP_NONE</property>
- <property name="cursor_visible">False</property>
- <property name="pixels_above_lines">0</property>
- <property name="pixels_below_lines">0</property>
- <property name="pixels_inside_wrap">0</property>
- <property name="left_margin">0</property>
- <property name="right_margin">0</property>
- <property name="indent">0</property>
- <property name="text" translatable="yes"></property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label286">
- <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">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="dep_error_install_anyway_warning_label">
- <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">True</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0</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="GtkLabel" id="label284">
- <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</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>
- </widget>
- <packing>
- <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">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkDialog" id="source_failed_dialog">
- <property name="visible">True</property>
- <property name="title" translatable="yes">Source failed</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_NONE</property>
- <property name="modal">False</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
- <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <property name="has_separator">True</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="dialog-vbox7">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child internal-child="action_area">
- <widget class="GtkHButtonBox" id="dialog-action_area7">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
-
- <child>
- <widget class="GtkButton" id="cancelbutton1">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-no</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-9</property>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="okbutton3">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-yes</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <property name="response_id">-8</property>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="pack_type">GTK_PACK_END</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHBox" id="hbox115">
- <property name="border_width">2</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkImage" id="image1300">
- <property name="visible">True</property>
- <property name="stock">gtk-dialog-error</property>
- <property name="icon_size">6</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.20000000298</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkVBox" id="vbox74">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">6</property>
-
- <child>
- <widget class="GtkLabel" id="failed_source_label">
- <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="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label290">
- <property name="visible">True</property>
- <property name="label" translatable="yes">This package source failed or is not available. Do you want to disable this source and continue anyway?</property>
- <property name="use_underline">False</property>
- <property name="use_markup">True</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">True</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0</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">6</property>
- <property name="expand">True</property>
- <property name="fill">True</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="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="changelog_window">
- <property name="visible">True</property>
- <property name="title" translatable="yes">ChangeLogs</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_NONE</property>
- <property name="modal">False</property>
- <property name="default_width">640</property>
- <property name="default_height">480</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
- <signal name="destroy_event" handler="gtk_widget_destroy" last_modification_time="Sat, 08 Mar 2008 22:04:48 GMT"/>
-
- <child>
- <widget class="GtkVBox" id="vbox78">
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkNotebook" id="changelog_notebook">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="show_tabs">True</property>
- <property name="show_border">True</property>
- <property name="tab_pos">GTK_POS_TOP</property>
- <property name="scrollable">False</property>
- <property name="enable_popup">False</property>
-
- <child>
- <placeholder/>
- </child>
-
- <child>
- <widget class="GtkLabel" id="label296">
- <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="type">tab</property>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="hbuttonbox3">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkButton" id="button12">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-close</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="gtk_widget_destroy" object="changelog_window" last_modification_time="Sat, 08 Mar 2008 22:05:24 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-<widget class="GtkWindow" id="source_window">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="title" translatable="yes">Package Source</property>
- <property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_CENTER</property>
- <property name="modal">True</property>
- <property name="resizable">True</property>
- <property name="destroy_with_parent">False</property>
- <property name="icon">gslapt.png</property>
- <property name="decorated">True</property>
- <property name="skip_taskbar_hint">False</property>
- <property name="skip_pager_hint">False</property>
- <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
- <property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
- <property name="focus_on_map">True</property>
- <property name="urgency_hint">False</property>
-
- <child>
- <widget class="GtkVBox" id="vbox79">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkTable" id="table6">
- <property name="border_width">6</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">6</property>
-
- <child>
- <widget class="GtkLabel" id="priority_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Priority:&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">1</property>
- <property name="bottom_attach">2</property>
- <property name="x_padding">6</property>
- <property name="x_options">fill</property>
- <property name="y_options">fill</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkLabel" id="source_label">
- <property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;Source:&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">0</property>
- <property name="bottom_attach">1</property>
- <property name="x_padding">6</property>
- <property name="x_options">fill</property>
- <property name="y_options">fill</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkEntry" id="source_entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
- <property name="invisible_char">‚óŹ</property>
- <property name="activates_default">False</property>
- <property name="width_chars">60</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="y_options">expand</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkComboBoxEntry" id="source_priority">
- <property name="border_width">6</property>
- <property name="visible">True</property>
- <property name="items" translatable="yes">Default
-Official
-Preferred
-Custom</property>
- <property name="add_tearoffs">False</property>
- <property name="has_frame">True</property>
- <property name="focus_on_click">True</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>
- </packing>
- </child>
- </widget>
- <packing>
- <property name="padding">6</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
- </packing>
- </child>
-
- <child>
- <widget class="GtkHButtonBox" id="hbuttonbox4">
- <property name="visible">True</property>
- <property name="layout_style">GTK_BUTTONBOX_END</property>
- <property name="spacing">0</property>
-
- <child>
- <widget class="GtkButton" id="button13">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-cancel</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="cancel_source_edit" object="source_window" last_modification_time="Fri, 28 Nov 2008 03:15:46 GMT"/>
- </widget>
- </child>
-
- <child>
- <widget class="GtkButton" id="button14">
- <property name="visible">True</property>
- <property name="can_default">True</property>
- <property name="can_focus">True</property>
- <property name="label">gtk-ok</property>
- <property name="use_stock">True</property>
- <property name="relief">GTK_RELIEF_NORMAL</property>
- <property name="focus_on_click">True</property>
- <signal name="clicked" handler="source_edit_ok" object="source_window" last_modification_time="Fri, 28 Nov 2008 03:16:30 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">True</property>
- </packing>
- </child>
- </widget>
- </child>
-</widget>
-
-</glade-interface>
diff --git a/gslapt.gladep b/gslapt.gladep
deleted file mode 100644
index b72fdee..0000000
--- a/gslapt.gladep
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
-<!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd">
-
-<glade-project>
- <name>gslapt</name>
- <program_name>gslapt</program_name>
- <gnome_support>FALSE</gnome_support>
- <use_widget_names>TRUE</use_widget_names>
-</glade-project>
diff --git a/src/Makefile.am b/src/Makefile.am
index 1ba6c80..534a000 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,6 @@ sbin_PROGRAMS = gslapt
gslapt_SOURCES = \
main.c \
- support.c support.h \
callbacks.c callbacks.h \
series.c series.h \
settings.c settings.h
diff --git a/src/callbacks.c b/src/callbacks.c
index 8c8e6fb..f87dbed 100644
--- a/src/callbacks.c
+++ b/src/callbacks.c
@@ -25,8 +25,6 @@
#include <gtk/gtk.h>
#include "callbacks.h"
-#include "interface.h"
-#include "support.h"
#include "settings.h"
#include "series.h"
diff --git a/src/callbacks.h b/src/callbacks.h
index 8844345..d612f6e 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -20,6 +20,36 @@
#include <slapt.h>
#define RC_LOCATION "/etc/slapt-get/slapt-getrc"
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+/*
+ * Standard gettext macros.
+ */
+#ifdef ENABLE_NLS
+# include <libintl.h>
+# undef _
+# define _(String) dgettext (PACKAGE, String)
+# define P_(String, String_p, n) ngettext(String, String_p, n)
+# ifdef gettext_noop
+# define N_(String) gettext_noop (String)
+# else
+# define N_(String) (String)
+# endif
+#else
+# define textdomain(String) (String)
+# define gettext(String) (String)
+# define dgettext(Domain,Message) (Message)
+# define dcgettext(Domain,Message,Type) (Message)
+# define bindtextdomain(Domain,Directory) (Domain)
+# define _(String) (String)
+# define P_(String, String_p, n) (String_p)
+# define N_(String) (String)
+#endif
+
+
+
enum {
STATUS_ICON_COLUMN,
NAME_COLUMN,
diff --git a/src/interface.c b/src/interface.c
deleted file mode 100644
index 3ff54fe..0000000
--- a/src/interface.c
+++ /dev/null
@@ -1,3052 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
-
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtk.h>
-
-#include "callbacks.h"
-#include "interface.h"
-#include "support.h"
-
-#define GLADE_HOOKUP_OBJECT(component,widget,name) \
- g_object_set_data_full (G_OBJECT (component), name, \
- gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
-
-#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
- g_object_set_data (G_OBJECT (component), name, widget)
-
-GtkWidget*
-create_window_preferences (void)
-{
- GtkWidget *window_preferences;
- GdkPixbuf *window_preferences_icon_pixbuf;
- GtkWidget *preferences_vbox;
- GtkWidget *preferences_notebook;
- GtkWidget *preferences_working_dir_vbox;
- GtkWidget *preferences_working_dir_vbox_vbox;
- GtkWidget *preferences_working_dir_label;
- GtkWidget *hbox3;
- GtkWidget *label72;
- GtkWidget *vbox12;
- GtkWidget *preferences_working_dir_entry;
- GtkWidget *button7;
- GtkWidget *label50;
- GtkWidget *preferences_exclude_vbox;
- GtkWidget *preferences_exclude_vbox_vbox;
- GtkWidget *preferences_exclude_label;
- GtkWidget *hbox81;
- GtkWidget *label140;
- GtkWidget *hbox82;
- GtkWidget *scrolledwindow12;
- GtkWidget *preferences_exclude_treeview;
- GtkWidget *vbox42;
- GtkWidget *preferences_remove_exclude_button;
- GtkWidget *hbox95;
- GtkWidget *label164;
- GtkWidget *new_exclude_entry;
- GtkWidget *preferences_add_exclude_button;
- GtkWidget *label51;
- GtkWidget *preferences_sources_vbox;
- GtkWidget *vbox57;
- GtkWidget *label161;
- GtkWidget *hbox92;
- GtkWidget *label162;
- GtkWidget *hbox93;
- GtkWidget *scrolledwindow16;
- GtkWidget *preferences_sources_treeview;
- GtkWidget *vbox58;
- GtkWidget *preferences_add_source_button;
- GtkWidget *button8;
- GtkWidget *preferences_remove_source_button;
- GtkWidget *label160;
- #ifdef SLAPT_HAS_GPGME
- GtkWidget *preferences_verification_vbox;
- GtkWidget *vbox76;
- GtkWidget *label294;
- GtkWidget *hbox116;
- GtkWidget *label295;
- GtkWidget *hbox117;
- GtkWidget *scrolledwindow24;
- GtkWidget *preferences_verification_sources_treeview;
- GtkWidget *vbox77;
- GtkWidget *button9;
- GtkWidget *label293;
- #endif
- GtkWidget *preferences_hbuttonbox;
- GtkWidget *preferences_close_button;
- GtkWidget *preferences_ok_button;
-
- window_preferences = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (window_preferences, "window_preferences");
- gtk_window_set_title (GTK_WINDOW (window_preferences), _("Preferences"));
- gtk_window_set_position (GTK_WINDOW (window_preferences), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (window_preferences), TRUE);
- gtk_window_set_default_size (GTK_WINDOW (window_preferences), 400, 300);
- window_preferences_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (window_preferences_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (window_preferences), window_preferences_icon_pixbuf);
- g_object_unref (window_preferences_icon_pixbuf);
- }
- gtk_window_set_gravity (GTK_WINDOW (window_preferences), GDK_GRAVITY_CENTER);
-
- preferences_vbox = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (preferences_vbox, "preferences_vbox");
- gtk_widget_show (preferences_vbox);
- gtk_container_add (GTK_CONTAINER (window_preferences), preferences_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_vbox), 6);
-
- preferences_notebook = gtk_notebook_new ();
- gtk_widget_set_name (preferences_notebook, "preferences_notebook");
- gtk_widget_show (preferences_notebook);
- gtk_box_pack_start (GTK_BOX (preferences_vbox), preferences_notebook, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_notebook), 6);
-
- preferences_working_dir_vbox = gtk_vbox_new (FALSE, 18);
- gtk_widget_set_name (preferences_working_dir_vbox, "preferences_working_dir_vbox");
- gtk_widget_show (preferences_working_dir_vbox);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_working_dir_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_working_dir_vbox), 12);
-
- preferences_working_dir_vbox_vbox = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (preferences_working_dir_vbox_vbox, "preferences_working_dir_vbox_vbox");
- gtk_widget_show (preferences_working_dir_vbox_vbox);
- gtk_box_pack_start (GTK_BOX (preferences_working_dir_vbox), preferences_working_dir_vbox_vbox, TRUE, TRUE, 0);
-
- preferences_working_dir_label = gtk_label_new (_("<b>Package and data storage</b>"));
- gtk_widget_set_name (preferences_working_dir_label, "preferences_working_dir_label");
- gtk_widget_show (preferences_working_dir_label);
- gtk_box_pack_start (GTK_BOX (preferences_working_dir_vbox_vbox), preferences_working_dir_label, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (preferences_working_dir_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (preferences_working_dir_label), 0, 0.5);
-
- hbox3 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox3, "hbox3");
- gtk_widget_show (hbox3);
- gtk_box_pack_start (GTK_BOX (preferences_working_dir_vbox_vbox), hbox3, TRUE, TRUE, 0);
-
- label72 = gtk_label_new (" ");
- gtk_widget_set_name (label72, "label72");
- gtk_widget_show (label72);
- gtk_box_pack_start (GTK_BOX (hbox3), label72, FALSE, FALSE, 0);
-
- vbox12 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox12, "vbox12");
- gtk_widget_show (vbox12);
- gtk_box_pack_start (GTK_BOX (hbox3), vbox12, FALSE, FALSE, 0);
-
- preferences_working_dir_entry = gtk_entry_new ();
- gtk_widget_set_name (preferences_working_dir_entry, "preferences_working_dir_entry");
- gtk_widget_show (preferences_working_dir_entry);
- gtk_box_pack_start (GTK_BOX (vbox12), preferences_working_dir_entry, FALSE, FALSE, 0);
-
- button7 = gtk_button_new_with_mnemonic (_("_Delete Cached Package Files"));
- gtk_widget_set_name (button7, "button7");
- gtk_widget_show (button7);
- gtk_box_pack_start (GTK_BOX (vbox12), button7, FALSE, FALSE, 0);
-
- label50 = gtk_label_new (_("Working Directory"));
- gtk_widget_set_name (label50, "label50");
- gtk_widget_show (label50);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 0), label50);
- gtk_label_set_justify (GTK_LABEL (label50), GTK_JUSTIFY_CENTER);
-
- preferences_exclude_vbox = gtk_vbox_new (FALSE, 18);
- gtk_widget_set_name (preferences_exclude_vbox, "preferences_exclude_vbox");
- gtk_widget_show (preferences_exclude_vbox);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_exclude_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_exclude_vbox), 12);
-
- preferences_exclude_vbox_vbox = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (preferences_exclude_vbox_vbox, "preferences_exclude_vbox_vbox");
- gtk_widget_show (preferences_exclude_vbox_vbox);
- gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox), preferences_exclude_vbox_vbox, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_exclude_vbox_vbox), 12);
-
- preferences_exclude_label = gtk_label_new (_("<b>Exclude List</b>"));
- gtk_widget_set_name (preferences_exclude_label, "preferences_exclude_label");
- gtk_widget_show (preferences_exclude_label);
- gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox_vbox), preferences_exclude_label, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (preferences_exclude_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (preferences_exclude_label), 0, 0.5);
-
- hbox81 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox81, "hbox81");
- gtk_widget_show (hbox81);
- gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox_vbox), hbox81, TRUE, TRUE, 0);
- gtk_widget_set_size_request (hbox81, -1, 174);
-
- label140 = gtk_label_new (" ");
- gtk_widget_set_name (label140, "label140");
- gtk_widget_show (label140);
- gtk_box_pack_start (GTK_BOX (hbox81), label140, FALSE, FALSE, 0);
-
- hbox82 = gtk_hbox_new (FALSE, 12);
- gtk_widget_set_name (hbox82, "hbox82");
- gtk_widget_show (hbox82);
- gtk_box_pack_start (GTK_BOX (hbox81), hbox82, TRUE, TRUE, 0);
-
- scrolledwindow12 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow12, "scrolledwindow12");
- gtk_widget_show (scrolledwindow12);
- gtk_box_pack_start (GTK_BOX (hbox82), scrolledwindow12, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_SHADOW_IN);
-
- preferences_exclude_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (preferences_exclude_treeview, "preferences_exclude_treeview");
- gtk_widget_show (preferences_exclude_treeview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow12), preferences_exclude_treeview);
- gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (preferences_exclude_treeview), FALSE);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (preferences_exclude_treeview), TRUE);
- gtk_tree_view_set_reorderable (GTK_TREE_VIEW (preferences_exclude_treeview), TRUE);
-
- vbox42 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox42, "vbox42");
- gtk_widget_show (vbox42);
- gtk_box_pack_start (GTK_BOX (hbox82), vbox42, FALSE, FALSE, 0);
-
- preferences_remove_exclude_button = gtk_button_new_from_stock ("gtk-remove");
- gtk_widget_set_name (preferences_remove_exclude_button, "preferences_remove_exclude_button");
- gtk_widget_show (preferences_remove_exclude_button);
- gtk_box_pack_start (GTK_BOX (vbox42), preferences_remove_exclude_button, FALSE, FALSE, 0);
- GTK_WIDGET_SET_FLAGS (preferences_remove_exclude_button, GTK_CAN_DEFAULT);
-
- hbox95 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox95, "hbox95");
- gtk_widget_show (hbox95);
- gtk_box_pack_start (GTK_BOX (preferences_exclude_vbox_vbox), hbox95, FALSE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (hbox95), 6);
-
- label164 = gtk_label_new (_("<span weight=\"bold\">Exclude Expression:</span>"));
- gtk_widget_set_name (label164, "label164");
- gtk_widget_show (label164);
- gtk_box_pack_start (GTK_BOX (hbox95), label164, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (label164), TRUE);
-
- new_exclude_entry = gtk_entry_new ();
- gtk_widget_set_name (new_exclude_entry, "new_exclude_entry");
- gtk_widget_show (new_exclude_entry);
- gtk_box_pack_start (GTK_BOX (hbox95), new_exclude_entry, TRUE, TRUE, 0);
-
- preferences_add_exclude_button = gtk_button_new_from_stock ("gtk-add");
- gtk_widget_set_name (preferences_add_exclude_button, "preferences_add_exclude_button");
- gtk_widget_show (preferences_add_exclude_button);
- gtk_box_pack_start (GTK_BOX (hbox95), preferences_add_exclude_button, FALSE, FALSE, 0);
- GTK_WIDGET_SET_FLAGS (preferences_add_exclude_button, GTK_CAN_DEFAULT);
-
- label51 = gtk_label_new (_("Excludes"));
- gtk_widget_set_name (label51, "label51");
- gtk_widget_show (label51);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 1), label51);
- gtk_label_set_justify (GTK_LABEL (label51), GTK_JUSTIFY_CENTER);
-
- preferences_sources_vbox = gtk_vbox_new (FALSE, 18);
- gtk_widget_set_name (preferences_sources_vbox, "preferences_sources_vbox");
- gtk_widget_show (preferences_sources_vbox);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_sources_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_sources_vbox), 12);
-
- vbox57 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox57, "vbox57");
- gtk_widget_show (vbox57);
- gtk_box_pack_start (GTK_BOX (preferences_sources_vbox), vbox57, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox57), 12);
-
- label161 = gtk_label_new (_("<b>Package Sources</b>"));
- gtk_widget_set_name (label161, "label161");
- gtk_widget_show (label161);
- gtk_box_pack_start (GTK_BOX (vbox57), label161, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (label161), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label161), 0, 0.5);
-
- hbox92 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox92, "hbox92");
- gtk_widget_show (hbox92);
- gtk_box_pack_start (GTK_BOX (vbox57), hbox92, TRUE, TRUE, 0);
- gtk_widget_set_size_request (hbox92, -1, 174);
-
- label162 = gtk_label_new (" ");
- gtk_widget_set_name (label162, "label162");
- gtk_widget_show (label162);
- gtk_box_pack_start (GTK_BOX (hbox92), label162, FALSE, FALSE, 0);
-
- hbox93 = gtk_hbox_new (FALSE, 12);
- gtk_widget_set_name (hbox93, "hbox93");
- gtk_widget_show (hbox93);
- gtk_box_pack_start (GTK_BOX (hbox92), hbox93, TRUE, TRUE, 0);
-
- scrolledwindow16 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow16, "scrolledwindow16");
- gtk_widget_show (scrolledwindow16);
- gtk_box_pack_start (GTK_BOX (hbox93), scrolledwindow16, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_SHADOW_IN);
-
- preferences_sources_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (preferences_sources_treeview, "preferences_sources_treeview");
- gtk_widget_show (preferences_sources_treeview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow16), preferences_sources_treeview);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (preferences_sources_treeview), TRUE);
- gtk_tree_view_set_reorderable (GTK_TREE_VIEW (preferences_sources_treeview), TRUE);
-
- vbox58 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox58, "vbox58");
- gtk_widget_show (vbox58);
- gtk_box_pack_start (GTK_BOX (hbox93), vbox58, FALSE, FALSE, 0);
-
- preferences_add_source_button = gtk_button_new_from_stock ("gtk-add");
- gtk_widget_set_name (preferences_add_source_button, "preferences_add_source_button");
- gtk_widget_show (preferences_add_source_button);
- gtk_box_pack_start (GTK_BOX (vbox58), preferences_add_source_button, FALSE, FALSE, 0);
- GTK_WIDGET_SET_FLAGS (preferences_add_source_button, GTK_CAN_DEFAULT);
-
- button8 = gtk_button_new_from_stock ("gtk-edit");
- gtk_widget_set_name (button8, "button8");
- gtk_widget_show (button8);
- gtk_box_pack_start (GTK_BOX (vbox58), button8, FALSE, FALSE, 0);
-
- preferences_remove_source_button = gtk_button_new_from_stock ("gtk-remove");
- gtk_widget_set_name (preferences_remove_source_button, "preferences_remove_source_button");
- gtk_widget_show (preferences_remove_source_button);
- gtk_box_pack_start (GTK_BOX (vbox58), preferences_remove_source_button, FALSE, FALSE, 0);
- GTK_WIDGET_SET_FLAGS (preferences_remove_source_button, GTK_CAN_DEFAULT);
-
- label160 = gtk_label_new (_("Sources"));
- gtk_widget_set_name (label160, "label160");
- gtk_widget_show (label160);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 2), label160);
-
- #ifdef SLAPT_HAS_GPGME
- preferences_verification_vbox = gtk_vbox_new (FALSE, 18);
- gtk_widget_set_name (preferences_verification_vbox, "preferences_verification_vbox");
- gtk_widget_show (preferences_verification_vbox);
- gtk_container_add (GTK_CONTAINER (preferences_notebook), preferences_verification_vbox);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_verification_vbox), 12);
-
- vbox76 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox76, "vbox76");
- gtk_widget_show (vbox76);
- gtk_box_pack_start (GTK_BOX (preferences_verification_vbox), vbox76, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox76), 12);
-
- label294 = gtk_label_new (_("<b>GPG Keys</b>"));
- gtk_widget_set_name (label294, "label294");
- gtk_widget_show (label294);
- gtk_box_pack_start (GTK_BOX (vbox76), label294, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (label294), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label294), 0, 0.5);
-
- hbox116 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox116, "hbox116");
- gtk_widget_show (hbox116);
- gtk_box_pack_start (GTK_BOX (vbox76), hbox116, TRUE, TRUE, 0);
- gtk_widget_set_size_request (hbox116, -1, 174);
-
- label295 = gtk_label_new (" ");
- gtk_widget_set_name (label295, "label295");
- gtk_widget_show (label295);
- gtk_box_pack_start (GTK_BOX (hbox116), label295, FALSE, FALSE, 0);
-
- hbox117 = gtk_hbox_new (FALSE, 12);
- gtk_widget_set_name (hbox117, "hbox117");
- gtk_widget_show (hbox117);
- gtk_box_pack_start (GTK_BOX (hbox116), hbox117, TRUE, TRUE, 0);
-
- scrolledwindow24 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow24, "scrolledwindow24");
- gtk_widget_show (scrolledwindow24);
- gtk_box_pack_start (GTK_BOX (hbox117), scrolledwindow24, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow24), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow24), GTK_SHADOW_IN);
-
- preferences_verification_sources_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (preferences_verification_sources_treeview, "preferences_verification_sources_treeview");
- gtk_widget_show (preferences_verification_sources_treeview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow24), preferences_verification_sources_treeview);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (preferences_verification_sources_treeview), TRUE);
- gtk_tree_view_set_reorderable (GTK_TREE_VIEW (preferences_verification_sources_treeview), TRUE);
-
- vbox77 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox77, "vbox77");
- gtk_widget_show (vbox77);
- gtk_box_pack_start (GTK_BOX (hbox117), vbox77, FALSE, FALSE, 0);
-
- button9 = gtk_button_new_from_stock ("gtk-add");
- gtk_widget_set_name (button9, "button9");
- gtk_widget_show (button9);
- gtk_box_pack_start (GTK_BOX (vbox77), button9, FALSE, FALSE, 0);
- GTK_WIDGET_SET_FLAGS (button9, GTK_CAN_DEFAULT);
-
- label293 = gtk_label_new (_("Verification"));
- gtk_widget_set_name (label293, "label293");
- gtk_widget_show (label293);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (preferences_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (preferences_notebook), 3), label293);
- #endif
-
- preferences_hbuttonbox = gtk_hbutton_box_new ();
- gtk_widget_set_name (preferences_hbuttonbox, "preferences_hbuttonbox");
- gtk_widget_show (preferences_hbuttonbox);
- gtk_box_pack_start (GTK_BOX (preferences_vbox), preferences_hbuttonbox, FALSE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (preferences_hbuttonbox), 6);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (preferences_hbuttonbox), GTK_BUTTONBOX_END);
- gtk_box_set_spacing (GTK_BOX (preferences_hbuttonbox), 6);
-
- preferences_close_button = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (preferences_close_button, "preferences_close_button");
- gtk_widget_show (preferences_close_button);
- gtk_container_add (GTK_CONTAINER (preferences_hbuttonbox), preferences_close_button);
- GTK_WIDGET_SET_FLAGS (preferences_close_button, GTK_CAN_DEFAULT);
-
- preferences_ok_button = gtk_button_new_from_stock ("gtk-ok");
- gtk_widget_set_name (preferences_ok_button, "preferences_ok_button");
- gtk_widget_show (preferences_ok_button);
- gtk_container_add (GTK_CONTAINER (preferences_hbuttonbox), preferences_ok_button);
- GTK_WIDGET_SET_FLAGS (preferences_ok_button, GTK_CAN_DEFAULT);
-
- g_signal_connect ((gpointer) window_preferences, "destroy_event",
- G_CALLBACK (gtk_widget_destroy),
- NULL);
- g_signal_connect ((gpointer) button7, "clicked",
- G_CALLBACK (clean_callback),
- NULL);
- g_signal_connect ((gpointer) window_preferences, "configure-event",
- G_CALLBACK (gslapt_window_resized),
- NULL);
- g_signal_connect_swapped ((gpointer) preferences_remove_exclude_button, "clicked",
- G_CALLBACK (preferences_exclude_remove),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) new_exclude_entry, "editing_done",
- G_CALLBACK (preferences_exclude_add),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) new_exclude_entry, "activate",
- G_CALLBACK (preferences_exclude_add),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) preferences_add_exclude_button, "clicked",
- G_CALLBACK (preferences_exclude_add),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) preferences_add_source_button, "clicked",
- G_CALLBACK (preferences_sources_add),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) button8, "clicked",
- G_CALLBACK (preferences_sources_edit),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) preferences_remove_source_button, "clicked",
- G_CALLBACK (preferences_sources_remove),
- GTK_OBJECT (window_preferences));
- #ifdef SLAPT_HAS_GPGME
- g_signal_connect_swapped ((gpointer) button9, "clicked",
- G_CALLBACK (preferences_sources_add_key),
- GTK_OBJECT (window_preferences));
- #endif
- g_signal_connect_swapped ((gpointer) preferences_close_button, "clicked",
- G_CALLBACK (cancel_preferences),
- GTK_OBJECT (window_preferences));
- g_signal_connect_swapped ((gpointer) preferences_ok_button, "clicked",
- G_CALLBACK (preferences_on_ok_clicked),
- GTK_OBJECT (window_preferences));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (window_preferences, window_preferences, "window_preferences");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_vbox, "preferences_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_notebook, "preferences_notebook");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_working_dir_vbox, "preferences_working_dir_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_working_dir_vbox_vbox, "preferences_working_dir_vbox_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_working_dir_label, "preferences_working_dir_label");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox3, "hbox3");
- GLADE_HOOKUP_OBJECT (window_preferences, label72, "label72");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox12, "vbox12");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_working_dir_entry, "preferences_working_dir_entry");
- GLADE_HOOKUP_OBJECT (window_preferences, button7, "button7");
- GLADE_HOOKUP_OBJECT (window_preferences, label50, "label50");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_exclude_vbox, "preferences_exclude_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_exclude_vbox_vbox, "preferences_exclude_vbox_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_exclude_label, "preferences_exclude_label");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox81, "hbox81");
- GLADE_HOOKUP_OBJECT (window_preferences, label140, "label140");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox82, "hbox82");
- GLADE_HOOKUP_OBJECT (window_preferences, scrolledwindow12, "scrolledwindow12");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_exclude_treeview, "preferences_exclude_treeview");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox42, "vbox42");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_remove_exclude_button, "preferences_remove_exclude_button");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox95, "hbox95");
- GLADE_HOOKUP_OBJECT (window_preferences, label164, "label164");
- GLADE_HOOKUP_OBJECT (window_preferences, new_exclude_entry, "new_exclude_entry");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_add_exclude_button, "preferences_add_exclude_button");
- GLADE_HOOKUP_OBJECT (window_preferences, label51, "label51");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_sources_vbox, "preferences_sources_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox57, "vbox57");
- GLADE_HOOKUP_OBJECT (window_preferences, label161, "label161");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox92, "hbox92");
- GLADE_HOOKUP_OBJECT (window_preferences, label162, "label162");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox93, "hbox93");
- GLADE_HOOKUP_OBJECT (window_preferences, scrolledwindow16, "scrolledwindow16");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_sources_treeview, "preferences_sources_treeview");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox58, "vbox58");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_add_source_button, "preferences_add_source_button");
- GLADE_HOOKUP_OBJECT (window_preferences, button8, "button8");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_remove_source_button, "preferences_remove_source_button");
- GLADE_HOOKUP_OBJECT (window_preferences, label160, "label160");
- #ifdef SLAPT_HAS_GPGME
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_verification_vbox, "preferences_verification_vbox");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox76, "vbox76");
- GLADE_HOOKUP_OBJECT (window_preferences, label294, "label294");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox116, "hbox116");
- GLADE_HOOKUP_OBJECT (window_preferences, label295, "label295");
- GLADE_HOOKUP_OBJECT (window_preferences, hbox117, "hbox117");
- GLADE_HOOKUP_OBJECT (window_preferences, scrolledwindow24, "scrolledwindow24");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_verification_sources_treeview, "preferences_verification_sources_treeview");
- GLADE_HOOKUP_OBJECT (window_preferences, vbox77, "vbox77");
- GLADE_HOOKUP_OBJECT (window_preferences, button9, "button9");
- GLADE_HOOKUP_OBJECT (window_preferences, label293, "label293");
- #endif
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_hbuttonbox, "preferences_hbuttonbox");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_close_button, "preferences_close_button");
- GLADE_HOOKUP_OBJECT (window_preferences, preferences_ok_button, "preferences_ok_button");
-
- return window_preferences;
-}
-
-GtkWidget*
-create_gslapt (void)
-{
- GtkWidget *gslapt;
- GdkPixbuf *gslapt_icon_pixbuf;
- GtkWidget *gslapt_vbox;
- GtkWidget *top_menubar;
- GtkWidget *actions2;
- GtkWidget *actions2_menu;
- GtkWidget *update1;
- GtkWidget *image1731;
- GtkWidget *mark_all_upgrades2;
- GtkWidget *image1732;
- GtkWidget *mark_obsolete1;
- GtkWidget *image1733;
- GtkWidget *execute1;
- GtkWidget *image1734;
- GtkWidget *separator2;
- GtkWidget *quit;
- GtkWidget *edit1;
- GtkWidget *edit1_menu;
- GtkWidget *unmark_all1;
- GtkWidget *image1735;
- GtkWidget *separator1;
- GtkWidget *preferences2;
- GtkWidget *image1736;
- GtkWidget *view1;
- GtkWidget *view1_menu;
- GSList *view_all_packages_menu_group = NULL;
- GtkWidget *view_all_packages_menu;
- GtkWidget *view_available_packages_menu;
- GtkWidget *view_installed_packages_menu;
- GtkWidget *view_marked_packages_menu;
- GtkWidget *view_upgradeable_packages_menu;
- GtkWidget *package1;
- GtkWidget *package1_menu;
- GtkWidget *unmark1;
- GtkWidget *image1737;
- GtkWidget *install1;
- GtkWidget *image1738;
- GtkWidget *re_install1;
- GtkWidget *image1739;
- GtkWidget *upgrade1;
- GtkWidget *image1740;
- GtkWidget *downgrade1;
- GtkWidget *image1741;
- GtkWidget *remove1;
- GtkWidget *image1742;
- GtkWidget *help3;
- GtkWidget *help3_menu;
- GtkWidget *icon_legend1;
- GtkWidget *image1743;
- GtkWidget *changelogs_menu;
- GtkWidget *image1744;
- GtkWidget *about3;
- GtkWidget *image1745;
- GtkWidget *action_toolbar;
- GtkIconSize tmp_toolbar_icon_size;
- GtkWidget *tmp_image;
- GtkWidget *action_bar_update_button;
- GtkWidget *action_bar_upgrade_button;
- GtkWidget *separatortoolitem1;
- GtkWidget *action_bar_execute_button;
- GtkWidget *search_vbox;
- GtkWidget *search_align;
- GtkWidget *search_hbox;
- GtkWidget *label292;
- GtkWidget *search_entry;
- GtkWidget *pkg_vpaned;
- GtkWidget *pkg_list_scrolled;
- GtkWidget *pkg_listing_treeview;
- GtkWidget *pkg_info_notebook;
- GtkWidget *scrolledwindow20;
- GtkWidget *viewport1;
- GtkWidget *vbox63;
- GtkWidget *table2;
- GtkWidget *label226;
- GtkWidget *pkg_info_name;
- GtkWidget *label250;
- GtkWidget *label227;
- GtkWidget *pkg_info_description;
- GtkWidget *label273;
- GtkWidget *pkg_info_version;
- GtkWidget *pkg_info_status;
- GtkWidget *label291;
- GtkWidget *pkg_info_source;
- GtkWidget *label298;
- GtkWidget *pkg_info_priority;
- GtkWidget *label244;
- GtkWidget *pkg_info_location;
- GtkWidget *vbox67;
- GtkWidget *label272;
- GtkWidget *hbox106;
- GtkWidget *label271;
- GtkWidget *table3;
- GtkWidget *label237;
- GtkWidget *pkg_info_installed_version;
- GtkWidget *label239;
- 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;
- GtkWidget *pkg_description_textview;
- GtkWidget *pkg_info_description_label;
- GtkWidget *scrolledwindow21;
- GtkWidget *dep_conf_sug_treeview;
- GtkWidget *pkg_info_dependencies_label;
- GtkWidget *scrolledwindow23;
- GtkWidget *pkg_changelog_textview;
- GtkWidget *pkg_info_changelog;
- GtkWidget *scrolledwindow25;
- GtkWidget *pkg_filelist_textview;
- GtkWidget *pkg_info_filelist;
- GtkWidget *bottom_statusbar;
- GtkAccelGroup *accel_group;
- GtkTooltips *tooltips;
-
- tooltips = gtk_tooltips_new ();
-
- accel_group = gtk_accel_group_new ();
-
- gslapt = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (gslapt, "gslapt");
- gtk_window_set_title (GTK_WINDOW (gslapt), _("Gslapt"));
- gtk_window_set_position (GTK_WINDOW (gslapt), GTK_WIN_POS_CENTER);
- gslapt_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (gslapt_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (gslapt), gslapt_icon_pixbuf);
- g_object_unref (gslapt_icon_pixbuf);
- }
- gtk_window_set_gravity (GTK_WINDOW (gslapt), GDK_GRAVITY_CENTER);
-
- gslapt_vbox = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (gslapt_vbox, "gslapt_vbox");
- gtk_widget_show (gslapt_vbox);
- gtk_container_add (GTK_CONTAINER (gslapt), gslapt_vbox);
-
- top_menubar = gtk_menu_bar_new ();
- gtk_widget_set_name (top_menubar, "top_menubar");
- gtk_widget_show (top_menubar);
- gtk_box_pack_start (GTK_BOX (gslapt_vbox), top_menubar, FALSE, FALSE, 0);
-
- actions2 = gtk_menu_item_new_with_mnemonic (_("_File"));
- gtk_widget_set_name (actions2, "actions2");
- gtk_widget_show (actions2);
- gtk_container_add (GTK_CONTAINER (top_menubar), actions2);
-
- actions2_menu = gtk_menu_new ();
- gtk_widget_set_name (actions2_menu, "actions2_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (actions2), actions2_menu);
-
- update1 = gtk_image_menu_item_new_with_mnemonic (_("Update"));
- gtk_widget_set_name (update1, "update1");
- gtk_widget_show (update1);
- gtk_container_add (GTK_CONTAINER (actions2_menu), update1);
- gtk_tooltips_set_tip (tooltips, update1, _("Update local package cache"), NULL);
- gtk_widget_add_accelerator (update1, "activate", accel_group,
- GDK_y, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1731 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1731, "image1731");
- gtk_widget_show (image1731);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (update1), image1731);
-
- mark_all_upgrades2 = gtk_image_menu_item_new_with_mnemonic (_("Mark All Upgrades"));
- gtk_widget_set_name (mark_all_upgrades2, "mark_all_upgrades2");
- gtk_widget_show (mark_all_upgrades2);
- gtk_container_add (GTK_CONTAINER (actions2_menu), mark_all_upgrades2);
- gtk_tooltips_set_tip (tooltips, mark_all_upgrades2, _("Mark all possible upgrades"), NULL);
- gtk_widget_add_accelerator (mark_all_upgrades2, "activate", accel_group,
- GDK_a, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1732 = gtk_image_new_from_stock ("gtk-go-up", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1732, "image1732");
- gtk_widget_show (image1732);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mark_all_upgrades2), image1732);
-
- mark_obsolete1 = gtk_image_menu_item_new_with_mnemonic (_("Mark Obsolete"));
- gtk_widget_set_name (mark_obsolete1, "mark_obsolete1");
- gtk_widget_show (mark_obsolete1);
- gtk_container_add (GTK_CONTAINER (actions2_menu), mark_obsolete1);
- gtk_tooltips_set_tip (tooltips, mark_obsolete1, _("Mark all obsolete packages"), NULL);
- gtk_widget_add_accelerator (mark_obsolete1, "activate", accel_group,
- GDK_o, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1733 = gtk_image_new_from_stock ("gtk-remove", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1733, "image1733");
- gtk_widget_show (image1733);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mark_obsolete1), image1733);
-
- execute1 = gtk_image_menu_item_new_with_mnemonic (_("Execute"));
- gtk_widget_set_name (execute1, "execute1");
- gtk_widget_show (execute1);
- gtk_container_add (GTK_CONTAINER (actions2_menu), execute1);
- gtk_tooltips_set_tip (tooltips, execute1, _("Execute all scheduled actions in current transaction"), NULL);
- gtk_widget_add_accelerator (execute1, "activate", accel_group,
- GDK_Return, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1734 = gtk_image_new_from_stock ("gtk-apply", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1734, "image1734");
- gtk_widget_show (image1734);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (execute1), image1734);
-
- separator2 = gtk_separator_menu_item_new ();
- gtk_widget_set_name (separator2, "separator2");
- gtk_widget_show (separator2);
- gtk_container_add (GTK_CONTAINER (actions2_menu), separator2);
- gtk_widget_set_sensitive (separator2, FALSE);
-
- quit = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group);
- gtk_widget_set_name (quit, "quit");
- gtk_widget_show (quit);
- gtk_container_add (GTK_CONTAINER (actions2_menu), quit);
-
- edit1 = gtk_menu_item_new_with_mnemonic (_("_Edit"));
- gtk_widget_set_name (edit1, "edit1");
- gtk_widget_show (edit1);
- gtk_container_add (GTK_CONTAINER (top_menubar), edit1);
-
- edit1_menu = gtk_menu_new ();
- gtk_widget_set_name (edit1_menu, "edit1_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (edit1), edit1_menu);
-
- unmark_all1 = gtk_image_menu_item_new_with_mnemonic (_("Unmark All"));
- gtk_widget_set_name (unmark_all1, "unmark_all1");
- gtk_widget_show (unmark_all1);
- gtk_container_add (GTK_CONTAINER (edit1_menu), unmark_all1);
- gtk_widget_add_accelerator (unmark_all1, "activate", accel_group,
- GDK_z, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1735 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1735, "image1735");
- gtk_widget_show (image1735);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (unmark_all1), image1735);
-
- separator1 = gtk_separator_menu_item_new ();
- gtk_widget_set_name (separator1, "separator1");
- gtk_widget_show (separator1);
- gtk_container_add (GTK_CONTAINER (edit1_menu), separator1);
- gtk_widget_set_sensitive (separator1, FALSE);
-
- preferences2 = gtk_image_menu_item_new_with_mnemonic (_("Preferences"));
- gtk_widget_set_name (preferences2, "preferences2");
- gtk_widget_show (preferences2);
- gtk_container_add (GTK_CONTAINER (edit1_menu), preferences2);
- gtk_widget_add_accelerator (preferences2, "activate", accel_group,
- GDK_p, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1736 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1736, "image1736");
- gtk_widget_show (image1736);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (preferences2), image1736);
-
- view1 = gtk_menu_item_new_with_mnemonic (_("_View"));
- gtk_widget_set_name (view1, "view1");
- gtk_widget_show (view1);
- gtk_container_add (GTK_CONTAINER (top_menubar), view1);
-
- view1_menu = gtk_menu_new ();
- gtk_widget_set_name (view1_menu, "view1_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (view1), view1_menu);
-
- view_all_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("All"));
- view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_all_packages_menu));
- gtk_widget_set_name (view_all_packages_menu, "view_all_packages_menu");
- gtk_widget_show (view_all_packages_menu);
- gtk_container_add (GTK_CONTAINER (view1_menu), view_all_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_all_packages_menu, _("View all packages"), NULL);
- gtk_widget_add_accelerator (view_all_packages_menu, "activate", accel_group,
- GDK_F1, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- view_available_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Available"));
- view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_available_packages_menu));
- gtk_widget_set_name (view_available_packages_menu, "view_available_packages_menu");
- gtk_widget_show (view_available_packages_menu);
- gtk_container_add (GTK_CONTAINER (view1_menu), view_available_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_available_packages_menu, _("View available packages from current sources"), NULL);
- gtk_widget_add_accelerator (view_available_packages_menu, "activate", accel_group,
- GDK_F2, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- view_installed_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Installed"));
- view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_installed_packages_menu));
- gtk_widget_set_name (view_installed_packages_menu, "view_installed_packages_menu");
- gtk_widget_show (view_installed_packages_menu);
- gtk_container_add (GTK_CONTAINER (view1_menu), view_installed_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_installed_packages_menu, _("View installed packages"), NULL);
- gtk_widget_add_accelerator (view_installed_packages_menu, "activate", accel_group,
- GDK_F3, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- view_marked_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Marked"));
- view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_marked_packages_menu));
- gtk_widget_set_name (view_marked_packages_menu, "view_marked_packages_menu");
- gtk_widget_show (view_marked_packages_menu);
- gtk_container_add (GTK_CONTAINER (view1_menu), view_marked_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_marked_packages_menu, _("View Marked Packages"), NULL);
- gtk_widget_add_accelerator (view_marked_packages_menu, "activate", accel_group,
- GDK_F4, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- view_upgradeable_packages_menu = gtk_radio_menu_item_new_with_mnemonic (view_all_packages_menu_group, _("Upgradeable"));
- view_all_packages_menu_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (view_upgradeable_packages_menu));
- gtk_widget_set_name (view_upgradeable_packages_menu, "view_upgradeable_packages_menu");
- gtk_widget_show (view_upgradeable_packages_menu);
- gtk_container_add (GTK_CONTAINER (view1_menu), view_upgradeable_packages_menu);
- gtk_tooltips_set_tip (tooltips, view_upgradeable_packages_menu, _("View Upgradeable Packages"), NULL);
- gtk_widget_add_accelerator (view_upgradeable_packages_menu, "activate", accel_group,
- GDK_F5, (GdkModifierType) 0,
- GTK_ACCEL_VISIBLE);
-
- package1 = gtk_menu_item_new_with_mnemonic (_("P_ackage"));
- gtk_widget_set_name (package1, "package1");
- gtk_widget_show (package1);
- gtk_container_add (GTK_CONTAINER (top_menubar), package1);
-
- package1_menu = gtk_menu_new ();
- gtk_widget_set_name (package1_menu, "package1_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (package1), package1_menu);
-
- unmark1 = gtk_image_menu_item_new_with_mnemonic (_("Unmark"));
- gtk_widget_set_name (unmark1, "unmark1");
- gtk_widget_show (unmark1);
- gtk_container_add (GTK_CONTAINER (package1_menu), unmark1);
- gtk_widget_set_sensitive (unmark1, FALSE);
- gtk_widget_add_accelerator (unmark1, "activate", accel_group,
- GDK_n, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1737 = create_pixmap (gslapt, "pkg_action_available.png");
- gtk_widget_set_name (image1737, "image1737");
- gtk_widget_show (image1737);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (unmark1), image1737);
-
- install1 = gtk_image_menu_item_new_with_mnemonic (_("Install"));
- gtk_widget_set_name (install1, "install1");
- gtk_widget_show (install1);
- gtk_container_add (GTK_CONTAINER (package1_menu), install1);
- gtk_widget_set_sensitive (install1, FALSE);
- gtk_widget_add_accelerator (install1, "activate", accel_group,
- GDK_i, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1738 = create_pixmap (gslapt, "pkg_action_install.png");
- gtk_widget_set_name (image1738, "image1738");
- gtk_widget_show (image1738);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (install1), image1738);
-
- re_install1 = gtk_image_menu_item_new_with_mnemonic (_("Re-Install"));
- gtk_widget_set_name (re_install1, "re_install1");
- gtk_widget_show (re_install1);
- gtk_container_add (GTK_CONTAINER (package1_menu), re_install1);
- gtk_widget_set_sensitive (re_install1, FALSE);
- gtk_widget_add_accelerator (re_install1, "activate", accel_group,
- GDK_e, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1739 = create_pixmap (gslapt, "pkg_action_reinstall.png");
- gtk_widget_set_name (image1739, "image1739");
- gtk_widget_show (image1739);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (re_install1), image1739);
-
- upgrade1 = gtk_image_menu_item_new_with_mnemonic (_("Upgrade"));
- gtk_widget_set_name (upgrade1, "upgrade1");
- gtk_widget_show (upgrade1);
- gtk_container_add (GTK_CONTAINER (package1_menu), upgrade1);
- gtk_widget_set_sensitive (upgrade1, FALSE);
- gtk_widget_add_accelerator (upgrade1, "activate", accel_group,
- GDK_u, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1740 = create_pixmap (gslapt, "pkg_action_upgrade.png");
- gtk_widget_set_name (image1740, "image1740");
- gtk_widget_show (image1740);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (upgrade1), image1740);
-
- downgrade1 = gtk_image_menu_item_new_with_mnemonic (_("Downgrade"));
- gtk_widget_set_name (downgrade1, "downgrade1");
- gtk_widget_show (downgrade1);
- gtk_container_add (GTK_CONTAINER (package1_menu), downgrade1);
- gtk_widget_set_sensitive (downgrade1, FALSE);
- gtk_widget_add_accelerator (downgrade1, "activate", accel_group,
- GDK_d, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1741 = create_pixmap (gslapt, "pkg_action_downgrade.png");
- gtk_widget_set_name (image1741, "image1741");
- gtk_widget_show (image1741);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (downgrade1), image1741);
-
- remove1 = gtk_image_menu_item_new_with_mnemonic (_("Remove"));
- gtk_widget_set_name (remove1, "remove1");
- gtk_widget_show (remove1);
- gtk_container_add (GTK_CONTAINER (package1_menu), remove1);
- gtk_widget_set_sensitive (remove1, FALSE);
- gtk_widget_add_accelerator (remove1, "activate", accel_group,
- GDK_r, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- image1742 = create_pixmap (gslapt, "pkg_action_remove.png");
- gtk_widget_set_name (image1742, "image1742");
- gtk_widget_show (image1742);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (remove1), image1742);
-
- help3 = gtk_menu_item_new_with_mnemonic (_("_Help"));
- gtk_widget_set_name (help3, "help3");
- gtk_widget_show (help3);
- gtk_container_add (GTK_CONTAINER (top_menubar), help3);
-
- help3_menu = gtk_menu_new ();
- gtk_widget_set_name (help3_menu, "help3_menu");
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (help3), help3_menu);
-
- icon_legend1 = gtk_image_menu_item_new_with_mnemonic (_("Icon Legend"));
- gtk_widget_set_name (icon_legend1, "icon_legend1");
- gtk_widget_show (icon_legend1);
- gtk_container_add (GTK_CONTAINER (help3_menu), icon_legend1);
-
- image1743 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1743, "image1743");
- gtk_widget_show (image1743);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (icon_legend1), image1743);
-
- changelogs_menu = gtk_image_menu_item_new_with_mnemonic (_("ChangeLogs"));
- gtk_widget_set_name (changelogs_menu, "changelogs_menu");
- gtk_widget_show (changelogs_menu);
- gtk_container_add (GTK_CONTAINER (help3_menu), changelogs_menu);
- gtk_tooltips_set_tip (tooltips, changelogs_menu, _("View ChangeLogs"), NULL);
-
- image1744 = gtk_image_new_from_stock ("gtk-info", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1744, "image1744");
- gtk_widget_show (image1744);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (changelogs_menu), image1744);
-
- about3 = gtk_image_menu_item_new_with_mnemonic (_("About"));
- gtk_widget_set_name (about3, "about3");
- gtk_widget_show (about3);
- gtk_container_add (GTK_CONTAINER (help3_menu), about3);
-
- image1745 = gtk_image_new_from_stock ("gtk-about", GTK_ICON_SIZE_MENU);
- gtk_widget_set_name (image1745, "image1745");
- gtk_widget_show (image1745);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (about3), image1745);
-
- action_toolbar = gtk_toolbar_new ();
- gtk_widget_set_name (action_toolbar, "action_toolbar");
- gtk_widget_show (action_toolbar);
- gtk_box_pack_start (GTK_BOX (gslapt_vbox), action_toolbar, FALSE, FALSE, 0);
- gtk_toolbar_set_style (GTK_TOOLBAR (action_toolbar), GTK_TOOLBAR_BOTH);
- tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (action_toolbar));
-
- tmp_image = gtk_image_new_from_stock ("gtk-refresh", tmp_toolbar_icon_size);
- gtk_widget_show (tmp_image);
- action_bar_update_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Update"));
- gtk_widget_set_name (action_bar_update_button, "action_bar_update_button");
- gtk_widget_show (action_bar_update_button);
- gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_update_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_update_button), tooltips, _("Update local package cache"), NULL);
-
- tmp_image = gtk_image_new_from_stock ("gtk-go-up", tmp_toolbar_icon_size);
- gtk_widget_show (tmp_image);
- action_bar_upgrade_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Mark All Upgrades"));
- gtk_widget_set_name (action_bar_upgrade_button, "action_bar_upgrade_button");
- gtk_widget_show (action_bar_upgrade_button);
- gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_upgrade_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_upgrade_button), tooltips, _("Mark all possible upgrades"), NULL);
-
- separatortoolitem1 = (GtkWidget*) gtk_separator_tool_item_new ();
- gtk_widget_set_name (separatortoolitem1, "separatortoolitem1");
- gtk_widget_show (separatortoolitem1);
- gtk_container_add (GTK_CONTAINER (action_toolbar), separatortoolitem1);
-
- tmp_image = gtk_image_new_from_stock ("gtk-apply", tmp_toolbar_icon_size);
- gtk_widget_show (tmp_image);
- action_bar_execute_button = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Execute"));
- gtk_widget_set_name (action_bar_execute_button, "action_bar_execute_button");
- gtk_widget_show (action_bar_execute_button);
- gtk_container_add (GTK_CONTAINER (action_toolbar), action_bar_execute_button);
- gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (action_bar_execute_button), tooltips, _("Execute all scheduled actions in current transaction"), NULL);
-
- search_vbox = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (search_vbox, "search_vbox");
- gtk_widget_show (search_vbox);
- gtk_box_pack_start (GTK_BOX (gslapt_vbox), search_vbox, FALSE, FALSE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (search_vbox), 6);
-
- search_align = gtk_alignment_new (0.5, 0.5, 1, 1);
- gtk_widget_set_name (search_align, "search_align");
- gtk_widget_show (search_align);
- gtk_box_pack_start (GTK_BOX (search_vbox), search_align, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (search_align), 1);
-
- search_hbox = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (search_hbox, "search_hbox");
- gtk_widget_show (search_hbox);
- gtk_container_add (GTK_CONTAINER (search_align), search_hbox);
-
- label292 = gtk_label_new (_("Search"));
- gtk_widget_set_name (label292, "label292");
- gtk_widget_show (label292);
- gtk_box_pack_start (GTK_BOX (search_hbox), label292, FALSE, TRUE, 6);
-
- search_entry = gtk_entry_new ();
- gtk_widget_set_name (search_entry, "search_entry");
- gtk_widget_show (search_entry);
- gtk_box_pack_start (GTK_BOX (search_hbox), search_entry, TRUE, TRUE, 0);
- GTK_WIDGET_SET_FLAGS (search_entry, GTK_CAN_DEFAULT);
- gtk_widget_add_accelerator (search_entry, "grab_focus", accel_group,
- GDK_L, (GdkModifierType) GDK_CONTROL_MASK,
- GTK_ACCEL_VISIBLE);
-
- pkg_vpaned = gtk_vpaned_new ();
- gtk_widget_set_name (pkg_vpaned, "pkg_vpaned");
- gtk_widget_show (pkg_vpaned);
- gtk_box_pack_start (GTK_BOX (gslapt_vbox), pkg_vpaned, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (pkg_vpaned), 6);
-
- pkg_list_scrolled = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (pkg_list_scrolled, "pkg_list_scrolled");
- gtk_widget_show (pkg_list_scrolled);
- gtk_paned_pack1 (GTK_PANED (pkg_vpaned), pkg_list_scrolled, TRUE, TRUE);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (pkg_list_scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
- pkg_listing_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (pkg_listing_treeview, "pkg_listing_treeview");
- gtk_widget_show (pkg_listing_treeview);
- gtk_container_add (GTK_CONTAINER (pkg_list_scrolled), pkg_listing_treeview);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (pkg_listing_treeview), TRUE);
-
- pkg_info_notebook = gtk_notebook_new ();
- gtk_widget_set_name (pkg_info_notebook, "pkg_info_notebook");
- gtk_widget_show (pkg_info_notebook);
- gtk_paned_pack2 (GTK_PANED (pkg_vpaned), pkg_info_notebook, TRUE, TRUE);
- gtk_container_set_border_width (GTK_CONTAINER (pkg_info_notebook), 6);
- gtk_notebook_set_show_border (GTK_NOTEBOOK (pkg_info_notebook), FALSE);
- gtk_notebook_set_scrollable (GTK_NOTEBOOK (pkg_info_notebook), TRUE);
-
- scrolledwindow20 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow20, "scrolledwindow20");
- gtk_widget_show (scrolledwindow20);
- gtk_container_add (GTK_CONTAINER (pkg_info_notebook), scrolledwindow20);
- gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow20), 12);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow20), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
- viewport1 = gtk_viewport_new (NULL, NULL);
- gtk_widget_set_name (viewport1, "viewport1");
- gtk_widget_show (viewport1);
- gtk_container_add (GTK_CONTAINER (scrolledwindow20), viewport1);
-
- vbox63 = gtk_vbox_new (FALSE, 18);
- gtk_widget_set_name (vbox63, "vbox63");
- gtk_widget_show (vbox63);
- gtk_container_add (GTK_CONTAINER (viewport1), vbox63);
- gtk_container_set_border_width (GTK_CONTAINER (vbox63), 6);
-
- table2 = gtk_table_new (7, 2, FALSE);
- gtk_widget_set_name (table2, "table2");
- gtk_widget_show (table2);
- gtk_box_pack_start (GTK_BOX (vbox63), table2, FALSE, FALSE, 0);
- gtk_table_set_row_spacings (GTK_TABLE (table2), 6);
- gtk_table_set_col_spacings (GTK_TABLE (table2), 12);
-
- label226 = gtk_label_new (_("<b>Name:</b>"));
- gtk_widget_set_name (label226, "label226");
- gtk_widget_show (label226);
- gtk_table_attach (GTK_TABLE (table2), label226, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label226), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label226), 0, 0.5);
-
- pkg_info_name = gtk_label_new (_("No package is selected."));
- gtk_widget_set_name (pkg_info_name, "pkg_info_name");
- gtk_widget_show (pkg_info_name);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_name, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_name, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_name), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_name), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_name), 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, 2, 3,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label250), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label250), 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, 1, 2,
- (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);
-
- 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_label_set_use_markup (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 ("");
- 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_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);
-
- 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, 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);
-
- label291 = gtk_label_new (_("<b>Source:</b>"));
- gtk_widget_set_name (label291, "label291");
- gtk_widget_show (label291);
- gtk_table_attach (GTK_TABLE (table2), label291, 0, 1, 5, 6,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label291), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label291), 0, 0.5);
-
- pkg_info_source = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_source, "pkg_info_source");
- gtk_widget_show (pkg_info_source);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_source, 1, 2, 5, 6,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- GTK_WIDGET_SET_FLAGS (pkg_info_source, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_source), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_source), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_source), 0, 0.5);
-
- label298 = gtk_label_new (_("<b>Priority:</b>"));
- gtk_widget_set_name (label298, "label298");
- gtk_widget_show (label298);
- gtk_table_attach (GTK_TABLE (table2), label298, 0, 1, 6, 7,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label298), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label298), 0, 0.5);
-
- pkg_info_priority = gtk_label_new ("");
- gtk_widget_set_name (pkg_info_priority, "pkg_info_priority");
- gtk_widget_show (pkg_info_priority);
- gtk_table_attach (GTK_TABLE (table2), pkg_info_priority, 1, 2, 6, 7,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_priority), 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,
- (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);
-
- 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_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);
-
- 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 (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 (_("Version:"));
- gtk_widget_set_name (label237, "label237");
- gtk_widget_show (label237);
- gtk_table_attach (GTK_TABLE (table3), label237, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (0), 0, 0);
- gtk_label_set_use_markup (GTK_LABEL (label237), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label237), 0, 0.5);
-
- 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_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 (_("Installed Size:"));
- gtk_widget_set_name (label239, "label239");
- gtk_widget_show (label239);
- 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);
-
- 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_label_set_use_markup (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 (label264), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label264), 0, 0.5);
-
- 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_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_WIDGET_SET_FLAGS (pkg_info_available_version, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_version), TRUE);
- gtk_label_set_selectable (GTK_LABEL (pkg_info_available_version), TRUE);
- gtk_misc_set_alignment (GTK_MISC (pkg_info_available_version), 0, 0.5);
-
- 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_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_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_available_source, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (pkg_info_available_source), TRUE);
- gtk_label_set_selectable (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");
- gtk_widget_show (pkg_info_common_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 0), pkg_info_common_label);
-
- vbox64 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox64, "vbox64");
- gtk_widget_show (vbox64);
- gtk_container_add (GTK_CONTAINER (pkg_info_notebook), vbox64);
- gtk_container_set_border_width (GTK_CONTAINER (vbox64), 12);
-
- scrolledwindow19 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow19, "scrolledwindow19");
- gtk_widget_show (scrolledwindow19);
- gtk_box_pack_start (GTK_BOX (vbox64), scrolledwindow19, TRUE, TRUE, 0);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow19), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow19), GTK_SHADOW_IN);
-
- pkg_description_textview = gtk_text_view_new ();
- gtk_widget_set_name (pkg_description_textview, "pkg_description_textview");
- gtk_widget_show (pkg_description_textview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow19), pkg_description_textview);
- gtk_text_view_set_editable (GTK_TEXT_VIEW (pkg_description_textview), FALSE);
- gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_description_textview), FALSE);
-
- pkg_info_description_label = gtk_label_new (_("Description"));
- gtk_widget_set_name (pkg_info_description_label, "pkg_info_description_label");
- gtk_widget_show (pkg_info_description_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 1), pkg_info_description_label);
-
- scrolledwindow21 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow21, "scrolledwindow21");
- gtk_widget_show (scrolledwindow21);
- gtk_container_add (GTK_CONTAINER (pkg_info_notebook), scrolledwindow21);
- gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow21), 12);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow21), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
- dep_conf_sug_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (dep_conf_sug_treeview, "dep_conf_sug_treeview");
- gtk_widget_show (dep_conf_sug_treeview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow21), dep_conf_sug_treeview);
- gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (dep_conf_sug_treeview), FALSE);
- gtk_tree_view_set_enable_search (GTK_TREE_VIEW (dep_conf_sug_treeview), FALSE);
-
- pkg_info_dependencies_label = gtk_label_new (_("Dependencies"));
- gtk_widget_set_name (pkg_info_dependencies_label, "pkg_info_dependencies_label");
- gtk_widget_show (pkg_info_dependencies_label);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 2), pkg_info_dependencies_label);
-
- scrolledwindow23 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow23, "scrolledwindow23");
- gtk_widget_show (scrolledwindow23);
- gtk_container_add (GTK_CONTAINER (pkg_info_notebook), scrolledwindow23);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow23), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow23), GTK_SHADOW_IN);
-
- pkg_changelog_textview = gtk_text_view_new ();
- gtk_widget_set_name (pkg_changelog_textview, "pkg_changelog_textview");
- gtk_widget_show (pkg_changelog_textview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow23), pkg_changelog_textview);
- gtk_text_view_set_editable (GTK_TEXT_VIEW (pkg_changelog_textview), FALSE);
- gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (pkg_changelog_textview), GTK_WRAP_WORD);
- gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_changelog_textview), FALSE);
-
- pkg_info_changelog = gtk_label_new (_("Changelog"));
- gtk_widget_set_name (pkg_info_changelog, "pkg_info_changelog");
- gtk_widget_show (pkg_info_changelog);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 3), pkg_info_changelog);
-
- scrolledwindow25 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow25, "scrolledwindow25");
- gtk_widget_show (scrolledwindow25);
- gtk_container_add (GTK_CONTAINER (pkg_info_notebook), scrolledwindow25);
- gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow25), GTK_SHADOW_IN);
-
- pkg_filelist_textview = gtk_text_view_new ();
- gtk_widget_set_name (pkg_filelist_textview, "pkg_filelist_textview");
- gtk_widget_show (pkg_filelist_textview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow25), pkg_filelist_textview);
- gtk_text_view_set_editable (GTK_TEXT_VIEW (pkg_filelist_textview), FALSE);
- gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (pkg_filelist_textview), GTK_WRAP_WORD);
- gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (pkg_filelist_textview), FALSE);
-
- pkg_info_filelist = gtk_label_new (_("Files"));
- gtk_widget_set_name (pkg_info_filelist, "pkg_info_filelist");
- gtk_widget_show (pkg_info_filelist);
- gtk_notebook_set_tab_label (GTK_NOTEBOOK (pkg_info_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (pkg_info_notebook), 4), pkg_info_filelist);
-
- bottom_statusbar = gtk_statusbar_new ();
- gtk_widget_set_name (bottom_statusbar, "bottom_statusbar");
- gtk_widget_show (bottom_statusbar);
- gtk_box_pack_start (GTK_BOX (gslapt_vbox), bottom_statusbar, FALSE, FALSE, 0);
-
- g_signal_connect ((gpointer) gslapt, "destroy",
- G_CALLBACK (on_gslapt_destroy),
- NULL);
- g_signal_connect ((gpointer) gslapt, "configure-event",
- G_CALLBACK (gslapt_window_resized),
- NULL);
- g_signal_connect ((gpointer) update1, "activate",
- G_CALLBACK (update_activate),
- NULL);
- g_signal_connect ((gpointer) mark_all_upgrades2, "activate",
- G_CALLBACK (mark_all_upgrades_activate),
- NULL);
- g_signal_connect ((gpointer) mark_obsolete1, "activate",
- G_CALLBACK (mark_obsolete_packages),
- NULL);
- g_signal_connect ((gpointer) execute1, "activate",
- G_CALLBACK (execute_activate),
- NULL);
- g_signal_connect ((gpointer) quit, "activate",
- G_CALLBACK (on_gslapt_destroy),
- NULL);
- g_signal_connect ((gpointer) unmark_all1, "activate",
- G_CALLBACK (unmark_all_activate),
- NULL);
- g_signal_connect ((gpointer) unmark_all1, "activate",
- G_CALLBACK (unmark_all_activate),
- NULL);
- g_signal_connect ((gpointer) preferences2, "activate",
- G_CALLBACK (open_preferences),
- NULL);
- g_signal_connect ((gpointer) view_all_packages_menu, "activate",
- G_CALLBACK (view_all_packages),
- NULL);
- g_signal_connect ((gpointer) view_available_packages_menu, "activate",
- G_CALLBACK (view_available_packages),
- NULL);
- g_signal_connect ((gpointer) view_installed_packages_menu, "activate",
- G_CALLBACK (view_installed_packages),
- NULL);
- g_signal_connect ((gpointer) view_marked_packages_menu, "activate",
- G_CALLBACK (view_marked_packages),
- NULL);
- g_signal_connect ((gpointer) view_upgradeable_packages_menu, "activate",
- G_CALLBACK (view_upgradeable_packages),
- NULL);
- g_signal_connect ((gpointer) icon_legend1, "activate",
- G_CALLBACK (open_icon_legend),
- NULL);
- g_signal_connect ((gpointer) changelogs_menu, "activate",
- G_CALLBACK (view_changelogs),
- NULL);
- g_signal_connect ((gpointer) about3, "activate",
- G_CALLBACK (open_about),
- NULL);
- g_signal_connect_swapped ((gpointer) action_bar_update_button, "clicked",
- G_CALLBACK (update_callback),
- GTK_OBJECT (gslapt));
- g_signal_connect_swapped ((gpointer) action_bar_upgrade_button, "clicked",
- G_CALLBACK (upgrade_callback),
- GTK_OBJECT (gslapt));
- g_signal_connect_swapped ((gpointer) action_bar_execute_button, "clicked",
- G_CALLBACK (execute_callback),
- GTK_OBJECT (gslapt));
- g_signal_connect_swapped ((gpointer) search_entry, "editing_done",
- G_CALLBACK (search_activated),
- GTK_OBJECT (gslapt));
- g_signal_connect_swapped ((gpointer) search_entry, "activate",
- G_CALLBACK (search_activated),
- GTK_OBJECT (gslapt));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (gslapt, gslapt, "gslapt");
- GLADE_HOOKUP_OBJECT (gslapt, gslapt_vbox, "gslapt_vbox");
- GLADE_HOOKUP_OBJECT (gslapt, top_menubar, "top_menubar");
- GLADE_HOOKUP_OBJECT (gslapt, actions2, "actions2");
- GLADE_HOOKUP_OBJECT (gslapt, actions2_menu, "actions2_menu");
- GLADE_HOOKUP_OBJECT (gslapt, update1, "update1");
- GLADE_HOOKUP_OBJECT (gslapt, image1731, "image1731");
- GLADE_HOOKUP_OBJECT (gslapt, mark_all_upgrades2, "mark_all_upgrades2");
- GLADE_HOOKUP_OBJECT (gslapt, image1732, "image1732");
- GLADE_HOOKUP_OBJECT (gslapt, mark_obsolete1, "mark_obsolete1");
- GLADE_HOOKUP_OBJECT (gslapt, image1733, "image1733");
- GLADE_HOOKUP_OBJECT (gslapt, execute1, "execute1");
- GLADE_HOOKUP_OBJECT (gslapt, image1734, "image1734");
- GLADE_HOOKUP_OBJECT (gslapt, separator2, "separator2");
- GLADE_HOOKUP_OBJECT (gslapt, quit, "quit");
- GLADE_HOOKUP_OBJECT (gslapt, edit1, "edit1");
- GLADE_HOOKUP_OBJECT (gslapt, edit1_menu, "edit1_menu");
- GLADE_HOOKUP_OBJECT (gslapt, unmark_all1, "unmark_all1");
- GLADE_HOOKUP_OBJECT (gslapt, image1735, "image1735");
- GLADE_HOOKUP_OBJECT (gslapt, separator1, "separator1");
- GLADE_HOOKUP_OBJECT (gslapt, preferences2, "preferences2");
- GLADE_HOOKUP_OBJECT (gslapt, image1736, "image1736");
- GLADE_HOOKUP_OBJECT (gslapt, view1, "view1");
- GLADE_HOOKUP_OBJECT (gslapt, view1_menu, "view1_menu");
- GLADE_HOOKUP_OBJECT (gslapt, view_all_packages_menu, "view_all_packages_menu");
- GLADE_HOOKUP_OBJECT (gslapt, view_available_packages_menu, "view_available_packages_menu");
- GLADE_HOOKUP_OBJECT (gslapt, view_installed_packages_menu, "view_installed_packages_menu");
- GLADE_HOOKUP_OBJECT (gslapt, view_marked_packages_menu, "view_marked_packages_menu");
- GLADE_HOOKUP_OBJECT (gslapt, view_upgradeable_packages_menu, "view_upgradeable_packages_menu");
- GLADE_HOOKUP_OBJECT (gslapt, package1, "package1");
- GLADE_HOOKUP_OBJECT (gslapt, package1_menu, "package1_menu");
- GLADE_HOOKUP_OBJECT (gslapt, unmark1, "unmark1");
- GLADE_HOOKUP_OBJECT (gslapt, image1737, "image1737");
- GLADE_HOOKUP_OBJECT (gslapt, install1, "install1");
- GLADE_HOOKUP_OBJECT (gslapt, image1738, "image1738");
- GLADE_HOOKUP_OBJECT (gslapt, re_install1, "re_install1");
- GLADE_HOOKUP_OBJECT (gslapt, image1739, "image1739");
- GLADE_HOOKUP_OBJECT (gslapt, upgrade1, "upgrade1");
- GLADE_HOOKUP_OBJECT (gslapt, image1740, "image1740");
- GLADE_HOOKUP_OBJECT (gslapt, downgrade1, "downgrade1");
- GLADE_HOOKUP_OBJECT (gslapt, image1741, "image1741");
- GLADE_HOOKUP_OBJECT (gslapt, remove1, "remove1");
- GLADE_HOOKUP_OBJECT (gslapt, image1742, "image1742");
- GLADE_HOOKUP_OBJECT (gslapt, help3, "help3");
- GLADE_HOOKUP_OBJECT (gslapt, help3_menu, "help3_menu");
- GLADE_HOOKUP_OBJECT (gslapt, icon_legend1, "icon_legend1");
- GLADE_HOOKUP_OBJECT (gslapt, image1743, "image1743");
- GLADE_HOOKUP_OBJECT (gslapt, changelogs_menu, "changelogs_menu");
- GLADE_HOOKUP_OBJECT (gslapt, image1744, "image1744");
- GLADE_HOOKUP_OBJECT (gslapt, about3, "about3");
- GLADE_HOOKUP_OBJECT (gslapt, image1745, "image1745");
- GLADE_HOOKUP_OBJECT (gslapt, action_toolbar, "action_toolbar");
- GLADE_HOOKUP_OBJECT (gslapt, action_bar_update_button, "action_bar_update_button");
- GLADE_HOOKUP_OBJECT (gslapt, action_bar_upgrade_button, "action_bar_upgrade_button");
- GLADE_HOOKUP_OBJECT (gslapt, separatortoolitem1, "separatortoolitem1");
- GLADE_HOOKUP_OBJECT (gslapt, action_bar_execute_button, "action_bar_execute_button");
- GLADE_HOOKUP_OBJECT (gslapt, search_vbox, "search_vbox");
- GLADE_HOOKUP_OBJECT (gslapt, search_align, "search_align");
- GLADE_HOOKUP_OBJECT (gslapt, search_hbox, "search_hbox");
- GLADE_HOOKUP_OBJECT (gslapt, label292, "label292");
- GLADE_HOOKUP_OBJECT (gslapt, search_entry, "search_entry");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_vpaned, "pkg_vpaned");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_list_scrolled, "pkg_list_scrolled");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_listing_treeview, "pkg_listing_treeview");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_notebook, "pkg_info_notebook");
- GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow20, "scrolledwindow20");
- GLADE_HOOKUP_OBJECT (gslapt, viewport1, "viewport1");
- GLADE_HOOKUP_OBJECT (gslapt, vbox63, "vbox63");
- 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, label250, "label250");
- 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, pkg_info_status, "pkg_info_status");
- GLADE_HOOKUP_OBJECT (gslapt, label291, "label291");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_source, "pkg_info_source");
- GLADE_HOOKUP_OBJECT (gslapt, label298, "label298");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_priority, "pkg_info_priority");
- GLADE_HOOKUP_OBJECT (gslapt, label244, "label244");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_location, "pkg_info_location");
- 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, pkg_info_installed_version, "pkg_info_installed_version");
- GLADE_HOOKUP_OBJECT (gslapt, label239, "label239");
- 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");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_description_textview, "pkg_description_textview");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_description_label, "pkg_info_description_label");
- GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow21, "scrolledwindow21");
- GLADE_HOOKUP_OBJECT (gslapt, dep_conf_sug_treeview, "dep_conf_sug_treeview");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_dependencies_label, "pkg_info_dependencies_label");
- GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow23, "scrolledwindow23");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_changelog_textview, "pkg_changelog_textview");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_changelog, "pkg_info_changelog");
- GLADE_HOOKUP_OBJECT (gslapt, scrolledwindow25, "scrolledwindow25");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_filelist_textview, "pkg_filelist_textview");
- GLADE_HOOKUP_OBJECT (gslapt, pkg_info_filelist, "pkg_info_filelist");
- GLADE_HOOKUP_OBJECT (gslapt, bottom_statusbar, "bottom_statusbar");
- GLADE_HOOKUP_OBJECT_NO_REF (gslapt, tooltips, "tooltips");
-
- gtk_widget_grab_focus (search_entry);
- gtk_widget_grab_default (search_entry);
- gtk_window_add_accel_group (GTK_WINDOW (gslapt), accel_group);
-
- return gslapt;
-}
-
-GtkWidget*
-create_transaction_window (void)
-{
- GtkWidget *transaction_window;
- GdkPixbuf *transaction_window_icon_pixbuf;
- GtkWidget *vbox47;
- GtkWidget *vbox61;
- GtkWidget *hbox97;
- GtkWidget *image852;
- GtkWidget *vbox62;
- GtkWidget *label167;
- GtkWidget *label168;
- GtkWidget *scrolledwindow18;
- GtkWidget *transaction_summary_treeview;
- GtkWidget *summary_breakdown;
- GtkWidget *summary_pkg_numbers;
- GtkWidget *summary_dl_size;
- GtkWidget *summary_free_space;
- GtkWidget *download_only_checkbutton;
- GtkWidget *hbuttonbox1;
- GtkWidget *button2;
- GtkWidget *button3;
-
- transaction_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (transaction_window, "transaction_window");
- gtk_container_set_border_width (GTK_CONTAINER (transaction_window), 12);
- gtk_window_set_title (GTK_WINDOW (transaction_window), _("Summary"));
- gtk_window_set_position (GTK_WINDOW (transaction_window), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (transaction_window), TRUE);
- gtk_window_set_default_size (GTK_WINDOW (transaction_window), 200, 400);
- transaction_window_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (transaction_window_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (transaction_window), transaction_window_icon_pixbuf);
- g_object_unref (transaction_window_icon_pixbuf);
- }
- gtk_window_set_gravity (GTK_WINDOW (transaction_window), GDK_GRAVITY_CENTER);
-
- vbox47 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox47, "vbox47");
- gtk_widget_show (vbox47);
- gtk_container_add (GTK_CONTAINER (transaction_window), vbox47);
-
- vbox61 = gtk_vbox_new (FALSE, 2);
- gtk_widget_set_name (vbox61, "vbox61");
- gtk_widget_show (vbox61);
- gtk_box_pack_start (GTK_BOX (vbox47), vbox61, TRUE, TRUE, 2);
- gtk_container_set_border_width (GTK_CONTAINER (vbox61), 6);
-
- hbox97 = gtk_hbox_new (FALSE, 2);
- gtk_widget_set_name (hbox97, "hbox97");
- gtk_widget_show (hbox97);
- gtk_box_pack_start (GTK_BOX (vbox61), hbox97, FALSE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (hbox97), 6);
-
- image852 = gtk_image_new_from_stock ("gtk-dialog-question", GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_name (image852, "image852");
- gtk_widget_show (image852);
- gtk_box_pack_start (GTK_BOX (hbox97), image852, TRUE, TRUE, 0);
- gtk_misc_set_alignment (GTK_MISC (image852), 0, 0);
-
- vbox62 = gtk_vbox_new (FALSE, 2);
- gtk_widget_set_name (vbox62, "vbox62");
- gtk_widget_show (vbox62);
- gtk_box_pack_start (GTK_BOX (hbox97), vbox62, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox62), 6);
-
- label167 = gtk_label_new (_("<span weight=\"bold\" size=\"large\">Apply the following changes?</span>"));
- gtk_widget_set_name (label167, "label167");
- gtk_widget_show (label167);
- gtk_box_pack_start (GTK_BOX (vbox62), label167, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (label167), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label167), 0, 0);
-
- label168 = gtk_label_new (_("This is a summary of the changes about to be performed."));
- gtk_widget_set_name (label168, "label168");
- gtk_widget_show (label168);
- gtk_box_pack_start (GTK_BOX (vbox62), label168, FALSE, FALSE, 0);
- gtk_label_set_line_wrap (GTK_LABEL (label168), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label168), 0, 0);
- gtk_misc_set_padding (GTK_MISC (label168), 0, 6);
-
- scrolledwindow18 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow18, "scrolledwindow18");
- gtk_widget_show (scrolledwindow18);
- gtk_box_pack_start (GTK_BOX (vbox61), scrolledwindow18, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow18), 1);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
-
- transaction_summary_treeview = gtk_tree_view_new ();
- gtk_widget_set_name (transaction_summary_treeview, "transaction_summary_treeview");
- gtk_widget_show (transaction_summary_treeview);
- gtk_container_add (GTK_CONTAINER (scrolledwindow18), transaction_summary_treeview);
- gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (transaction_summary_treeview), FALSE);
- gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (transaction_summary_treeview), TRUE);
-
- summary_breakdown = gtk_vbox_new (FALSE, 2);
- gtk_widget_set_name (summary_breakdown, "summary_breakdown");
- gtk_widget_show (summary_breakdown);
- gtk_box_pack_start (GTK_BOX (vbox61), summary_breakdown, FALSE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (summary_breakdown), 6);
-
- summary_pkg_numbers = gtk_label_new ("");
- gtk_widget_set_name (summary_pkg_numbers, "summary_pkg_numbers");
- gtk_widget_show (summary_pkg_numbers);
- gtk_box_pack_start (GTK_BOX (summary_breakdown), summary_pkg_numbers, FALSE, TRUE, 0);
- gtk_label_set_use_markup (GTK_LABEL (summary_pkg_numbers), TRUE);
- gtk_misc_set_alignment (GTK_MISC (summary_pkg_numbers), 0, 0);
- gtk_misc_set_padding (GTK_MISC (summary_pkg_numbers), 6, 1);
-
- summary_dl_size = gtk_label_new ("");
- gtk_widget_set_name (summary_dl_size, "summary_dl_size");
- gtk_widget_show (summary_dl_size);
- gtk_box_pack_start (GTK_BOX (summary_breakdown), summary_dl_size, FALSE, TRUE, 0);
- gtk_label_set_use_markup (GTK_LABEL (summary_dl_size), TRUE);
- gtk_misc_set_alignment (GTK_MISC (summary_dl_size), 0, 0);
- gtk_misc_set_padding (GTK_MISC (summary_dl_size), 6, 1);
-
- summary_free_space = gtk_label_new ("");
- gtk_widget_set_name (summary_free_space, "summary_free_space");
- gtk_widget_show (summary_free_space);
- gtk_box_pack_start (GTK_BOX (summary_breakdown), summary_free_space, FALSE, TRUE, 0);
- gtk_label_set_use_markup (GTK_LABEL (summary_free_space), TRUE);
- gtk_misc_set_alignment (GTK_MISC (summary_free_space), 0, 0);
- gtk_misc_set_padding (GTK_MISC (summary_free_space), 6, 1);
-
- download_only_checkbutton = gtk_check_button_new_with_mnemonic (_("Download packages only"));
- gtk_widget_set_name (download_only_checkbutton, "download_only_checkbutton");
- gtk_widget_show (download_only_checkbutton);
- gtk_box_pack_start (GTK_BOX (vbox61), download_only_checkbutton, FALSE, TRUE, 0);
-
- hbuttonbox1 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox1, "hbuttonbox1");
- gtk_widget_show (hbuttonbox1);
- gtk_box_pack_start (GTK_BOX (vbox47), hbuttonbox1, FALSE, TRUE, 1);
- gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox1), 2);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END);
- gtk_box_set_spacing (GTK_BOX (hbuttonbox1), 6);
-
- button2 = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (button2, "button2");
- gtk_widget_show (button2);
- gtk_container_add (GTK_CONTAINER (hbuttonbox1), button2);
- GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT);
-
- button3 = gtk_button_new_from_stock ("gtk-ok");
- gtk_widget_set_name (button3, "button3");
- gtk_widget_show (button3);
- gtk_container_add (GTK_CONTAINER (hbuttonbox1), button3);
- GTK_WIDGET_SET_FLAGS (button3, GTK_CAN_DEFAULT);
-
- g_signal_connect ((gpointer) transaction_window, "destroy_event",
- G_CALLBACK (gtk_widget_destroy),
- NULL);
- g_signal_connect ((gpointer) transaction_window, "configure-event",
- G_CALLBACK (gslapt_window_resized),
- NULL);
- g_signal_connect_swapped ((gpointer) button2, "clicked",
- G_CALLBACK (cancel_transaction),
- GTK_OBJECT (transaction_window));
- g_signal_connect_swapped ((gpointer) button3, "clicked",
- G_CALLBACK (transaction_okbutton_clicked),
- GTK_OBJECT (transaction_window));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (transaction_window, transaction_window, "transaction_window");
- GLADE_HOOKUP_OBJECT (transaction_window, vbox47, "vbox47");
- GLADE_HOOKUP_OBJECT (transaction_window, vbox61, "vbox61");
- GLADE_HOOKUP_OBJECT (transaction_window, hbox97, "hbox97");
- GLADE_HOOKUP_OBJECT (transaction_window, image852, "image852");
- GLADE_HOOKUP_OBJECT (transaction_window, vbox62, "vbox62");
- GLADE_HOOKUP_OBJECT (transaction_window, label167, "label167");
- GLADE_HOOKUP_OBJECT (transaction_window, label168, "label168");
- GLADE_HOOKUP_OBJECT (transaction_window, scrolledwindow18, "scrolledwindow18");
- GLADE_HOOKUP_OBJECT (transaction_window, transaction_summary_treeview, "transaction_summary_treeview");
- GLADE_HOOKUP_OBJECT (transaction_window, summary_breakdown, "summary_breakdown");
- GLADE_HOOKUP_OBJECT (transaction_window, summary_pkg_numbers, "summary_pkg_numbers");
- GLADE_HOOKUP_OBJECT (transaction_window, summary_dl_size, "summary_dl_size");
- GLADE_HOOKUP_OBJECT (transaction_window, summary_free_space, "summary_free_space");
- GLADE_HOOKUP_OBJECT (transaction_window, download_only_checkbutton, "download_only_checkbutton");
- GLADE_HOOKUP_OBJECT (transaction_window, hbuttonbox1, "hbuttonbox1");
- GLADE_HOOKUP_OBJECT (transaction_window, button2, "button2");
- GLADE_HOOKUP_OBJECT (transaction_window, button3, "button3");
-
- return transaction_window;
-}
-
-GtkWidget*
-create_dl_progress_window (void)
-{
- GtkWidget *dl_progress_window;
- GdkPixbuf *dl_progress_window_icon_pixbuf;
- GtkWidget *vbox49;
- GtkWidget *progress_progressbar;
- GtkWidget *dl_progress;
- GtkWidget *progress_dl_speed;
- GtkWidget *progress_action;
- GtkWidget *progress_message;
- GtkWidget *progress_package_description;
- GtkWidget *hbuttonbox2;
- GtkWidget *button4;
-
- dl_progress_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (dl_progress_window, "dl_progress_window");
- gtk_container_set_border_width (GTK_CONTAINER (dl_progress_window), 12);
- gtk_window_set_title (GTK_WINDOW (dl_progress_window), _("working"));
- gtk_window_set_position (GTK_WINDOW (dl_progress_window), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (dl_progress_window), TRUE);
- dl_progress_window_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (dl_progress_window_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (dl_progress_window), dl_progress_window_icon_pixbuf);
- g_object_unref (dl_progress_window_icon_pixbuf);
- }
- gtk_window_set_gravity (GTK_WINDOW (dl_progress_window), GDK_GRAVITY_CENTER);
-
- vbox49 = gtk_vbox_new (FALSE, 2);
- gtk_widget_set_name (vbox49, "vbox49");
- gtk_widget_show (vbox49);
- gtk_container_add (GTK_CONTAINER (dl_progress_window), vbox49);
- gtk_container_set_border_width (GTK_CONTAINER (vbox49), 6);
-
- progress_progressbar = gtk_progress_bar_new ();
- gtk_widget_set_name (progress_progressbar, "progress_progressbar");
- gtk_widget_show (progress_progressbar);
- gtk_box_pack_start (GTK_BOX (vbox49), progress_progressbar, FALSE, TRUE, 0);
- gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), _("total progress"));
-
- dl_progress = gtk_progress_bar_new ();
- gtk_widget_set_name (dl_progress, "dl_progress");
- gtk_widget_show (dl_progress);
- gtk_box_pack_start (GTK_BOX (vbox49), dl_progress, FALSE, TRUE, 2);
-
- progress_dl_speed = gtk_label_new ("");
- gtk_widget_set_name (progress_dl_speed, "progress_dl_speed");
- gtk_widget_show (progress_dl_speed);
- gtk_box_pack_start (GTK_BOX (vbox49), progress_dl_speed, FALSE, FALSE, 0);
-
- progress_action = gtk_label_new ("");
- gtk_widget_set_name (progress_action, "progress_action");
- gtk_widget_show (progress_action);
- gtk_box_pack_start (GTK_BOX (vbox49), progress_action, TRUE, TRUE, 6);
-
- progress_message = gtk_label_new ("");
- gtk_widget_set_name (progress_message, "progress_message");
- gtk_widget_show (progress_message);
- gtk_box_pack_start (GTK_BOX (vbox49), progress_message, TRUE, TRUE, 6);
-
- progress_package_description = gtk_label_new ("");
- gtk_widget_set_name (progress_package_description, "progress_package_description");
- gtk_widget_show (progress_package_description);
- gtk_box_pack_start (GTK_BOX (vbox49), progress_package_description, TRUE, TRUE, 6);
- gtk_misc_set_alignment (GTK_MISC (progress_package_description), 0, 0);
-
- hbuttonbox2 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox2, "hbuttonbox2");
- gtk_widget_show (hbuttonbox2);
- gtk_box_pack_start (GTK_BOX (vbox49), hbuttonbox2, FALSE, TRUE, 0);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_END);
-
- button4 = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (button4, "button4");
- gtk_widget_show (button4);
- gtk_container_add (GTK_CONTAINER (hbuttonbox2), button4);
- GTK_WIDGET_SET_FLAGS (button4, GTK_CAN_DEFAULT);
-
- g_signal_connect ((gpointer) dl_progress_window, "delete_event",
- G_CALLBACK (gtk_true),
- NULL);
- g_signal_connect ((gpointer) button4, "clicked",
- G_CALLBACK (on_button_cancel_clicked),
- NULL);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (dl_progress_window, dl_progress_window, "dl_progress_window");
- GLADE_HOOKUP_OBJECT (dl_progress_window, vbox49, "vbox49");
- GLADE_HOOKUP_OBJECT (dl_progress_window, progress_progressbar, "progress_progressbar");
- GLADE_HOOKUP_OBJECT (dl_progress_window, dl_progress, "dl_progress");
- GLADE_HOOKUP_OBJECT (dl_progress_window, progress_dl_speed, "progress_dl_speed");
- GLADE_HOOKUP_OBJECT (dl_progress_window, progress_action, "progress_action");
- GLADE_HOOKUP_OBJECT (dl_progress_window, progress_message, "progress_message");
- GLADE_HOOKUP_OBJECT (dl_progress_window, progress_package_description, "progress_package_description");
- GLADE_HOOKUP_OBJECT (dl_progress_window, hbuttonbox2, "hbuttonbox2");
- GLADE_HOOKUP_OBJECT (dl_progress_window, button4, "button4");
-
- return dl_progress_window;
-}
-
-GtkWidget*
-create_about (void)
-{
- GtkWidget *about;
- GdkPixbuf *about_icon_pixbuf;
- GtkWidget *dialog_vbox1;
- GtkWidget *vbox50;
- GtkWidget *image853;
- GtkWidget *label146;
- GtkWidget *label147;
- GtkWidget *label170;
- GtkWidget *label149;
- GtkWidget *dialog_action_area1;
- GtkWidget *closebutton1;
-
- about = gtk_dialog_new ();
- gtk_widget_set_name (about, "about");
- gtk_window_set_title (GTK_WINDOW (about), _("About gslapt"));
- gtk_window_set_position (GTK_WINDOW (about), GTK_WIN_POS_CENTER);
- gtk_window_set_destroy_with_parent (GTK_WINDOW (about), TRUE);
- about_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (about_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (about), about_icon_pixbuf);
- g_object_unref (about_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (about), GDK_WINDOW_TYPE_HINT_DIALOG);
- gtk_window_set_gravity (GTK_WINDOW (about), GDK_GRAVITY_CENTER);
-
- dialog_vbox1 = GTK_DIALOG (about)->vbox;
- gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
- gtk_widget_show (dialog_vbox1);
-
- vbox50 = gtk_vbox_new (TRUE, 0);
- gtk_widget_set_name (vbox50, "vbox50");
- gtk_widget_show (vbox50);
- gtk_box_pack_start (GTK_BOX (dialog_vbox1), vbox50, TRUE, TRUE, 0);
-
- image853 = create_pixmap (about, "gslapt.png");
- gtk_widget_set_name (image853, "image853");
- gtk_widget_show (image853);
- gtk_box_pack_start (GTK_BOX (vbox50), image853, TRUE, TRUE, 0);
-
- label146 = gtk_label_new ("<span weight=\"bold\" size=\"xx-large\"></span>");
- gtk_widget_set_name (label146, "label146");
- gtk_widget_show (label146);
- gtk_box_pack_start (GTK_BOX (vbox50), label146, TRUE, TRUE, 0);
- GTK_WIDGET_SET_FLAGS (label146, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (label146), TRUE);
- gtk_label_set_justify (GTK_LABEL (label146), GTK_JUSTIFY_RIGHT);
- gtk_label_set_selectable (GTK_LABEL (label146), TRUE);
-
- label147 = gtk_label_new (_("gslapt is a GTK+ frontend to slapt-get, an APT like package system for Slackware"));
- gtk_widget_set_name (label147, "label147");
- gtk_widget_show (label147);
- gtk_box_pack_start (GTK_BOX (vbox50), label147, TRUE, TRUE, 0);
- GTK_WIDGET_SET_FLAGS (label147, GTK_CAN_FOCUS);
- gtk_label_set_justify (GTK_LABEL (label147), GTK_JUSTIFY_CENTER);
- gtk_label_set_line_wrap (GTK_LABEL (label147), TRUE);
- gtk_label_set_selectable (GTK_LABEL (label147), TRUE);
-
- label170 = gtk_label_new ("");
- gtk_widget_set_name (label170, "label170");
- gtk_widget_show (label170);
- gtk_box_pack_start (GTK_BOX (vbox50), label170, FALSE, FALSE, 0);
-
- label149 = gtk_label_new ("<span size=\"small\">Copyright (c) 2005-2014 Jason Woodward\nhttp://software.jaos.org/#gslapt</span>");
- gtk_widget_set_name (label149, "label149");
- gtk_widget_show (label149);
- gtk_box_pack_start (GTK_BOX (vbox50), label149, TRUE, TRUE, 0);
- GTK_WIDGET_SET_FLAGS (label149, GTK_CAN_FOCUS);
- gtk_label_set_use_markup (GTK_LABEL (label149), TRUE);
- gtk_label_set_justify (GTK_LABEL (label149), GTK_JUSTIFY_CENTER);
- gtk_label_set_selectable (GTK_LABEL (label149), TRUE);
-
- dialog_action_area1 = gtk_dialog_get_action_area (about);
- gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
- gtk_widget_show (dialog_action_area1);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);
-
- closebutton1 = gtk_button_new_from_stock ("gtk-close");
- gtk_widget_set_name (closebutton1, "closebutton1");
- gtk_widget_show (closebutton1);
- gtk_dialog_add_action_widget (GTK_DIALOG (about), closebutton1, GTK_RESPONSE_CLOSE);
- GTK_WIDGET_SET_FLAGS (closebutton1, GTK_CAN_DEFAULT);
-
- g_signal_connect_swapped ((gpointer) closebutton1, "clicked",
- G_CALLBACK (gtk_widget_destroy),
- GTK_OBJECT (about));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (about, about, "about");
- GLADE_HOOKUP_OBJECT_NO_REF (about, dialog_vbox1, "dialog_vbox1");
- GLADE_HOOKUP_OBJECT (about, vbox50, "vbox50");
- GLADE_HOOKUP_OBJECT (about, image853, "image853");
- GLADE_HOOKUP_OBJECT (about, label146, "label146");
- GLADE_HOOKUP_OBJECT (about, label147, "label147");
- GLADE_HOOKUP_OBJECT (about, label170, "label170");
- GLADE_HOOKUP_OBJECT (about, label149, "label149");
- GLADE_HOOKUP_OBJECT_NO_REF (about, dialog_action_area1, "dialog_action_area1");
- GLADE_HOOKUP_OBJECT (about, closebutton1, "closebutton1");
-
- return about;
-}
-
-GtkWidget*
-create_notification (void)
-{
- GtkWidget *notification;
- GdkPixbuf *notification_icon_pixbuf;
- GtkWidget *dialog_vbox3;
- GtkWidget *hbox112;
- GtkWidget *image1260;
- GtkWidget *notification_label;
- GtkWidget *dialog_action_area3;
- GtkWidget *okbutton2;
-
- notification = gtk_dialog_new ();
- gtk_widget_set_name (notification, "notification");
- gtk_container_set_border_width (GTK_CONTAINER (notification), 2);
- gtk_window_set_position (GTK_WINDOW (notification), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (notification), TRUE);
- notification_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (notification_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (notification), notification_icon_pixbuf);
- g_object_unref (notification_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (notification), GDK_WINDOW_TYPE_HINT_DIALOG);
- gtk_window_set_gravity (GTK_WINDOW (notification), GDK_GRAVITY_CENTER);
-
- dialog_vbox3 = GTK_DIALOG (notification)->vbox;
- gtk_widget_set_name (dialog_vbox3, "dialog_vbox3");
- gtk_widget_show (dialog_vbox3);
-
- hbox112 = gtk_hbox_new (FALSE, 6);
- gtk_widget_set_name (hbox112, "hbox112");
- gtk_widget_show (hbox112);
- gtk_box_pack_start (GTK_BOX (dialog_vbox3), hbox112, TRUE, TRUE, 2);
-
- image1260 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_name (image1260, "image1260");
- gtk_widget_show (image1260);
- gtk_box_pack_start (GTK_BOX (hbox112), image1260, FALSE, TRUE, 6);
- gtk_misc_set_alignment (GTK_MISC (image1260), 0.5, 0.2);
-
- notification_label = gtk_label_new ("");
- gtk_widget_set_name (notification_label, "notification_label");
- gtk_widget_show (notification_label);
- gtk_box_pack_start (GTK_BOX (hbox112), notification_label, TRUE, TRUE, 6);
- gtk_label_set_use_markup (GTK_LABEL (notification_label), TRUE);
-
- dialog_action_area3 = gtk_dialog_get_action_area (notification);
- gtk_widget_set_name (dialog_action_area3, "dialog_action_area3");
- gtk_widget_show (dialog_action_area3);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END);
-
- okbutton2 = gtk_button_new_from_stock ("gtk-close");
- gtk_widget_set_name (okbutton2, "okbutton2");
- gtk_widget_show (okbutton2);
- gtk_dialog_add_action_widget (GTK_DIALOG (notification), okbutton2, GTK_RESPONSE_CLOSE);
- GTK_WIDGET_SET_FLAGS (okbutton2, GTK_CAN_DEFAULT);
-
- g_signal_connect_swapped ((gpointer) okbutton2, "clicked",
- G_CALLBACK (gtk_widget_destroy),
- GTK_OBJECT (notification));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (notification, notification, "notification");
- GLADE_HOOKUP_OBJECT_NO_REF (notification, dialog_vbox3, "dialog_vbox3");
- GLADE_HOOKUP_OBJECT (notification, hbox112, "hbox112");
- GLADE_HOOKUP_OBJECT (notification, image1260, "image1260");
- GLADE_HOOKUP_OBJECT (notification, notification_label, "notification_label");
- GLADE_HOOKUP_OBJECT_NO_REF (notification, dialog_action_area3, "dialog_action_area3");
- GLADE_HOOKUP_OBJECT (notification, okbutton2, "okbutton2");
-
- return notification;
-}
-
-GtkWidget*
-create_icon_legend (void)
-{
- GtkWidget *icon_legend;
- GdkPixbuf *icon_legend_icon_pixbuf;
- GtkWidget *dialog_vbox4;
- GtkWidget *vbox65;
- GtkWidget *label252;
- GtkWidget *label260;
- GtkWidget *hbox98;
- GtkWidget *image865;
- GtkWidget *label253;
- GtkWidget *hbox109;
- GtkWidget *image1257;
- GtkWidget *label277;
- GtkWidget *label280;
- GtkWidget *label281;
- GtkWidget *hbox99;
- GtkWidget *image866;
- GtkWidget *label254;
- GtkWidget *hbox108;
- GtkWidget *image1256;
- GtkWidget *label276;
- GtkWidget *label278;
- GtkWidget *label279;
- GtkWidget *hbox100;
- GtkWidget *image867;
- GtkWidget *label255;
- GtkWidget *hbox101;
- GtkWidget *image868;
- GtkWidget *label256;
- GtkWidget *hbox102;
- GtkWidget *image869;
- GtkWidget *label257;
- GtkWidget *hbox103;
- GtkWidget *image870;
- GtkWidget *label258;
- GtkWidget *hbox104;
- GtkWidget *image871;
- GtkWidget *label259;
- GtkWidget *dialog_action_area4;
- GtkWidget *closebutton2;
-
- icon_legend = gtk_dialog_new ();
- gtk_widget_set_name (icon_legend, "icon_legend");
- gtk_container_set_border_width (GTK_CONTAINER (icon_legend), 2);
- gtk_window_set_title (GTK_WINDOW (icon_legend), _("Icon Legend"));
- gtk_window_set_position (GTK_WINDOW (icon_legend), GTK_WIN_POS_CENTER);
- icon_legend_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (icon_legend_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (icon_legend), icon_legend_icon_pixbuf);
- g_object_unref (icon_legend_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (icon_legend), GDK_WINDOW_TYPE_HINT_DIALOG);
- gtk_window_set_gravity (GTK_WINDOW (icon_legend), GDK_GRAVITY_CENTER);
-
- dialog_vbox4 = GTK_DIALOG (icon_legend)->vbox;
- gtk_widget_set_name (dialog_vbox4, "dialog_vbox4");
- gtk_widget_show (dialog_vbox4);
-
- vbox65 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox65, "vbox65");
- gtk_widget_show (vbox65);
- gtk_box_pack_start (GTK_BOX (dialog_vbox4), vbox65, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox65), 6);
-
- label252 = gtk_label_new (_("<b>The following icons are used to indicate the current status of a package:</b>"));
- gtk_widget_set_name (label252, "label252");
- gtk_widget_show (label252);
- gtk_box_pack_start (GTK_BOX (vbox65), label252, FALSE, FALSE, 0);
- gtk_label_set_use_markup (GTK_LABEL (label252), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (label252), TRUE);
-
- label260 = gtk_label_new ("");
- gtk_widget_set_name (label260, "label260");
- gtk_widget_show (label260);
- gtk_box_pack_start (GTK_BOX (vbox65), label260, FALSE, FALSE, 0);
-
- hbox98 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox98, "hbox98");
- gtk_widget_show (hbox98);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox98, TRUE, TRUE, 0);
-
- image865 = create_pixmap (icon_legend, "pkg_action_available.png");
- gtk_widget_set_name (image865, "image865");
- gtk_widget_show (image865);
- gtk_box_pack_start (GTK_BOX (hbox98), image865, FALSE, TRUE, 6);
-
- label253 = gtk_label_new (_("Not Installed"));
- gtk_widget_set_name (label253, "label253");
- gtk_widget_show (label253);
- gtk_box_pack_start (GTK_BOX (hbox98), label253, FALSE, TRUE, 6);
-
- hbox109 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox109, "hbox109");
- gtk_widget_show (hbox109);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox109, TRUE, TRUE, 0);
-
- image1257 = create_pixmap (icon_legend, "pkg_action_available_excluded.png");
- gtk_widget_set_name (image1257, "image1257");
- gtk_widget_show (image1257);
- gtk_box_pack_start (GTK_BOX (hbox109), image1257, FALSE, TRUE, 6);
-
- label277 = gtk_label_new (_("Not Installed"));
- gtk_widget_set_name (label277, "label277");
- gtk_widget_show (label277);
- gtk_box_pack_start (GTK_BOX (hbox109), label277, FALSE, TRUE, 6);
-
- label280 = gtk_label_new ("/");
- gtk_widget_set_name (label280, "label280");
- gtk_widget_show (label280);
- gtk_box_pack_start (GTK_BOX (hbox109), label280, FALSE, FALSE, 0);
-
- label281 = gtk_label_new (_("Excluded"));
- gtk_widget_set_name (label281, "label281");
- gtk_widget_show (label281);
- gtk_box_pack_start (GTK_BOX (hbox109), label281, FALSE, FALSE, 6);
-
- hbox99 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox99, "hbox99");
- gtk_widget_show (hbox99);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox99, TRUE, TRUE, 0);
-
- image866 = create_pixmap (icon_legend, "pkg_action_installed.png");
- gtk_widget_set_name (image866, "image866");
- gtk_widget_show (image866);
- gtk_box_pack_start (GTK_BOX (hbox99), image866, FALSE, TRUE, 6);
-
- label254 = gtk_label_new (_("Installed"));
- gtk_widget_set_name (label254, "label254");
- gtk_widget_show (label254);
- gtk_box_pack_start (GTK_BOX (hbox99), label254, FALSE, TRUE, 6);
-
- hbox108 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox108, "hbox108");
- gtk_widget_show (hbox108);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox108, TRUE, TRUE, 0);
-
- image1256 = create_pixmap (icon_legend, "pkg_action_installed_excluded.png");
- gtk_widget_set_name (image1256, "image1256");
- gtk_widget_show (image1256);
- gtk_box_pack_start (GTK_BOX (hbox108), image1256, FALSE, TRUE, 6);
-
- label276 = gtk_label_new (_("Installed"));
- gtk_widget_set_name (label276, "label276");
- gtk_widget_show (label276);
- gtk_box_pack_start (GTK_BOX (hbox108), label276, FALSE, TRUE, 6);
-
- label278 = gtk_label_new ("/");
- gtk_widget_set_name (label278, "label278");
- gtk_widget_show (label278);
- gtk_box_pack_start (GTK_BOX (hbox108), label278, FALSE, TRUE, 0);
-
- label279 = gtk_label_new (_("Excluded"));
- gtk_widget_set_name (label279, "label279");
- gtk_widget_show (label279);
- gtk_box_pack_start (GTK_BOX (hbox108), label279, FALSE, TRUE, 6);
-
- hbox100 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox100, "hbox100");
- gtk_widget_show (hbox100);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox100, TRUE, TRUE, 0);
-
- image867 = create_pixmap (icon_legend, "pkg_action_install.png");
- gtk_widget_set_name (image867, "image867");
- gtk_widget_show (image867);
- gtk_box_pack_start (GTK_BOX (hbox100), image867, FALSE, TRUE, 6);
-
- label255 = gtk_label_new (_("To be Installed"));
- gtk_widget_set_name (label255, "label255");
- gtk_widget_show (label255);
- gtk_box_pack_start (GTK_BOX (hbox100), label255, FALSE, TRUE, 6);
-
- hbox101 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox101, "hbox101");
- gtk_widget_show (hbox101);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox101, TRUE, TRUE, 0);
-
- image868 = create_pixmap (icon_legend, "pkg_action_reinstall.png");
- gtk_widget_set_name (image868, "image868");
- gtk_widget_show (image868);
- gtk_box_pack_start (GTK_BOX (hbox101), image868, FALSE, TRUE, 6);
-
- label256 = gtk_label_new (_("To be Re-Installed"));
- gtk_widget_set_name (label256, "label256");
- gtk_widget_show (label256);
- gtk_box_pack_start (GTK_BOX (hbox101), label256, FALSE, TRUE, 6);
-
- hbox102 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox102, "hbox102");
- gtk_widget_show (hbox102);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox102, TRUE, TRUE, 0);
-
- image869 = create_pixmap (icon_legend, "pkg_action_upgrade.png");
- gtk_widget_set_name (image869, "image869");
- gtk_widget_show (image869);
- gtk_box_pack_start (GTK_BOX (hbox102), image869, FALSE, TRUE, 6);
-
- label257 = gtk_label_new (_("To be Upgraded"));
- gtk_widget_set_name (label257, "label257");
- gtk_widget_show (label257);
- gtk_box_pack_start (GTK_BOX (hbox102), label257, FALSE, TRUE, 6);
-
- hbox103 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox103, "hbox103");
- gtk_widget_show (hbox103);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox103, TRUE, TRUE, 0);
-
- image870 = create_pixmap (icon_legend, "pkg_action_remove.png");
- gtk_widget_set_name (image870, "image870");
- gtk_widget_show (image870);
- gtk_box_pack_start (GTK_BOX (hbox103), image870, FALSE, TRUE, 6);
-
- label258 = gtk_label_new (_("To be Removed"));
- gtk_widget_set_name (label258, "label258");
- gtk_widget_show (label258);
- gtk_box_pack_start (GTK_BOX (hbox103), label258, FALSE, TRUE, 6);
-
- hbox104 = gtk_hbox_new (FALSE, 0);
- gtk_widget_set_name (hbox104, "hbox104");
- gtk_widget_show (hbox104);
- gtk_box_pack_start (GTK_BOX (vbox65), hbox104, TRUE, TRUE, 0);
-
- image871 = create_pixmap (icon_legend, "pkg_action_downgrade.png");
- gtk_widget_set_name (image871, "image871");
- gtk_widget_show (image871);
- gtk_box_pack_start (GTK_BOX (hbox104), image871, FALSE, TRUE, 6);
-
- label259 = gtk_label_new (_("To be Downgraded"));
- gtk_widget_set_name (label259, "label259");
- gtk_widget_show (label259);
- gtk_box_pack_start (GTK_BOX (hbox104), label259, FALSE, TRUE, 6);
-
- dialog_action_area4 = gtk_dialog_get_action_area (icon_legend);
- gtk_widget_set_name (dialog_action_area4, "dialog_action_area4");
- gtk_widget_show (dialog_action_area4);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_END);
-
- closebutton2 = gtk_button_new_from_stock ("gtk-close");
- gtk_widget_set_name (closebutton2, "closebutton2");
- gtk_widget_show (closebutton2);
- gtk_dialog_add_action_widget (GTK_DIALOG (icon_legend), closebutton2, GTK_RESPONSE_CLOSE);
- GTK_WIDGET_SET_FLAGS (closebutton2, GTK_CAN_DEFAULT);
-
- g_signal_connect_swapped ((gpointer) closebutton2, "clicked",
- G_CALLBACK (gtk_widget_destroy),
- GTK_OBJECT (icon_legend));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (icon_legend, icon_legend, "icon_legend");
- GLADE_HOOKUP_OBJECT_NO_REF (icon_legend, dialog_vbox4, "dialog_vbox4");
- GLADE_HOOKUP_OBJECT (icon_legend, vbox65, "vbox65");
- GLADE_HOOKUP_OBJECT (icon_legend, label252, "label252");
- GLADE_HOOKUP_OBJECT (icon_legend, label260, "label260");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox98, "hbox98");
- GLADE_HOOKUP_OBJECT (icon_legend, image865, "image865");
- GLADE_HOOKUP_OBJECT (icon_legend, label253, "label253");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox109, "hbox109");
- GLADE_HOOKUP_OBJECT (icon_legend, image1257, "image1257");
- GLADE_HOOKUP_OBJECT (icon_legend, label277, "label277");
- GLADE_HOOKUP_OBJECT (icon_legend, label280, "label280");
- GLADE_HOOKUP_OBJECT (icon_legend, label281, "label281");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox99, "hbox99");
- GLADE_HOOKUP_OBJECT (icon_legend, image866, "image866");
- GLADE_HOOKUP_OBJECT (icon_legend, label254, "label254");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox108, "hbox108");
- GLADE_HOOKUP_OBJECT (icon_legend, image1256, "image1256");
- GLADE_HOOKUP_OBJECT (icon_legend, label276, "label276");
- GLADE_HOOKUP_OBJECT (icon_legend, label278, "label278");
- GLADE_HOOKUP_OBJECT (icon_legend, label279, "label279");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox100, "hbox100");
- GLADE_HOOKUP_OBJECT (icon_legend, image867, "image867");
- GLADE_HOOKUP_OBJECT (icon_legend, label255, "label255");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox101, "hbox101");
- GLADE_HOOKUP_OBJECT (icon_legend, image868, "image868");
- GLADE_HOOKUP_OBJECT (icon_legend, label256, "label256");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox102, "hbox102");
- GLADE_HOOKUP_OBJECT (icon_legend, image869, "image869");
- GLADE_HOOKUP_OBJECT (icon_legend, label257, "label257");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox103, "hbox103");
- GLADE_HOOKUP_OBJECT (icon_legend, image870, "image870");
- GLADE_HOOKUP_OBJECT (icon_legend, label258, "label258");
- GLADE_HOOKUP_OBJECT (icon_legend, hbox104, "hbox104");
- GLADE_HOOKUP_OBJECT (icon_legend, image871, "image871");
- GLADE_HOOKUP_OBJECT (icon_legend, label259, "label259");
- GLADE_HOOKUP_OBJECT_NO_REF (icon_legend, dialog_action_area4, "dialog_action_area4");
- GLADE_HOOKUP_OBJECT (icon_legend, closebutton2, "closebutton2");
-
- return icon_legend;
-}
-
-GtkWidget*
-create_pkgtools_progress_window (void)
-{
- GtkWidget *pkgtools_progress_window;
- GdkPixbuf *pkgtools_progress_window_icon_pixbuf;
- GtkWidget *vbox68;
- GtkWidget *progress_progressbar;
- GtkWidget *progress_action;
- GtkWidget *progress_message;
- GtkWidget *progress_package_description;
-
- pkgtools_progress_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (pkgtools_progress_window, "pkgtools_progress_window");
- gtk_container_set_border_width (GTK_CONTAINER (pkgtools_progress_window), 12);
- gtk_window_set_title (GTK_WINDOW (pkgtools_progress_window), _("working"));
- gtk_window_set_position (GTK_WINDOW (pkgtools_progress_window), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (pkgtools_progress_window), TRUE);
- pkgtools_progress_window_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (pkgtools_progress_window_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (pkgtools_progress_window), pkgtools_progress_window_icon_pixbuf);
- g_object_unref (pkgtools_progress_window_icon_pixbuf);
- }
- gtk_window_set_gravity (GTK_WINDOW (pkgtools_progress_window), GDK_GRAVITY_CENTER);
-
- vbox68 = gtk_vbox_new (FALSE, 2);
- gtk_widget_set_name (vbox68, "vbox68");
- gtk_widget_show (vbox68);
- gtk_container_add (GTK_CONTAINER (pkgtools_progress_window), vbox68);
- gtk_container_set_border_width (GTK_CONTAINER (vbox68), 6);
-
- progress_progressbar = gtk_progress_bar_new ();
- gtk_widget_set_name (progress_progressbar, "progress_progressbar");
- gtk_widget_show (progress_progressbar);
- gtk_box_pack_start (GTK_BOX (vbox68), progress_progressbar, FALSE, TRUE, 0);
- gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress_progressbar), _("total progress"));
-
- progress_action = gtk_label_new ("");
- gtk_widget_set_name (progress_action, "progress_action");
- gtk_widget_show (progress_action);
- gtk_box_pack_start (GTK_BOX (vbox68), progress_action, FALSE, FALSE, 2);
-
- progress_message = gtk_label_new ("");
- gtk_widget_set_name (progress_message, "progress_message");
- gtk_widget_show (progress_message);
- gtk_box_pack_start (GTK_BOX (vbox68), progress_message, FALSE, FALSE, 6);
-
- progress_package_description = gtk_label_new ("");
- gtk_widget_set_name (progress_package_description, "progress_package_description");
- gtk_widget_show (progress_package_description);
- gtk_box_pack_start (GTK_BOX (vbox68), progress_package_description, FALSE, FALSE, 6);
- gtk_misc_set_alignment (GTK_MISC (progress_package_description), 0, 0);
-
- g_signal_connect ((gpointer) pkgtools_progress_window, "delete_event",
- G_CALLBACK (gtk_true),
- NULL);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (pkgtools_progress_window, pkgtools_progress_window, "pkgtools_progress_window");
- GLADE_HOOKUP_OBJECT (pkgtools_progress_window, vbox68, "vbox68");
- GLADE_HOOKUP_OBJECT (pkgtools_progress_window, progress_progressbar, "progress_progressbar");
- GLADE_HOOKUP_OBJECT (pkgtools_progress_window, progress_action, "progress_action");
- GLADE_HOOKUP_OBJECT (pkgtools_progress_window, progress_message, "progress_message");
- GLADE_HOOKUP_OBJECT (pkgtools_progress_window, progress_package_description, "progress_package_description");
-
- return pkgtools_progress_window;
-}
-
-GtkWidget*
-create_repositories_changed (void)
-{
- GtkWidget *repositories_changed;
- GdkPixbuf *repositories_changed_icon_pixbuf;
- GtkWidget *dialog_vbox5;
- GtkWidget *hbox114;
- GtkWidget *image1299;
- GtkWidget *vbox73;
- GtkWidget *label287;
- GtkWidget *label288;
- GtkWidget *dialog_action_area5;
- GtkWidget *button5;
- GtkWidget *button6;
-
- repositories_changed = gtk_dialog_new ();
- gtk_widget_set_name (repositories_changed, "repositories_changed");
- gtk_window_set_title (GTK_WINDOW (repositories_changed), _("Repositories changed"));
- gtk_window_set_modal (GTK_WINDOW (repositories_changed), TRUE);
- repositories_changed_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (repositories_changed_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (repositories_changed), repositories_changed_icon_pixbuf);
- g_object_unref (repositories_changed_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (repositories_changed), GDK_WINDOW_TYPE_HINT_DIALOG);
-
- dialog_vbox5 = GTK_DIALOG (repositories_changed)->vbox;
- gtk_widget_set_name (dialog_vbox5, "dialog_vbox5");
- gtk_widget_show (dialog_vbox5);
-
- hbox114 = gtk_hbox_new (FALSE, 6);
- gtk_widget_set_name (hbox114, "hbox114");
- gtk_widget_show (hbox114);
- gtk_box_pack_start (GTK_BOX (dialog_vbox5), hbox114, TRUE, TRUE, 6);
- gtk_container_set_border_width (GTK_CONTAINER (hbox114), 2);
-
- image1299 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_name (image1299, "image1299");
- gtk_widget_show (image1299);
- gtk_box_pack_start (GTK_BOX (hbox114), image1299, TRUE, TRUE, 6);
- gtk_misc_set_alignment (GTK_MISC (image1299), 0.5, 0.2);
-
- vbox73 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox73, "vbox73");
- gtk_widget_show (vbox73);
- gtk_box_pack_start (GTK_BOX (hbox114), vbox73, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox73), 6);
-
- label287 = gtk_label_new (_("<span size=\"large\" weight=\"bold\">Repositories changed</span>"));
- gtk_widget_set_name (label287, "label287");
- gtk_widget_show (label287);
- gtk_box_pack_start (GTK_BOX (vbox73), label287, FALSE, FALSE, 6);
- gtk_label_set_use_markup (GTK_LABEL (label287), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label287), 0, 0.5);
-
- label288 = gtk_label_new (_("You need to reload the package list from the sources you have listed. Do you want to do this now?"));
- gtk_widget_set_name (label288, "label288");
- gtk_widget_show (label288);
- gtk_box_pack_start (GTK_BOX (vbox73), label288, TRUE, TRUE, 6);
- gtk_label_set_use_markup (GTK_LABEL (label288), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (label288), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label288), 0, 0);
-
- dialog_action_area5 = gtk_dialog_get_action_area (repositories_changed);
- gtk_widget_set_name (dialog_action_area5, "dialog_action_area5");
- gtk_widget_show (dialog_action_area5);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area5), GTK_BUTTONBOX_END);
-
- button5 = gtk_button_new_from_stock ("gtk-no");
- gtk_widget_set_name (button5, "button5");
- gtk_widget_show (button5);
- gtk_dialog_add_action_widget (GTK_DIALOG (repositories_changed), button5, GTK_RESPONSE_NO);
- GTK_WIDGET_SET_FLAGS (button5, GTK_CAN_DEFAULT);
-
- button6 = gtk_button_new_from_stock ("gtk-yes");
- gtk_widget_set_name (button6, "button6");
- gtk_widget_show (button6);
- gtk_dialog_add_action_widget (GTK_DIALOG (repositories_changed), button6, GTK_RESPONSE_YES);
- GTK_WIDGET_SET_FLAGS (button6, GTK_CAN_DEFAULT);
-
- g_signal_connect_swapped ((gpointer) button5, "clicked",
- G_CALLBACK (gtk_widget_destroy),
- GTK_OBJECT (repositories_changed));
- g_signal_connect_swapped ((gpointer) button6, "clicked",
- G_CALLBACK (repositories_changed_callback),
- GTK_OBJECT (repositories_changed));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (repositories_changed, repositories_changed, "repositories_changed");
- GLADE_HOOKUP_OBJECT_NO_REF (repositories_changed, dialog_vbox5, "dialog_vbox5");
- GLADE_HOOKUP_OBJECT (repositories_changed, hbox114, "hbox114");
- GLADE_HOOKUP_OBJECT (repositories_changed, image1299, "image1299");
- GLADE_HOOKUP_OBJECT (repositories_changed, vbox73, "vbox73");
- GLADE_HOOKUP_OBJECT (repositories_changed, label287, "label287");
- GLADE_HOOKUP_OBJECT (repositories_changed, label288, "label288");
- GLADE_HOOKUP_OBJECT_NO_REF (repositories_changed, dialog_action_area5, "dialog_action_area5");
- GLADE_HOOKUP_OBJECT (repositories_changed, button5, "button5");
- GLADE_HOOKUP_OBJECT (repositories_changed, button6, "button6");
-
- return repositories_changed;
-}
-
-GtkWidget*
-create_dep_error_dialog (void)
-{
- GtkWidget *dep_error_dialog;
- GdkPixbuf *dep_error_dialog_icon_pixbuf;
- GtkWidget *dialog_vbox6;
- GtkWidget *hbox113;
- GtkWidget *image1261;
- GtkWidget *vbox72;
- GtkWidget *label285;
- GtkWidget *dep_error_label;
- GtkWidget *scrolledwindow22;
- GtkWidget *dep_error_text;
- GtkWidget *label286;
- GtkWidget *dep_error_install_anyway_warning_label;
- GtkWidget *label284;
- GtkWidget *dialog_action_area6;
- GtkWidget *dep_error_cancel_button;
- GtkWidget *dep_error_install_button;
-
- dep_error_dialog = gtk_dialog_new ();
- gtk_widget_set_name (dep_error_dialog, "dep_error_dialog");
- gtk_container_set_border_width (GTK_CONTAINER (dep_error_dialog), 2);
- gtk_window_set_position (GTK_WINDOW (dep_error_dialog), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (dep_error_dialog), TRUE);
- dep_error_dialog_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (dep_error_dialog_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (dep_error_dialog), dep_error_dialog_icon_pixbuf);
- g_object_unref (dep_error_dialog_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (dep_error_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
- gtk_window_set_gravity (GTK_WINDOW (dep_error_dialog), GDK_GRAVITY_CENTER);
-
- dialog_vbox6 = GTK_DIALOG (dep_error_dialog)->vbox;
- gtk_widget_set_name (dialog_vbox6, "dialog_vbox6");
- gtk_widget_show (dialog_vbox6);
-
- hbox113 = gtk_hbox_new (FALSE, 6);
- gtk_widget_set_name (hbox113, "hbox113");
- gtk_widget_show (hbox113);
- gtk_box_pack_start (GTK_BOX (dialog_vbox6), hbox113, TRUE, TRUE, 0);
-
- image1261 = gtk_image_new_from_stock ("gtk-dialog-error", GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_name (image1261, "image1261");
- gtk_widget_show (image1261);
- gtk_box_pack_start (GTK_BOX (hbox113), image1261, TRUE, TRUE, 6);
- gtk_misc_set_alignment (GTK_MISC (image1261), 0.5, 0.2);
-
- vbox72 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox72, "vbox72");
- gtk_widget_show (vbox72);
- gtk_box_pack_start (GTK_BOX (hbox113), vbox72, TRUE, TRUE, 0);
-
- label285 = gtk_label_new ("");
- gtk_widget_set_name (label285, "label285");
- gtk_widget_show (label285);
- gtk_box_pack_start (GTK_BOX (vbox72), label285, FALSE, FALSE, 0);
-
- dep_error_label = gtk_label_new ("");
- gtk_widget_set_name (dep_error_label, "dep_error_label");
- gtk_widget_show (dep_error_label);
- gtk_box_pack_start (GTK_BOX (vbox72), dep_error_label, FALSE, TRUE, 0);
- gtk_label_set_use_markup (GTK_LABEL (dep_error_label), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (dep_error_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (dep_error_label), 0, 0);
-
- scrolledwindow22 = gtk_scrolled_window_new (NULL, NULL);
- gtk_widget_set_name (scrolledwindow22, "scrolledwindow22");
- gtk_widget_show (scrolledwindow22);
- gtk_box_pack_start (GTK_BOX (vbox72), scrolledwindow22, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow22), 2);
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow22), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
- dep_error_text = gtk_text_view_new ();
- gtk_widget_set_name (dep_error_text, "dep_error_text");
- gtk_widget_show (dep_error_text);
- gtk_container_add (GTK_CONTAINER (scrolledwindow22), dep_error_text);
- gtk_container_set_border_width (GTK_CONTAINER (dep_error_text), 2);
- gtk_text_view_set_accepts_tab (GTK_TEXT_VIEW (dep_error_text), FALSE);
- gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (dep_error_text), FALSE);
-
- label286 = gtk_label_new ("");
- gtk_widget_set_name (label286, "label286");
- gtk_widget_show (label286);
- gtk_box_pack_start (GTK_BOX (vbox72), label286, FALSE, FALSE, 0);
-
- dep_error_install_anyway_warning_label = gtk_label_new ("");
- gtk_widget_set_name (dep_error_install_anyway_warning_label, "dep_error_install_anyway_warning_label");
- gtk_widget_show (dep_error_install_anyway_warning_label);
- gtk_box_pack_start (GTK_BOX (vbox72), dep_error_install_anyway_warning_label, FALSE, TRUE, 0);
- gtk_label_set_use_markup (GTK_LABEL (dep_error_install_anyway_warning_label), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (dep_error_install_anyway_warning_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (dep_error_install_anyway_warning_label), 0, 0);
-
- label284 = gtk_label_new ("");
- gtk_widget_set_name (label284, "label284");
- gtk_widget_show (label284);
- gtk_box_pack_start (GTK_BOX (vbox72), label284, FALSE, FALSE, 0);
- gtk_misc_set_alignment (GTK_MISC (label284), 0, 0);
-
- dialog_action_area6 = gtk_dialog_get_action_area (dep_error_dialog);
- gtk_widget_set_name (dialog_action_area6, "dialog_action_area6");
- gtk_widget_show (dialog_action_area6);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_END);
-
- dep_error_cancel_button = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (dep_error_cancel_button, "dep_error_cancel_button");
- gtk_widget_show (dep_error_cancel_button);
- gtk_dialog_add_action_widget (GTK_DIALOG (dep_error_dialog), dep_error_cancel_button, GTK_RESPONSE_CANCEL);
- GTK_WIDGET_SET_FLAGS (dep_error_cancel_button, GTK_CAN_DEFAULT);
-
- dep_error_install_button = gtk_button_new_from_stock ("gtk-ok");
- gtk_widget_set_name (dep_error_install_button, "dep_error_install_button");
- gtk_widget_show (dep_error_install_button);
- gtk_dialog_add_action_widget (GTK_DIALOG (dep_error_dialog), dep_error_install_button, GTK_RESPONSE_OK);
- GTK_WIDGET_SET_FLAGS (dep_error_install_button, GTK_CAN_DEFAULT);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (dep_error_dialog, dep_error_dialog, "dep_error_dialog");
- GLADE_HOOKUP_OBJECT_NO_REF (dep_error_dialog, dialog_vbox6, "dialog_vbox6");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, hbox113, "hbox113");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, image1261, "image1261");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, vbox72, "vbox72");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, label285, "label285");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, dep_error_label, "dep_error_label");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, scrolledwindow22, "scrolledwindow22");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, dep_error_text, "dep_error_text");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, label286, "label286");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, dep_error_install_anyway_warning_label, "dep_error_install_anyway_warning_label");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, label284, "label284");
- GLADE_HOOKUP_OBJECT_NO_REF (dep_error_dialog, dialog_action_area6, "dialog_action_area6");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, dep_error_cancel_button, "dep_error_cancel_button");
- GLADE_HOOKUP_OBJECT (dep_error_dialog, dep_error_install_button, "dep_error_install_button");
-
- gtk_widget_grab_focus (dep_error_cancel_button);
- gtk_widget_grab_default (dep_error_cancel_button);
- return dep_error_dialog;
-}
-
-GtkWidget*
-create_source_failed_dialog (void)
-{
- GtkWidget *source_failed_dialog;
- GdkPixbuf *source_failed_dialog_icon_pixbuf;
- GtkWidget *dialog_vbox7;
- GtkWidget *hbox115;
- GtkWidget *image1300;
- GtkWidget *vbox74;
- GtkWidget *failed_source_label;
- GtkWidget *label290;
- GtkWidget *dialog_action_area7;
- GtkWidget *cancelbutton1;
- GtkWidget *okbutton3;
-
- source_failed_dialog = gtk_dialog_new ();
- gtk_widget_set_name (source_failed_dialog, "source_failed_dialog");
- gtk_window_set_title (GTK_WINDOW (source_failed_dialog), _("Source failed"));
- source_failed_dialog_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (source_failed_dialog_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (source_failed_dialog), source_failed_dialog_icon_pixbuf);
- g_object_unref (source_failed_dialog_icon_pixbuf);
- }
- gtk_window_set_type_hint (GTK_WINDOW (source_failed_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);
-
- dialog_vbox7 = GTK_DIALOG (source_failed_dialog)->vbox;
- gtk_widget_set_name (dialog_vbox7, "dialog_vbox7");
- gtk_widget_show (dialog_vbox7);
-
- hbox115 = gtk_hbox_new (FALSE, 6);
- gtk_widget_set_name (hbox115, "hbox115");
- gtk_widget_show (hbox115);
- gtk_box_pack_start (GTK_BOX (dialog_vbox7), hbox115, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (hbox115), 2);
-
- image1300 = gtk_image_new_from_stock ("gtk-dialog-error", GTK_ICON_SIZE_DIALOG);
- gtk_widget_set_name (image1300, "image1300");
- gtk_widget_show (image1300);
- gtk_box_pack_start (GTK_BOX (hbox115), image1300, TRUE, TRUE, 6);
- gtk_misc_set_alignment (GTK_MISC (image1300), 0.5, 0.2);
-
- vbox74 = gtk_vbox_new (FALSE, 6);
- gtk_widget_set_name (vbox74, "vbox74");
- gtk_widget_show (vbox74);
- gtk_box_pack_start (GTK_BOX (hbox115), vbox74, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (vbox74), 6);
-
- failed_source_label = gtk_label_new ("");
- gtk_widget_set_name (failed_source_label, "failed_source_label");
- gtk_widget_show (failed_source_label);
- gtk_box_pack_start (GTK_BOX (vbox74), failed_source_label, FALSE, FALSE, 6);
- gtk_label_set_use_markup (GTK_LABEL (failed_source_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (failed_source_label), 0, 0.5);
-
- label290 = gtk_label_new (_("This package source failed or is not available. Do you want to disable this source and continue anyway?"));
- gtk_widget_set_name (label290, "label290");
- gtk_widget_show (label290);
- gtk_box_pack_start (GTK_BOX (vbox74), label290, TRUE, TRUE, 6);
- gtk_label_set_use_markup (GTK_LABEL (label290), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (label290), TRUE);
- gtk_misc_set_alignment (GTK_MISC (label290), 0, 0);
-
- dialog_action_area7 = gtk_dialog_get_action_area (source_failed_dialog);
- gtk_widget_set_name (dialog_action_area7, "dialog_action_area7");
- gtk_widget_show (dialog_action_area7);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area7), GTK_BUTTONBOX_END);
-
- cancelbutton1 = gtk_button_new_from_stock ("gtk-no");
- gtk_widget_set_name (cancelbutton1, "cancelbutton1");
- gtk_widget_show (cancelbutton1);
- gtk_dialog_add_action_widget (GTK_DIALOG (source_failed_dialog), cancelbutton1, GTK_RESPONSE_NO);
- GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);
-
- okbutton3 = gtk_button_new_from_stock ("gtk-yes");
- gtk_widget_set_name (okbutton3, "okbutton3");
- gtk_widget_show (okbutton3);
- gtk_dialog_add_action_widget (GTK_DIALOG (source_failed_dialog), okbutton3, GTK_RESPONSE_YES);
- GTK_WIDGET_SET_FLAGS (okbutton3, GTK_CAN_DEFAULT);
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (source_failed_dialog, source_failed_dialog, "source_failed_dialog");
- GLADE_HOOKUP_OBJECT_NO_REF (source_failed_dialog, dialog_vbox7, "dialog_vbox7");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, hbox115, "hbox115");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, image1300, "image1300");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, vbox74, "vbox74");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, failed_source_label, "failed_source_label");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, label290, "label290");
- GLADE_HOOKUP_OBJECT_NO_REF (source_failed_dialog, dialog_action_area7, "dialog_action_area7");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, cancelbutton1, "cancelbutton1");
- GLADE_HOOKUP_OBJECT (source_failed_dialog, okbutton3, "okbutton3");
-
- return source_failed_dialog;
-}
-
-GtkWidget*
-create_changelog_window (void)
-{
- GtkWidget *changelog_window;
- GdkPixbuf *changelog_window_icon_pixbuf;
- GtkWidget *vbox78;
- GtkWidget *changelog_notebook;
- GtkWidget *hbuttonbox3;
- GtkWidget *button12;
-
- changelog_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (changelog_window, "changelog_window");
- gtk_window_set_title (GTK_WINDOW (changelog_window), _("ChangeLogs"));
- gtk_window_set_default_size (GTK_WINDOW (changelog_window), 640, 480);
- changelog_window_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (changelog_window_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (changelog_window), changelog_window_icon_pixbuf);
- g_object_unref (changelog_window_icon_pixbuf);
- }
-
- vbox78 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox78, "vbox78");
- gtk_widget_show (vbox78);
- gtk_container_add (GTK_CONTAINER (changelog_window), vbox78);
-
- changelog_notebook = gtk_notebook_new ();
- gtk_widget_set_name (changelog_notebook, "changelog_notebook");
- gtk_widget_show (changelog_notebook);
- gtk_box_pack_start (GTK_BOX (vbox78), changelog_notebook, TRUE, TRUE, 6);
-
- hbuttonbox3 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox3, "hbuttonbox3");
- gtk_widget_show (hbuttonbox3);
- gtk_box_pack_start (GTK_BOX (vbox78), hbuttonbox3, FALSE, TRUE, 6);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox3), GTK_BUTTONBOX_END);
-
- button12 = gtk_button_new_from_stock ("gtk-close");
- gtk_widget_set_name (button12, "button12");
- gtk_widget_show (button12);
- gtk_container_add (GTK_CONTAINER (hbuttonbox3), button12);
- GTK_WIDGET_SET_FLAGS (button12, GTK_CAN_DEFAULT);
-
- g_signal_connect ((gpointer) changelog_window, "destroy_event",
- G_CALLBACK (gtk_widget_destroy),
- NULL);
- g_signal_connect ((gpointer) changelog_window, "configure-event",
- G_CALLBACK (gslapt_window_resized),
- NULL);
- g_signal_connect_swapped ((gpointer) button12, "clicked",
- G_CALLBACK (gtk_widget_destroy),
- GTK_OBJECT (changelog_window));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (changelog_window, changelog_window, "changelog_window");
- GLADE_HOOKUP_OBJECT (changelog_window, vbox78, "vbox78");
- GLADE_HOOKUP_OBJECT (changelog_window, changelog_notebook, "changelog_notebook");
- GLADE_HOOKUP_OBJECT (changelog_window, hbuttonbox3, "hbuttonbox3");
- GLADE_HOOKUP_OBJECT (changelog_window, button12, "button12");
-
- return changelog_window;
-}
-
-GtkWidget*
-create_source_window (void)
-{
- GtkWidget *source_window;
- GdkPixbuf *source_window_icon_pixbuf;
- GtkWidget *vbox79;
- GtkWidget *table6;
- GtkWidget *priority_label;
- GtkWidget *source_label;
- GtkWidget *source_entry;
- GtkWidget *source_priority;
- GtkWidget *hbuttonbox4;
- GtkWidget *button13;
- GtkWidget *button14;
-
- source_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_widget_set_name (source_window, "source_window");
- gtk_container_set_border_width (GTK_CONTAINER (source_window), 6);
- gtk_window_set_title (GTK_WINDOW (source_window), _("Package Source"));
- gtk_window_set_position (GTK_WINDOW (source_window), GTK_WIN_POS_CENTER);
- gtk_window_set_modal (GTK_WINDOW (source_window), TRUE);
- source_window_icon_pixbuf = create_pixbuf ("gslapt.png");
- if (source_window_icon_pixbuf)
- {
- gtk_window_set_icon (GTK_WINDOW (source_window), source_window_icon_pixbuf);
- g_object_unref (source_window_icon_pixbuf);
- }
-
- vbox79 = gtk_vbox_new (FALSE, 0);
- gtk_widget_set_name (vbox79, "vbox79");
- gtk_widget_show (vbox79);
- gtk_container_add (GTK_CONTAINER (source_window), vbox79);
- gtk_container_set_border_width (GTK_CONTAINER (vbox79), 6);
-
- table6 = gtk_table_new (2, 2, FALSE);
- gtk_widget_set_name (table6, "table6");
- gtk_widget_show (table6);
- gtk_box_pack_start (GTK_BOX (vbox79), table6, TRUE, TRUE, 6);
- gtk_container_set_border_width (GTK_CONTAINER (table6), 6);
- gtk_table_set_row_spacings (GTK_TABLE (table6), 6);
- gtk_table_set_col_spacings (GTK_TABLE (table6), 6);
-
- priority_label = gtk_label_new (_("<b>Priority:</b>"));
- gtk_widget_set_name (priority_label, "priority_label");
- gtk_widget_show (priority_label);
- gtk_table_attach (GTK_TABLE (table6), priority_label, 0, 1, 1, 2,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (GTK_FILL), 6, 0);
- gtk_label_set_use_markup (GTK_LABEL (priority_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (priority_label), 0, 0.5);
-
- source_label = gtk_label_new (_("<b>Source:</b>"));
- gtk_widget_set_name (source_label, "source_label");
- gtk_widget_show (source_label);
- gtk_table_attach (GTK_TABLE (table6), source_label, 0, 1, 0, 1,
- (GtkAttachOptions) (GTK_FILL),
- (GtkAttachOptions) (GTK_FILL), 6, 0);
- gtk_label_set_use_markup (GTK_LABEL (source_label), TRUE);
- gtk_misc_set_alignment (GTK_MISC (source_label), 0, 0.5);
-
- source_entry = gtk_entry_new ();
- gtk_widget_set_name (source_entry, "source_entry");
- gtk_widget_show (source_entry);
- gtk_table_attach (GTK_TABLE (table6), source_entry, 1, 2, 0, 1,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND), 0, 0);
- gtk_entry_set_invisible_char (GTK_ENTRY (source_entry), 9679);
- gtk_entry_set_width_chars (GTK_ENTRY (source_entry), 60);
-
- source_priority = gtk_combo_box_entry_new_text ();
- gtk_widget_set_name (source_priority, "source_priority");
- gtk_widget_show (source_priority);
- gtk_table_attach (GTK_TABLE (table6), source_priority, 1, 2, 1, 2,
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
- (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
- gtk_container_set_border_width (GTK_CONTAINER (source_priority), 6);
- gtk_combo_box_append_text (GTK_COMBO_BOX (source_priority), _("Default"));
- gtk_combo_box_append_text (GTK_COMBO_BOX (source_priority), _("Official"));
- gtk_combo_box_append_text (GTK_COMBO_BOX (source_priority), _("Preferred"));
- gtk_combo_box_append_text (GTK_COMBO_BOX (source_priority), _("Custom"));
-
- hbuttonbox4 = gtk_hbutton_box_new ();
- gtk_widget_set_name (hbuttonbox4, "hbuttonbox4");
- gtk_widget_show (hbuttonbox4);
- gtk_box_pack_start (GTK_BOX (vbox79), hbuttonbox4, FALSE, TRUE, 0);
- gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox4), GTK_BUTTONBOX_END);
-
- button13 = gtk_button_new_from_stock ("gtk-cancel");
- gtk_widget_set_name (button13, "button13");
- gtk_widget_show (button13);
- gtk_container_add (GTK_CONTAINER (hbuttonbox4), button13);
- GTK_WIDGET_SET_FLAGS (button13, GTK_CAN_DEFAULT);
-
- button14 = gtk_button_new_from_stock ("gtk-ok");
- gtk_widget_set_name (button14, "button14");
- gtk_widget_show (button14);
- gtk_container_add (GTK_CONTAINER (hbuttonbox4), button14);
- GTK_WIDGET_SET_FLAGS (button14, GTK_CAN_DEFAULT);
-
- g_signal_connect_swapped ((gpointer) button13, "clicked",
- G_CALLBACK (cancel_source_edit),
- GTK_OBJECT (source_window));
- g_signal_connect_swapped ((gpointer) button14, "clicked",
- G_CALLBACK (source_edit_ok),
- GTK_OBJECT (source_window));
-
- /* Store pointers to all widgets, for use by lookup_widget(). */
- GLADE_HOOKUP_OBJECT_NO_REF (source_window, source_window, "source_window");
- GLADE_HOOKUP_OBJECT (source_window, vbox79, "vbox79");
- GLADE_HOOKUP_OBJECT (source_window, table6, "table6");
- GLADE_HOOKUP_OBJECT (source_window, priority_label, "priority_label");
- GLADE_HOOKUP_OBJECT (source_window, source_label, "source_label");
- GLADE_HOOKUP_OBJECT (source_window, source_entry, "source_entry");
- GLADE_HOOKUP_OBJECT (source_window, source_priority, "source_priority");
- GLADE_HOOKUP_OBJECT (source_window, hbuttonbox4, "hbuttonbox4");
- GLADE_HOOKUP_OBJECT (source_window, button13, "button13");
- GLADE_HOOKUP_OBJECT (source_window, button14, "button14");
-
- return source_window;
-}
-
diff --git a/src/interface.h b/src/interface.h
deleted file mode 100644
index 973e397..0000000
--- a/src/interface.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-GtkWidget* create_window_preferences (void);
-GtkWidget* create_gslapt (void);
-GtkWidget* create_transaction_window (void);
-GtkWidget* create_dl_progress_window (void);
-GtkWidget* create_about (void);
-GtkWidget* create_notification (void);
-GtkWidget* create_icon_legend (void);
-GtkWidget* create_pkgtools_progress_window (void);
-GtkWidget* create_repositories_changed (void);
-GtkWidget* create_dep_error_dialog (void);
-GtkWidget* create_source_failed_dialog (void);
-GtkWidget* create_changelog_window (void);
-GtkWidget* create_source_window (void);
diff --git a/src/main.c b/src/main.c
index e492cb1..bcd8bd5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,8 +22,6 @@
#include <gtk/gtk.h>
#include "callbacks.h"
-#include "interface.h"
-#include "support.h"
#include "settings.h"
#include "series.h"
diff --git a/src/support.c b/src/support.c
deleted file mode 100644
index f2e61b8..0000000
--- a/src/support.c
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdio.h>
-
-#include <gtk/gtk.h>
-
-#include "support.h"
-
-GtkWidget*
-lookup_widget (GtkWidget *widget,
- const gchar *widget_name)
-{
- GtkWidget *parent, *found_widget;
-
- for (;;)
- {
- if (GTK_IS_MENU (widget))
- parent = gtk_menu_get_attach_widget (GTK_MENU (widget));
- else
- parent = gtk_widget_get_parent(widget);
- if (!parent)
- parent = (GtkWidget*) g_object_get_data (G_OBJECT (widget), "GladeParentKey");
- if (parent == NULL)
- break;
- widget = parent;
- }
-
- found_widget = (GtkWidget*) g_object_get_data (G_OBJECT (widget),
- widget_name);
- if (!found_widget)
- g_warning ("Widget not found: %s", widget_name);
- return found_widget;
-}
-
-static GList *pixmaps_directories = NULL;
-
-/* Use this function to set the directory containing installed pixmaps. */
-void
-add_pixmap_directory (const gchar *directory)
-{
- pixmaps_directories = g_list_prepend (pixmaps_directories,
- g_strdup (directory));
-}
-
-/* This is an internally used function to find pixmap files. */
-static gchar*
-find_pixmap_file (const gchar *filename)
-{
- GList *elem;
-
- /* We step through each of the pixmaps directory to find it. */
- elem = pixmaps_directories;
- while (elem)
- {
- gchar *pathname = g_strdup_printf ("%s%s%s", (gchar*)elem->data,
- G_DIR_SEPARATOR_S, filename);
- if (g_file_test (pathname, G_FILE_TEST_EXISTS))
- return pathname;
- g_free (pathname);
- elem = elem->next;
- }
- return NULL;
-}
-
-/* This is an internally used function to create pixmaps. */
-GtkWidget*
-create_pixmap (GtkWidget *widget,
- const gchar *filename)
-{
- gchar *pathname = NULL;
- GtkWidget *pixmap;
-
- if (!filename || !filename[0])
- return gtk_image_new ();
-
- pathname = find_pixmap_file (filename);
-
- if (!pathname)
- {
- g_warning (_("Couldn't find pixmap file: %s"), filename);
- return gtk_image_new ();
- }
-
- pixmap = gtk_image_new_from_file (pathname);
- g_free (pathname);
- return pixmap;
-}
-
-/* This is an internally used function to create pixmaps. */
-GdkPixbuf*
-create_pixbuf (const gchar *filename)
-{
- gchar *pathname = NULL;
- GdkPixbuf *pixbuf;
- GError *error = NULL;
-
- if (!filename || !filename[0])
- return NULL;
-
- pathname = find_pixmap_file (filename);
-
- if (!pathname)
- {
- g_warning (_("Couldn't find pixmap file: %s"), filename);
- return NULL;
- }
-
- pixbuf = gdk_pixbuf_new_from_file (pathname, &error);
- if (!pixbuf)
- {
- fprintf (stderr, "Failed to load pixbuf file: %s: %s\n",
- pathname, error->message);
- g_error_free (error);
- }
- g_free (pathname);
- return pixbuf;
-}
-
-/* This is used to set ATK action descriptions. */
-void
-glade_set_atk_action_description (AtkAction *action,
- const gchar *action_name,
- const gchar *description)
-{
- gint n_actions, i;
-
- n_actions = atk_action_get_n_actions (action);
- for (i = 0; i < n_actions; i++)
- {
- if (!strcmp (atk_action_get_name (action, i), action_name))
- atk_action_set_description (action, i, description);
- }
-}
-
diff --git a/src/support.h b/src/support.h
deleted file mode 100644
index 2a25cfe..0000000
--- a/src/support.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * DO NOT EDIT THIS FILE - it is generated by Glade.
- */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <gtk/gtk.h>
-
-/*
- * Standard gettext macros.
- */
-#ifdef ENABLE_NLS
-# include <libintl.h>
-# undef _
-# define _(String) dgettext (PACKAGE, String)
-# define P_(String, String_p, n) ngettext(String, String_p, n)
-# ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-# else
-# define N_(String) (String)
-# endif
-#else
-# define textdomain(String) (String)
-# define gettext(String) (String)
-# define dgettext(Domain,Message) (Message)
-# define dcgettext(Domain,Message,Type) (Message)
-# define bindtextdomain(Domain,Directory) (Domain)
-# define _(String) (String)
-# define P_(String, String_p, n) (String_p)
-# define N_(String) (String)
-#endif
-
-
-/*
- * Public Functions.
- */
-
-/*
- * This function returns a widget in a component created by Glade.
- * Call it with the toplevel widget in the component (i.e. a window/dialog),
- * or alternatively any widget in the component, and the name of the widget
- * you want returned.
- */
-GtkWidget* lookup_widget (GtkWidget *widget,
- const gchar *widget_name);
-
-
-/* Use this function to set the directory containing installed pixmaps. */
-void add_pixmap_directory (const gchar *directory);
-
-
-/*
- * Private Functions.
- */
-
-/* This is used to create the pixmaps used in the interface. */
-GtkWidget* create_pixmap (GtkWidget *widget,
- const gchar *filename);
-
-/* This is used to create the pixbufs used in the interface. */
-GdkPixbuf* create_pixbuf (const gchar *filename);
-
-/* This is used to set ATK action descriptions. */
-void glade_set_atk_action_description (AtkAction *action,
- const gchar *action_name,
- const gchar *description);
-
diff --git a/ui/Makefile.am b/ui/Makefile.am
index 34a6061..bdbf4a3 100644
--- a/ui/Makefile.am
+++ b/ui/Makefile.am
@@ -13,7 +13,19 @@ gslapt_ui_FILES = \
transaction_window.ui \
window_preferences.ui
-EXTRA_DIST = $(gslapt_ui_FILES)
+gslapt_image_FILES = \
+ gslapt.png \
+ pkg_action_available_excluded.png \
+ pkg_action_available.png \
+ pkg_action_downgrade.png \
+ pkg_action_installed_excluded.png \
+ pkg_action_installed.png \
+ pkg_action_install.png \
+ pkg_action_reinstall.png \
+ pkg_action_remove.png \
+ pkg_action_upgrade.png
-# gslapt_uidir = $(pkgdatadir)/ui
-# gslapt_ui_DATA = $(gslapt_ui_FILES)
+EXTRA_DIST = $(gslapt_ui_FILES) $(gslapt_image_FILES)
+
+gslapt_uidir = $(pkgdatadir)/ui
+gslapt_ui_DATA = $(gslapt_ui_FILES) $(gslapt_image_FILES)
diff --git a/pixmaps/gslapt.png b/ui/gslapt.png
index bbdacbb..bbdacbb 100644
--- a/pixmaps/gslapt.png
+++ b/ui/gslapt.png
Binary files differ
diff --git a/pixmaps/pkg_action_available.png b/ui/pkg_action_available.png
index 14f6dc9..14f6dc9 100644
--- a/pixmaps/pkg_action_available.png
+++ b/ui/pkg_action_available.png
Binary files differ
diff --git a/pixmaps/pkg_action_available_excluded.png b/ui/pkg_action_available_excluded.png
index 7f3fbe4..7f3fbe4 100644
--- a/pixmaps/pkg_action_available_excluded.png
+++ b/ui/pkg_action_available_excluded.png
Binary files differ
diff --git a/pixmaps/pkg_action_downgrade.png b/ui/pkg_action_downgrade.png
index 5205757..5205757 100644
--- a/pixmaps/pkg_action_downgrade.png
+++ b/ui/pkg_action_downgrade.png
Binary files differ
diff --git a/pixmaps/pkg_action_install.png b/ui/pkg_action_install.png
index ae24fef..ae24fef 100644
--- a/pixmaps/pkg_action_install.png
+++ b/ui/pkg_action_install.png
Binary files differ
diff --git a/pixmaps/pkg_action_installed.png b/ui/pkg_action_installed.png
index e2df192..e2df192 100644
--- a/pixmaps/pkg_action_installed.png
+++ b/ui/pkg_action_installed.png
Binary files differ
diff --git a/pixmaps/pkg_action_installed_excluded.png b/ui/pkg_action_installed_excluded.png
index 9083501..9083501 100644
--- a/pixmaps/pkg_action_installed_excluded.png
+++ b/ui/pkg_action_installed_excluded.png
Binary files differ
diff --git a/pixmaps/pkg_action_reinstall.png b/ui/pkg_action_reinstall.png
index 94419aa..94419aa 100644
--- a/pixmaps/pkg_action_reinstall.png
+++ b/ui/pkg_action_reinstall.png
Binary files differ
diff --git a/pixmaps/pkg_action_remove.png b/ui/pkg_action_remove.png
index 97e7a06..97e7a06 100644
--- a/pixmaps/pkg_action_remove.png
+++ b/ui/pkg_action_remove.png
Binary files differ
diff --git a/pixmaps/pkg_action_upgrade.png b/ui/pkg_action_upgrade.png
index 6612776..6612776 100644
--- a/pixmaps/pkg_action_upgrade.png
+++ b/ui/pkg_action_upgrade.png
Binary files differ