Your message dated Mon, 26 Sep 2016 13:24:41 +0000
with message-id <[email protected]>
and subject line Bug#838820: Removed package(s) from unstable
has caused the Debian Bug report #554527,
regarding pre-selection of screens in the config, autostart, late preDouF00 run
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
554527: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554527
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: douf00
Version: 2.0.1-1
Tags: patch

Hi,

with these changes I can pre-select screens in the config:
--- /usr/share/pyshared/DouF00/usercfg.py~      2009-09-14 22:36:29.000000000 
+0200
+++ /usr/share/pyshared/DouF00/usercfg.py       2009-11-04 23:28:11.000000000 
+0100
@@ -77,3 +77,5 @@
             print "Config file error"
             sys.exit(1)
 
+    for key in ('presentor', 'audience'):
+       if key in config: config[key]=config[key].split(" ")
--- DisplayChoice.py    2009-11-05 07:55:36.000000000 +0100
+++ /usr/share/pyshared/DouF00/DisplayChoice.py 2009-11-04 23:35:44.000000000 
+0100
@@ -41,7 +41,10 @@
         for d in xrange(displays):
             choice = wx.Choice(self, wx.ID_ANY, choices = self.choices)
             print [d, usercfg.config['presentor']]
-            choice.SetSelection(1)
+            if str(d) in usercfg.config['presentor']:
+                choice.SetSelection(2)
+            else:
+                choice.SetSelection(1)
             self.selections.append(choice)
             hbox = wx.BoxSizer(wx.HORIZONTAL)
             hbox.Add(wx.StaticText(self, wx.ID_ANY,
documentation: new config items:
presentor: 1 2
audience: 0
(actually only the presentor is taken, as audience is the default anyways)


with this change I can select "no time":

--- DisplayChoice.py    2009-11-05 07:55:36.000000000 +0100
+++ /usr/share/pyshared/DouF00/DisplayChoice.py 2009-11-04 23:35:44.000000000 
+0100
@@ -54,7 +57,7 @@
         timelabel = wx.StaticText(self, wx.ID_ANY, 'Time:')
         hbox.Add(timelabel, 0, wx.ALIGN_CENTER_VERTICAL)
         self.spinctrl = wx.SpinCtrl(self, wx.ID_ANY,
-                                    min = 1,
+                                    min = 0,
                                     max = 120,
                                     initial = usercfg.config['time'])
         hbox.Add(self.spinctrl, 0, wx.ALIGN_CENTER_VERTICAL | wx.EXPAND)



with this change the presentation auto-starts (needs the first patch for 
obvious reasons,
should be converted to a config setting as well):
--- douf00.py   2009-11-05 07:58:02.000000000 +0100
+++ /usr/share/pyshared/DouF00/douf00.py        2009-11-04 23:55:08.000000000 
+0100
@@ -210,6 +210,7 @@
         self.startTime = int(time.mktime(time.localtime()))
         self.remainingTime = self.runTime
         self.elapsedTime = 0
+        self.Run(None)
         return True
 
     def preApp(self):


With this change the screen modes are done as late as possible (actually, one
can do it even later in the "autorun mode" above, but well, that'd be a larger
change as it requires to count the user screens different) (one could move
"atexit.." to the preApp as well).

--- douf00.py   2009-11-05 07:59:08.000000000 +0100
+++ /usr/share/pyshared/DouF00/douf00.py        2009-11-04 23:55:08.000000000 
+0100
@@ -104,7 +104,6 @@
         if usercfg.config['blankslide'] and (not usercfg.config['blankpage'] 
== 0):
             parser.error('Options -b and -B are mutually exclusive')
 
-        self.preApp()
         atexit.register(self.postApp)
 
         if len(args) > 1:
@@ -198,6 +198,7 @@
         appcfg.thumbnaillist = ThumbnailList()
         appcfg.slidelist = SlideList()
 
+        self.preApp()
         displayCount = wx.Display.GetCount()
         self.numberFrames = []
         for d in xrange(displayCount):


Cheers,
Andi



--- End Message ---
--- Begin Message ---
Version: 3.0.0-1.3+rm

Dear submitter,

as the package douf00 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/838820

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to