aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
Commit message (Collapse)AuthorAgeFilesLines
* Allowing more custom strings for formatting time and making sure they update ↵Ted Gould2011-01-141-27/+68
|\ | | | | | | correctly.
| * Add markup support to clock labelMarco Trevisan (Treviño)2010-12-231-7/+21
| | | | | | | | | | | | | | | | | | | | | | This adds exactly the same markup support to the indicator-datetime label respect to the clock gnome panel applet. Now formats like the ones below can be correctly set: <span weight="Bold">%I:%M %p</span> <sup><span rise="3000" font_desc="ubuntu 7.5" color="#DFD8C8" weight="normal">%a %d %b</span></sup>%n<sub><span font_desc="ubuntu 7.5" color="#DFD8C8" weight="bold">%I:%M %p</span></sub> %a <b>%I:%M %p</b>
| * Reset the label max width when guessing it.Marco Trevisan (Treviño)2010-12-231-0/+3
| | | | | | | | | | This should reduce the indicator size when a smaller (custom) text has been added.
| * Set label justification to center, and connect to "screen-changed" signalMarco Trevisan (Treviño)2010-12-231-0/+18
| | | | | | | | Update gravity on screen change!
| * Check if the custom time format string shows secondsMarco Trevisan (Treviño)2010-12-231-20/+27
| | | | | | | | | | | | If it happens, update the label each second, not only every minute. So now you can also put any custom string showing seconds, getting correctly updated.
* | A couple of slight cleanupsTed Gould2011-01-061-7/+13
| |
* | use LC_TIME to look up date-related translationsMichael Terry2010-12-151-25/+68
|/
* Generate at startupTed Gould2010-09-301-2/+2
|
* Updating to trunkTed Gould2010-08-311-0/+33
|\
| * add a calendar widget to the menuDavid Barth2010-07-221-0/+34
| |
* | Add in a signal handler for the update time signalTed Gould2010-08-301-1/+18
| |
* | Create the service proxy and give it a lifecycleTed Gould2010-08-301-0/+22
|/
* In the timer function we're recycling the pointer to struct tmTed Gould2010-07-161-7/+2
|
* Making it so that update_label can return struct tmTed Gould2010-07-161-5/+5
|
* Making it so that ltime can be a parameter.Ted Gould2010-07-161-11/+11
|
* Starting to smartly choose when to update the time.Ted Gould2010-07-161-1/+13
|
* Protecting the timer from setting up more than one and having it setup when ↵Ted Gould2010-07-161-0/+7
| | | | the properties change.
* Adding a level of indirection to encapsulate the setting up of the timer funcTed Gould2010-07-161-5/+13
|
* Don't check the size of a label we don't have.Ted Gould2010-07-161-0/+3
|
* Ah, dumb bugTed Gould2010-07-161-1/+2
|
* Debug message to check posibilities.Ted Gould2010-07-161-0/+1
|
* Making the posibility of huge arrays testing length of month names and ↵Ted Gould2010-07-161-3/+43
| | | | weekday names, and posibily both.
* Bring in the measuring tape.Ted Gould2010-07-161-1/+13
|
* Starting to build up our new measuring algorithm. Now with just AM/PM in it.Ted Gould2010-07-161-16/+33
|
* Generating the bitmask of posibilities from the format string.Ted Gould2010-07-161-0/+37
|
* A big ass table of the strftime() format strings and what they effect, now ↵Ted Gould2010-07-161-0/+59
| | | | we can calculate the max length.
* Building up the date string.Ted Gould2010-07-161-2/+27
|
* Setting the properties only changes things if we're not in custom mode.Ted Gould2010-07-161-3/+9
|
* Adding in an update on changing the format string.Ted Gould2010-07-161-1/+4
|
* Gets us somewhere of coming up with a time string. Wow, complex.Ted Gould2010-07-161-1/+77
|
* Filling out set too.Ted Gould2010-07-151-2/+41
|
* Getting some guts into getTed Gould2010-07-151-0/+41
|
* Fleshing out the set and get enum functions.Ted Gould2010-07-151-3/+30
|
* Adding a mapping function to pull in the enum value.Ted Gould2010-07-151-2/+21
|
* Clearing set and get property as we're going to have to start from scratch ↵Ted Gould2010-07-151-17/+1
| | | | there.
* Moving all these properties into the private structure.Ted Gould2010-07-151-5/+22
|
* Binding the properties into the settings database.Ted Gould2010-07-151-4/+24
|
* Whoa, we got lots of properties now.Ted Gould2010-07-151-7/+38
|
* Turning the time format string into custom time format.Ted Gould2010-07-151-7/+9
|
* Getting defines for all the new settings and making things compile again.Ted Gould2010-07-151-6/+19
|
* Going into the gsettings world.Ted Gould2010-07-121-0/+20
|
* Moving the default format into a define and using our new variable.Ted Gould2010-07-121-3/+5
|
* Setting up a 'time_format' variable and pulling it into a property.Ted Gould2010-07-121-0/+24
|
* Setting up basic property stuff and making a husk of a first property.Ted Gould2010-07-121-0/+43
|
* Update to trunk to resolve conflictsTed Gould2010-07-121-1/+1
|\
| * Adding in copyright headersTed Gould2010-06-031-0/+21
| |
* | Legal stuffsTed Gould2010-07-121-0/+21
| |
* | Removing some now service provided code.Ted Gould2010-07-121-91/+0
| |
* | Switching the menu to be from the service.Ted Gould2010-05-191-0/+16
| |
* | Adding a service manager to start the service.Ted Gould2010-05-181-0/+14
|/