Commit graph

800 commits

Author SHA1 Message Date
o9000
90521c492f Comment code to trigger a crash 2016-01-03 18:05:41 +01:00
o9000
cd863c2819 Restart on crash 2016-01-03 18:03:36 +01:00
o9000
69f6f65db6 Work better without a config file 2016-01-03 15:11:41 +01:00
o9000
6fc608f099 Work better without a config file 2016-01-03 15:09:46 +01:00
o9000
0a035c9c3b Disable system tray empty icon detection, since it is buggy 2016-01-03 02:52:58 +01:00
o9000
1ff868fdb7 Do not use negative values for task state since it is used as array index 2016-01-03 02:44:14 +01:00
o9000
0992662396 Attempt to fix compilation on BSD 2016-01-03 02:38:04 +01:00
o9000
b210675893 Remove abort 2016-01-03 01:30:32 +01:00
o9000
fa5137cad8 Dump stack trace on crash also on a file in $HOME 2016-01-03 01:28:47 +01:00
o9000
76a68fb071 Dump stack trace on crash 2016-01-03 01:14:51 +01:00
o9000
f511ad2a67 Some systray fixes 2016-01-02 11:11:07 +01:00
o9000
106471225f Rename dsp -> display 2016-01-01 13:49:10 +01:00
o9000
59e56e5310 Simplify systray rendering 2016-01-01 13:42:01 +01:00
o9000
a6da0186e0 Cache pixmaps for mouse effects to improve performance 2016-01-01 04:57:08 +01:00
o9000
a38b90dbab Fix battery compilation for DragonFly BSD 2015-12-31 16:45:08 +01:00
o9000
82dc07d7c3 Sort correctly for primary_monitor_first 2015-12-30 12:23:45 +01:00
o9000
737150d7e9 Work better with empty config files 2015-12-27 15:39:39 +01:00
o9000
80794109ae Set default font in tint2conf (fixes issue #535) 2015-12-27 15:08:45 +01:00
o9000
db44e0824a Fix build for older glib 2015-12-27 14:29:03 +01:00
o9000
f8e4cdb56f tint2conf: Save executor index in comment in config file 2015-12-24 23:18:33 +01:00
o9000
d57ec3cab1 tint2conf: Updated translation files 2015-12-23 23:23:02 +01:00
o9000
6a285a628d Executor: tint2conf support 2015-12-23 23:17:39 +01:00
o9000
8c3017634f Executor: tint2conf support for one instance 2015-12-23 18:39:32 +01:00
o9000
7582b9f960 Add option primary_monitor_first (fixes issue #538) 2015-12-22 23:50:41 +01:00
o9000
da0c52ecff Rename: monitor -> monitors 2015-12-22 23:16:01 +01:00
o9000
dd371c468c Change window type to DOCK (fixes placement on kde and bspwm, issue 537; breaks issue 455) 2015-12-21 11:05:44 +01:00
o9000
21bb019434 Set XWMHints flags correctly 2015-12-21 10:46:03 +01:00
o9000
3790723483 Code cleanup 2015-12-13 11:39:12 +01:00
o9000
7025cc399e Fix compilation error in issue 536 2015-12-13 10:58:10 +01:00
o9000
ea236e94a0 Clock: increase default font slightly 2015-12-13 10:48:06 +01:00
o9000
e3fcff7f21 Make the default font for workspace name bold 2015-12-12 15:29:33 +01:00
o9000
9a85f7f2c5 Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file 2015-12-12 15:14:42 +01:00
o9000
bdf3d945c7 Add C99 compilation flag to tint2conf 2015-12-10 18:08:18 +01:00
o9000
b1374f0cb8 execp: Fix segfault 2015-12-09 22:14:54 +01:00
o9000
9437c91bd8 Add missing include 2015-12-07 22:55:43 +01:00
o9000
e4c5509061 New config option: taskbar sort by LRU/MRU (config GUI) (issue #532) 2015-12-05 11:58:17 +01:00
o9000
17f94205b4 Execplugin: add pango markup option 2015-12-05 11:42:07 +01:00
o9000
ea82926b3f New config option: taskbar sort by LRU/MRU (no config GUI yet) (issue #532) 2015-12-05 11:07:23 +01:00
o9000
3f84d5d14c Merged execplugin from tint2-mods2 (no config GUI yet) 2015-12-05 10:05:42 +01:00
o9000
33645f9b5a Battery: refactoring 2015-11-23 16:12:42 +01:00
o9000
8df91bd475 Battery: Only redraw when needed, not after each tick 2015-11-23 16:12:17 +01:00
o9000
5c474f4256 Fix battery showing/hiding (issue #531) 2015-11-23 12:05:07 +01:00
o9000
333ed7a207 Fix missing redraw 2015-11-22 16:33:58 +01:00
o9000
eb044da8bc Support for NETWM viewports (compiz) 2015-11-21 04:35:12 +01:00
o9000
4a6937826c Cleanup indentation with clang-format and changed a few variable names 2015-11-20 23:28:37 +01:00
o9000
c0e62e2e79 Cleanup: area.h 2015-11-18 21:57:10 +01:00
o9000
e185e3fb47 Mouse effects: updated translations 2015-11-08 09:23:26 +01:00
o9000
095b311edc Mouse effects: changed defaults + disabled pixmap caching 2015-11-06 11:46:15 +01:00
o9000
96b9a46c07 Mouse effects: changed defaults 2015-11-05 13:00:19 +01:00
o9000
df9df99c23 Fix compile error with cmake -DENABLE_RSVG=OFF 2015-11-05 01:15:59 +01:00
o9000
7d972e53d7 Mouse effects: updated tint2conf 2015-11-05 01:13:21 +01:00
o9000
6061b76331 Mouse effects: updated tint2conf 2015-11-05 00:08:23 +01:00
o9000
0900c088ee Mouse effects: fixes, changed defaults, more config options 2015-11-04 23:14:11 +01:00
o9000
68d3799c47 Mouse effects: tint icons 2015-11-04 13:02:12 +01:00
o9000
1b554ebc1e Fix segfault 2015-11-04 12:25:49 +01:00
o9000
732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +01:00
o9000
34b341767c Task: disable pixmap caching (temporary change until we make it work with mouse effects) 2015-11-04 11:58:11 +01:00
o9000
070eb7ba4d Revert "Area: do not destroy pixmap when not necessary"
This reverts commit f2922d7dbd.
2015-11-04 03:07:46 +01:00
o9000
57c35549f3 Area: refactor list -> children 2015-11-04 02:37:10 +01:00
o9000
f2922d7dbd Area: do not destroy pixmap when not necessary 2015-11-04 02:36:51 +01:00
o9000
9e2fbec797 Launcher icon background 2015-11-04 02:05:41 +01:00
o9000
294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000
fe06ff5075 tint2conf: Updated French PO (added corrections from Mélodie) 2015-11-01 14:58:59 +01:00
o9000
73ed55f288 tint2conf: Updated French PO (removed fuzzy flag; review still needed) 2015-11-01 13:56:11 +01:00
o9000
2ff9ee9eba tint2conf: Updated French PO (review needed) 2015-11-01 13:38:43 +01:00
o9000
3b434c0ef5 tint2conf: Updated POT and PO files (translation update needed) 2015-11-01 13:09:33 +01:00
o9000
6d59e55d8d tint2conf: Call setlocale with no locale to use system default instead of C 2015-11-01 12:53:48 +01:00
o9000
d2636c8c57 Updated French translation (thanks to Melodie and her team) 2015-11-01 12:18:46 +01:00
o9000
b52f193804 Fix lost settings on battery plug/unplug 2015-10-18 17:28:58 +02:00
o9000
23ce5df057 Refactored text size computation (missed a change for the battery) 2015-10-18 17:04:21 +02:00
o9000
da06691292 tint2conf: Changed plugin order 2015-10-18 16:56:10 +02:00
o9000
8b6aad3a41 Refactored svg image loading 2015-10-18 16:53:27 +02:00
o9000
985c557dcd Refactored text size computation 2015-10-18 16:51:08 +02:00
o9000
2299132cd3 tint2conf: Add background labels 2015-09-23 23:56:38 +02:00
o9000
005e5a49c0 Battery: minor code style change 2015-09-12 12:23:50 +02:00
o9000
85b3b8a749 Battery: fix comment in estimate_power_usage 2015-09-12 12:22:32 +02:00
o9000
42d1ba2b20 Battery: prevent division by zero 2015-09-12 12:21:31 +02:00
o9000
b887d50409 Merge branch 'sre/support-missing-power-usage-information' 2015-09-12 12:17:25 +02:00
o9000
66b38cc7d6 Initialize ac_connected_cmd and ac_disconnected_cmd 2015-09-12 11:18:21 +02:00
Sebastian Reichel
89f26595b6 support missing power usage data
Some notebooks do not provide power usage data. This code tries
to estimate the current power usage by measuring the battery level
difference in a specific time interval.
2015-09-12 04:34:32 +02:00
Sebastian Reichel
3d39da9330 correctly free battery linked list 2015-09-12 04:32:45 +02:00
Sebastian Reichel
eb86d5ac00 free ac_connected_cmd and ac_disconnected_cmd on cleanup 2015-09-12 04:31:12 +02:00
o9000
5b01670a22 Fix lost font setting for desktop name 2015-09-12 03:08:25 +02:00
o9000
00a1803348 if( -> if ( 2015-08-08 08:51:44 +02:00
o9000
03dd8b8483 uevent: Use strchr here 2015-08-08 08:47:32 +02:00
Sebastian Reichel
9e85b6dcfe Battery: Avoid executing ac_connected cmd on startup
Previously ac_connected_cmd was executed during tint2 startup (if
AC is connected during startup).
2015-08-08 06:39:45 +02:00
Sebastian Reichel
0d0b1249c7 Battery: Handle Linux kernel events
The Kernel sends notifications for AC (un)plug and some
other important power supply events, so that we can
instantly update the widget. Apart from that it sends
notifications for any added or removed power supplies,
so that the battery support can be reinitialized (useful
on systems with removable batteries).
2015-08-08 06:31:01 +02:00
Sebastian Reichel
46a6d2c2ad Add Linux kernel event handling code
This is a simple handler for uevents send by the Linux
kernel.
2015-08-08 06:29:54 +02:00
o9000
00b88c2725 battery: Updates for OpenBSD 2015-08-07 08:54:15 +02:00
o9000
10b006ffb2 battery: Updates for OpenBSD 2015-08-07 08:36:02 +02:00
o9000
28272621b0 battery: Capitalize AC state in tooltips 2015-08-07 08:22:54 +02:00
o9000
61d786cf4f battery: Tooltips for FreeBSD (fix format string) 2015-08-07 08:20:34 +02:00
o9000
9d2e62f724 battery: Tooltips for FreeBSD (fix typo) 2015-08-07 08:19:48 +02:00
o9000
6e77b59ef8 battery: Tooltips for FreeBSD 2015-08-07 08:18:26 +02:00
o9000
3a733d7353 battery: Update AC status on FreeBSD 2015-08-07 08:08:53 +02:00
o9000
8df9ed5977 Update type for ac_connected variables 2015-08-07 08:07:51 +02:00
o9000
cf748d6d41 Revert "Remove static clock tooltip buffer" (g_date_time_format uses format strings slightly different from strftime)
This reverts commit 441c420773.
2015-08-07 07:54:13 +02:00
Sebastian Reichel
169278c9d8 tint2conf: add support for ac_connected_cmd and ac_disconnected_cmd 2015-08-07 05:33:33 +02:00
Sebastian Reichel
db490247e0 Battery: support for ac connection event cmd
This add two new config options "ac_connected_cmd" and
"ac_disconnected_cmd". These commands are executed when
AC (mains supply) is connected or disconnected.
2015-08-07 05:22:09 +02:00
Sebastian Reichel
3c45cf29c7 Battery: Split operating system specific code
This removes all operating system specific code from the main
battery file into their own source files. CMake will add the
correct implementation automatically.
2015-08-07 05:08:44 +02:00