Commit Graph
92 Commits
Author SHA1 Message Date
Jon Lund Steffensen 82c4aa5d67 Update PO files.
Fix switch of status icons in gtk-redshift.
2010-10-18 02:14:49 +02:00
Jon Lund Steffensen b81b2b3827 Fix: Set the right icon on indicator applet initialization. 2010-10-18 01:55:59 +02:00
Jon Lund Steffensen 5f68d4dfe4 Allow user to specify a configuration file on the command line that will
be parsed.
2010-10-18 00:58:00 +02:00
Jon Lund Steffensen 10e23dda64 config-ini.c: Fix loading explicitly requested config file. 2010-10-18 00:55:16 +02:00
Jon Lund Steffensen a5874125ee Separate the redshift.svg icon into an application icon and a status icon
(redshift-status-on.svg).
Rename redshift-idle.svg to redshift-status-off.svg.
2010-10-18 00:36:57 +02:00
Jon Lund Steffensen 2b92b86857 Add configuration file support. 2010-10-15 12:43:48 +02:00
Jon Lund Steffensen 6f780c4063 Minor optimizations in selection of location provider and adjustment
method.
2010-10-15 00:52:19 +02:00
Jon Lund Steffensen 158de6e293 Add info on the neutral color temperature (6500K) in help output. 2010-10-09 23:04:43 +02:00
Jon Lund Steffensen e07cbc7b95 gamma-vidmode.c: Do not call XCloseDisplay() if vidmode_start() fails as
XCloseDisplay() will be called in vidmode_free().
2010-10-09 22:30:40 +02:00
Jon Lund Steffensen c9cba12583 Merge status icon toggle button patch from Francesco Marella. 2010-09-04 14:41:42 +02:00
Jon Lund Steffensen 2c09d9efbf Merge GNOME clock fix for multiple applets by Francesco Marella.
Clean up GNOME clock code and fix memory leak.
2010-09-04 14:34:20 +02:00
Francesco Marella e5926206c6 Fix to get location from a secondary clock applet 2010-09-02 17:45:58 +02:00
Jon Lund Steffensen 8491640b54 gamma-randr.c: Apparently error and ver_reply can both be NULL. Check both to
avoid seg faults.
2010-08-18 20:38:02 +02:00
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