Jon Lund Steffensen
b5caafe52d
gamma-w32gdi.c: Conditionally define WINVER.
2010-06-13 21:49:34 +02:00
Jon Lund Steffensen
b4f93051a3
gamma-w32gdi.c: Fix name of w32gdi_start() function.
2010-06-10 21:36:39 +02:00
Jon Lund Steffensen
222c21e5d2
Add reset option (activated with -x) that removes any color adjustments
...
applied to the screen. Based on patch by Dan Helfman.
2010-06-10 20:14:13 +02:00
Jon Lund Steffensen
6e5ec155d1
Add comments about certain substring which must not be translated.
...
Fix help text that refered to the wrong command line parameter.
2010-06-10 13:28:30 +02:00
Jon Lund Steffensen
79d6d29889
Merge application indicator support from Franesco Marella.
...
Change GUI configuration parameter in configure.ac to --enable-gui.
Distribute defs.py.in and gtk-redshift.in even if GUI is disabled.
Update POTFILES.in and update translation files.
2010-06-06 23:34:49 +02:00
Francesco Marella
84501af933
rvert commit 103: Wrap in try...except only gtk.main.
2010-06-06 14:39:50 +02:00
Francesco Marella
57f88da335
Add a check for appindicator's module import
2010-06-05 09:17:17 +02:00
Francesco Marella
69d1996f6d
Wrap in try...except only gtk.main.
2010-06-05 08:47:02 +02:00
Jon Lund Steffensen
68a0d443d6
Clarify translation of help text for translators.
...
Clarify comment about use of strtof().
2010-06-04 21:57:39 +02:00
Francesco Marella
d4fd3d4c4e
Clean up
2010-06-04 12:43:21 +02:00
Francesco Marella
a5b9ff65c4
Add the autofoo needed to choose GTK+ status icon or app-indicator
...
Passing 'enable-appindicator=yes' to the configure script the GTK+ status icon will be disabled.
2010-06-04 12:42:31 +02:00
Francesco Marella
d7f66c09c1
Implement the application panel indicator for redshift
2010-06-04 12:22:06 +02:00
Jon Lund Steffensen
ba68997f7a
Use lower case for method and provider names.
2010-05-27 02:22:46 +02:00
Jon Lund Steffensen
441dae4a44
Split init function of methods and providers into init and start.
...
The set_option function can be called to set options between init
and start.
2010-05-27 02:20:29 +02:00
Jon Lund Steffensen
19f7343355
Let gamma methods and location providers print help on option parameters.
2010-05-27 00:17:47 +02:00
Jon Lund Steffensen
5be231ca8d
Remove unused parameters in help text output.
2010-05-25 01:35:54 +02:00
Jon Lund Steffensen
98cc1a5657
Fix build on mingw
2010-05-25 01:33:28 +02:00
Jon Lund Steffensen
38aea51b22
Add location provider that reads location from the gconf key associated
...
with the GNOME Clock applet. The implementation is rather simplistic as
it only reads the location once on init but that'll have to do for now.
2010-05-25 01:23:42 +02:00
Jon Lund Steffensen
cde909747c
Provide fundament for more advanced location providers.
2010-05-25 00:45:29 +02:00
Jon Lund Steffensen
65dd76a221
Use the prefix 'gamma' for gamma adjustment source files.
2010-05-24 23:37:36 +02:00
Jon Lund Steffensen
1d88c2b10c
Pass arguments as string to adjustment methods.
2010-05-24 21:26:06 +02:00
Jon Lund Steffensen
b1ab322cb5
Move gamma method spec structs to redshift.h
2010-05-24 20:06:14 +02:00
Jon Lund Steffensen
f8c3b9839d
Don't include gettext headers when NLS is disabled.
2010-05-24 18:24:56 +02:00
Jon Lund Steffensen
6f044ccad3
Use gamma_method_spec_t struct to control and iterate through different
...
gamma adjustment methods.
2010-05-24 18:12:36 +02:00
Jon Lund Steffensen
b41d891888
Clean up code for gamma adjustment methods.
2010-05-07 00:33:21 +02:00
Jon Lund Steffensen
52a5a370fd
systemtime.c: Portably read current time on posix and windows.
...
w32gdi.c: Implements gamma ramp method for Windows GDI API.
Use double as a cross platform time representation.
Add WinGDI as a selectable method (currently limitied to minimum 4500K).
Fix a bug where redshift would crash if RANDR failed and VidMode wasn't
compiled in.
2010-05-06 23:56:52 +02:00
Jon Lund Steffensen
fc47840a2c
Don't call setlocale if NLS was disabled.
2010-05-06 23:51:31 +02:00
Jon Lund Steffensen
9c2012b85e
Disable signal support if sys/signal.h was not found.
2010-05-06 23:50:23 +02:00
Jon Lund Steffensen
8583f11f21
Restructure help text and add comments for easier translation.
2010-05-05 22:37:41 +02:00
Jon Lund Steffensen
8c266ebb7a
Show default temperature values in help output.
2010-05-05 22:26:13 +02:00
Jon Lund Steffensen
ebd6c7b80a
Merge slightly altered patch from Alexandros Frantzis that allows adjusting individual CRTCs.
2010-05-04 23:42:10 +02:00
Alexandros Frantzis
9f6901aed3
Add support for changing the temperature of a specific CRTC (randr only).
2010-04-24 11:48:46 +03:00
Jon Lund Steffensen
2c877b3db0
Switch to heirarchial makefiles. Seems to be the only way to make
...
distcheck happy :(
2010-02-11 23:15:01 +01:00
Jon Lund Steffensen
e8b121c0dc
gtk-redshift: Use absolute path when launching redshift process.
2010-02-11 22:14:33 +01:00
Jon Lund Steffensen
739f806f19
Turn gtk-redshift into a python module. A launcher script is installed
...
in bindir.
2010-02-11 22:06:12 +01:00
Jon Lund Steffensen
277df9da54
gtk-redshift: Use local definitions for locale path.
2010-02-11 20:56:32 +01:00
Jon Lund Steffensen
27331fa532
Add templete for python source file with local definitions.
2010-02-11 20:55:38 +01:00
Jon Lund Steffensen
da622908b0
redshift.c: Handle -? parameter. This is also used when a parameter is
...
not recognized.
Update translations.
2010-02-10 22:52:11 +01:00
Jon Lund Steffensen
e1f84c5c8d
Update help strings: --help does not actually work, change to -h.
...
Update po files.
2010-02-10 22:05:04 +01:00
Jon Lund Steffensen
a3f67071c1
redshift.c: Use LOCALEDIR define.
2010-02-10 21:58:06 +01:00
Jon Lund Steffensen
bc79a1408e
gtk-redshift.py: Use 'redshift' gettext catalog
2010-02-10 21:53:53 +01:00
Jon Lund Steffensen
75857f38a7
Add po support files.
...
Add extension to gtk-redshift to satisfy update-po rules.
2010-02-10 21:46:16 +01:00
Jon Lund Steffensen
59db9546e5
Add gettext support in redshift.
2010-02-02 00:51:50 +01:00
Jon Lund Steffensen
af6a3ebf28
Add i18n support in gtk-redshift
2010-02-01 22:53:19 +01:00
Jon Lund Steffensen
66aab46d8a
Fix: Typo in comment
2010-01-14 00:53:30 +01:00
Jon Lund Steffensen
023f5dba15
Add python script to control redshift through a status icon (tray icon).
2010-01-14 00:19:40 +01:00
Jon Lund Steffensen
8918855fee
Add some comments in the redshift.c.
2010-01-09 16:09:16 +01:00
Jon Lund Steffensen
1bb58377aa
Fix formating of help message.
2010-01-09 16:02:45 +01:00
Jon Lund Steffensen
32e61ecff6
Switch between enabled and disabled on USR1 signal.
...
Transition between the two states.
2010-01-09 15:52:51 +01:00
Jon Lund Steffensen
687a5069c7
Add include of stdint.h in header files.
2010-01-07 20:26:22 +01:00