! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Time-out doesn't remember of the "allow postpone" option.
Status:
RESOLVED: FIXED
Severity:
trivial
Product:
Xfce4-time-out-plugin
Component:
General

Comments

Description Gleidson Echeli 2007-11-25 17:33:51 CET
When you choose disallow postpone it doesn't remember this option after you logout.

This happens because the plugin doesn't safe the state of the variable "allow postpone" in configuration file for after load it.

I looked into the source code from svn trunk and I made a patch for fixes it, but because I don't know how attach a file in this bug report, follow below:

--- panel-plugin/time-out.c.orig        2007-11-25 14:49:41.000000000 -0200
+++ panel-plugin/time-out.c     2007-11-25 14:49:31.000000000 -0200
@@ -728,6 +728,7 @@ time_out_save_settings (TimeOutPlugin *t
           xfce_rc_write_bool_entry (rc, "display-seconds", time_out->display_seconds);
           xfce_rc_write_bool_entry (rc, "display-hours", time_out->display_hours);
           xfce_rc_write_bool_entry (rc, "display-time", time_out->display_time);
+          xfce_rc_write_bool_entry (rc, "allow-postpone", time_out->allow_postpone);
 
           /* Close file handle */
           xfce_rc_close (rc);
Comment 1 Gleidson Echeli 2007-11-25 17:35:58 CET
Created attachment 1442 
The patch file.
Comment 2 Nils Stöckmann 2009-10-22 01:20:30 CEST
i tried setting this in .config/xfce4/panel manually, but without success.
it looks like the allow-postpone setting is not only not written, but also not correctly read.
Comment 3 Florian Rivoal editbugs 2010-11-07 13:10:53 CET
Thanks for the patch. I just applied it, and it works fine.

Bug #3690

Reported by:
Gleidson Echeli
Reported on: 2007-11-25
Last modified on: 2010-11-07

People

Assignee:
Florian Rivoal
CC List:
2 users

Version

Version:
0.1.1 or older

Attachments

The patch file. (602 bytes, patch)
2007-11-25 17:35 CET , Gleidson Echeli
no flags

Additional information