Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-10-06 17:25:52

Digger
Member
Registered: 2012-01-18
Posts: 26
Website

Orage - Change Default Start Time for New Appointments?

Hello all,

When I add a new appointment to Orage (version 4.6.1), the default start time is 0900.  I want to change said default start time to something else.

I've checked the "~/.config/orage/oragerc" file, but nothing is jumping out at me.

Any clues as to how I can change the default start time that appears in the "New appointment - Orage" window?

TIA!


Xfce 4.6.2; Debian Squeeze

Offline

#2 2015-10-06 18:05:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Orage - Change Default Start Time for New Appointments?

I don't think you can. From the source code (appointment.c):

/* If we're today, we propose an appointment the next half-hour */
.....
.....
.....
/* otherwise we suggest it at 09:00 in the morning. */
else {
            g_sprintf(appt->starttime,"%sT090000", par);
            g_sprintf(appt->endtime,"%sT093000", par);
        }


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-10-06 18:25:38

Digger
Member
Registered: 2012-01-18
Posts: 26
Website

Re: Orage - Change Default Start Time for New Appointments?

Makes sense - thanks for the quick reply!


Xfce 4.6.2; Debian Squeeze

Offline

#4 2015-10-06 19:26:22

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: Orage - Change Default Start Time for New Appointments?

You might want to file an RFE at the Xfce Bugzilla, requesting that the start time be configurable.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#5 2015-10-07 00:42:24

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Orage - Change Default Start Time for New Appointments?

ToZ wrote:

I don't think you can. From the source code (appointment.c):

/* If we're today, we propose an appointment the next half-hour */
.....
.....
.....
/* otherwise we suggest it at 09:00 in the morning. */
else {
            g_sprintf(appt->starttime,"%sT090000", par);
            g_sprintf(appt->endtime,"%sT093000", par);
        }

So Digger could change Orage's default appointment start time, but he'd have to do so by editing the source code and compiling it himself?

BtW, is the bit you posted of the application from a current version, or from the version that he mentioned? As his .SIG states that he is still running Xfce 4.6.2 is several versions out of date (and from 2010, IIRC), I'm wondering if the components that go along with Xfce might have had some major updates in the time since and, specifically, if that default in Orage is now a setting in its preferences?

Just curious,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#6 2015-10-07 01:00:32

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: Orage - Change Default Start Time for New Appointments?

You're right MDM. I missed the version in the OP's first post. However, the code is still the same between 4.6x and 4.12x branches with respect to the suggested start time. And yes, if the OP wanted to, he could re-compile himself.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2015-10-07 03:50:04

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Orage - Change Default Start Time for New Appointments?

Off-topic: Is that version of Xfce still updated (I'm thinking of possibly security updates, rather than the addition of extra features or fixing irritating - but non-security - bugs)?

On-topic: I've never compiled anything for linux (I just haven't had the need), but it is my understanding that it's every bit as simple as a United States tax form (IOW, something that a reasonably bright fifth-grader could manage). And, since the OP wishes to change this as a "default" setting - as in, he presumably wouldn't need to change it often - compiling the thing himself is probably a perfectly viable option (with the caveat that, if his distro's repos received a newer version, he'd have to compile that one after making that little change - but I'm thinking that, with an Xfce 4.6.2 installation, that probably isn't something he has to worry about / hope for wink ).

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

Board footer

Powered by FluxBB