package synaptic
tag 422427 patch
thanks

The attached patch has Synaptic set the environment variables that
Debconf (and apt-listchanges) looks at the same for its internal
change progress display as for the interface it apparently provides
for GDeb. I can't tell exactly, as there are no comments in the
relevant files describing what they actually are, but the code makes
perfect sense and accomplishes what one expects on my machine.

Phil (I can be reached by email at pmiller at 'eych' 'em' 'see' .edu.
Silly debbugs still doesn't munge email addresses)
--- synaptic-0.62.1/gtk/rgterminstallprogress.cc	2008-06-17 03:01:33.000000000 -0500
+++ synaptic-patched/gtk/rgterminstallprogress.cc	2008-10-05 21:54:49.000000000 -0500
@@ -61,6 +61,10 @@
 {
    setTitle(_("Applying Changes"));
 
+   // make sure we try to get a graphical debconf
+   putenv("DEBIAN_FRONTEND=gnome");
+   putenv("APT_LISTCHANGES_FRONTEND=gtk");
+
    _term = vte_terminal_new();
    _scrollbar = gtk_vscrollbar_new (GTK_ADJUSTMENT (VTE_TERMINAL(_term)->adjustment));
    GTK_WIDGET_UNSET_FLAGS (_scrollbar, GTK_CAN_FOCUS);

Reply via email to