Commit Graph
79 Commits
Author SHA1 Message Date
Jon Lund Steffensen 7b884aed4e remove unnecessary shebang 2010-08-18 20:06:49 +02:00
Jon Lund Steffensen fb7f1b5a4a Merge GUI optimization from Francesco Marella with a few tweaks. 2010-07-28 00:48:49 +02:00
Francesco Marella 34a288486d Optimize indicators code.
User, at configure time, chooses to enable or disable the gui. Determine 
at runtime whether to use the appindicator or status icon as fallback.
2010-07-21 16:30:08 +02:00
Jon Lund Steffensen e850a58909 Provide feedback on what location provider/color adjustment method that
is used when none was specifically requested.
2010-06-30 20:29:32 +02:00
Jon Lund Steffensen 9ce4a9d848 location-gnome-clock.c: Only look in properties of applets that are
enabled. Patch by Gabriel de Perthuis.
2010-06-30 20:22:02 +02:00
Jon Lund Steffensen 7db6532b9d Move gtk-redshift.desktop file to data dir. 2010-06-30 20:10:12 +02:00
Jon Lund Steffensen 0d533f457c Merge GUI autostart feature from Francesco Marella. 2010-06-30 19:55:36 +02:00
Francesco Marella 846284943b utils.py: copy the desktop file in autostart folder 2010-06-22 16:14:39 +02:00
Francesco Marella c9b0abf610 Disable autostart menu item when the desktop file can't be found 2010-06-22 12:46:45 +02:00
Jon Lund Steffensen f450dd4a19 Change comment in colorramp.c. 2010-06-21 22:23:08 +02:00
Jon Lund Steffensen ac740eb538 Toggle icon of status icon. 2010-06-14 19:37:28 +02:00
Jon Lund Steffensen 57afd85c00 Add missing file to Makefile.am.
Fix detection of GUI dependencies in configure.ac.
2010-06-13 23:53:36 +02:00
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
Francesco Marella 93ccb5d117 Rebase on trunk and add the missing bits to rsappindicator.py 2010-06-07 13:22:58 +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 07ec131ba7 Add a feature to toggle autostart at login
A launcher is placed in Applications -> Utility.
The user toggles autostart through the user interface. The 'xdg' module is required.
2010-06-06 21:00:03 +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