Package: fdpowermon
Version: 1.15
Severity: normal

Dear Maintainer,

Since the upgrade to Gtk3, fdpowermon does falls back to dialog warnings
after the first libnotify warning.

You can reproduce this by changing @warnings (line 115) to something
like: 

    our @warnings = (99, <some number just below current charge>, 10, 5, 1)

An initial libnotify warning will be given when the application starts
if the current charge is below 99%.

However, after this intial warning all warnings are dialogs.

The problem seems to be at lines 350–353. The if (defined($@)) returns
true even though $notify->show is successful. $use_notify is then set to
0 on line 356.

Thanks,

David

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (440, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fdpowermon depends on:
ii  acpi              1.7-1
ii  fdpowermon-icons  1.15
ii  libgtk3-perl      0.021-2
ii  perl              5.20.2-4

Versions of packages fdpowermon recommends:
ii  gir1.2-notify-0.7  0.7.6-2

fdpowermon suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to