Commit graph

1229 commits

Author SHA1 Message Date
o9000
ed802d7602 Compute layouts correctly with partial borders (issue #580) 2016-05-21 15:14:57 +02:00
o9000
77d2a74865 tint2conf: Translate labels (issue #580) 2016-05-19 10:37:51 +02:00
Vladimir
428cbc69e3 Update ru.po 2016-05-19 08:08:31 +00:00
o9000
4538617d96 Tint2conf: updated French translation (issue #580) 2016-05-19 00:06:07 +02:00
o9000
dc008ae89d Tint2conf: regenerated translation files (issue #580) 2016-05-19 00:03:52 +02:00
o9000
3615571e39 Tint2conf: remove tooltips for border sides, it is clear (issue #580) 2016-05-18 23:55:09 +02:00
o9000
ed3fcd63fc Tint2conf: use strcat instead of append (issue #580) 2016-05-18 23:27:55 +02:00
o9000
d49dac2e05 Tint2conf: read border sides correctly when enabled by default (issue #580) 2016-05-18 23:25:07 +02:00
o9000
754a697099 Tint2conf: enable all border sides by default (issue #580) 2016-05-18 23:23:15 +02:00
o9000
285afd22ad Tint2conf: use bool instead of int for border sides (issue #580) 2016-05-18 23:22:48 +02:00
o9000
50c2f72a66 Tint2conf: support border sides (issue #580, thanks @stophe) 2016-05-18 23:13:28 +02:00
o9000
78bc215677 Draw background correctly (issue #580, thanks @stophe) 2016-05-17 22:19:09 +02:00
o9000
78bc8b5c74 Draw border on only some sides (issue #580, thanks @stophe) 2016-05-17 21:59:43 +02:00
o9000
e09c4a0642 tint2conf: changed window title 2016-05-14 08:16:10 +02:00
o9000
cc49e4026e tint2conf: Update translations 2016-05-09 12:20:31 +02:00
o9000
385f4fd25b tint2conf: Regenerate po files 2016-05-09 12:18:05 +02:00
o9000
6c00321262 tint2conf: Update pot file 2016-05-09 12:17:30 +02:00
o9000
aa77f05a98 tint2conf: Add extension if missing in save as dialog 2016-05-09 12:16:56 +02:00
o9000
ccd590e397 tint2conf: Workaround for a GTK quirk to prevent a crash when adding backgrounds 2016-05-07 20:13:13 +02:00
o9000
690f30308f Fixed crash in systray with non-Latin languagess (thanks zcodes) 2016-05-07 00:38:52 +02:00
o9000
fea91746a4 Battery: do not show negative durations when the sensors return garbage 2016-04-23 11:54:38 +02:00
o9000
9d8350dabc Invalidate cached pixmaps on resize/move (issue #576) 2016-04-22 23:47:28 +02:00
o9000
a6879ea2a5 Proper workaround for issue #555 2016-04-22 23:16:26 +02:00
o9000
ad675495e6 Position task icon correctly (issue #575) 2016-03-29 14:59:02 +02:00
o9000
48e7e38b11 Compute task button size correctly if max size is 0 (issue #575) 2016-03-29 14:35:24 +02:00
o9000
dc191668fe Revert 580c3e76 (issue #572) 2016-03-28 20:26:47 +02:00
o9000
955be3658b Use imlib2 for taking screenshot; if it fails, use Xlib (issue #574) 2016-03-27 23:27:34 +02:00
o9000
dcc163ec0b Do not use imlib2 for taking screenshot (issue #574) 2016-03-27 23:23:55 +02:00
o9000
14716d41b9 Do not use imlib2 for taking screenshot (issue #574) 2016-03-27 23:17:03 +02:00
o9000
9018313fb2 Print error message if default_icon.png cannot be loaded (issue #574) 2016-03-27 17:33:42 +02:00
o9000
92b391a1b2 tint2conf: Show Loading when drawing themes; use different heights per row 2016-03-26 14:17:33 +01:00
o9000
b023229600 Battery: do not sample too often if the battery level changes slowly (and there is no support for reading current/power) 2016-03-26 13:36:49 +01:00
o9000
1edaf21bde Add area.name, useful for debugging 2016-03-25 11:13:05 +01:00
o9000
76bd4baa9c Ignore empty areas for mouse events 2016-03-25 11:12:26 +01:00
o9000
580c3e765f Extend mouse over area to edge of panel for first and last area, if full width clickable (issue #572) 2016-03-25 10:08:24 +01:00
o9000
7dc24b8ee6 Launcher: full width clicks if 1 row or 1 column of icons (issue #572) 2016-03-25 09:51:55 +01:00
o9000
6e6dff2ca3 Turn off backtrace unless enabled with cmake (issue #550) 2016-03-24 23:26:41 +01:00
o9000
3e03e81dbf tint2conf: Display themes consistently 2016-03-24 23:20:00 +01:00
o9000
9150a180fa panel: Compute fractional width after reserving the margin, not before (issue #559) 2016-03-24 20:58:09 +01:00
o9000
7b6ce97940 Cleanup whitespace 2016-03-24 20:45:17 +01:00
o9000
d398795202 panel: Watch the panel`s WM_DESKTOP property and reset it if it changes 2016-03-24 19:36:55 +01:00
o9000
5f82ef4d3b Refresh sticky panel status on desktop change (workaround for issue #555) 2016-03-22 22:48:02 +01:00
o9000
d1b959818e tint2conf: Create snapshot file in /tmp 2016-03-22 22:42:15 +01:00
o9000
4656f7fc94 Cleanup code from last commit 2016-03-22 08:25:09 +01:00
o9000
1dcf9c676d Updated French translation (thanks to BunsenLabs community) 2016-03-22 07:46:55 +01:00
o9000
9768b326aa Remove unnecessary casts 2016-03-21 23:04:45 +01:00
o9000
b608cd5960 Use a better algorithm for brightness adjustment 2016-03-21 23:04:45 +01:00
Vladimir
3000740213 Update ru.po 2016-03-21 06:37:36 +00:00
o9000
c5c8786363 systray: Fix race in sorting icons by name 2016-03-20 15:48:48 +01:00
o9000
c8250e5200 Launcher: Read and display both Name and GenericName from desktop files (issue #571) 2016-03-20 14:37:32 +01:00
o9000
5a08d028ce Update French translation 2016-03-20 13:59:14 +01:00
o9000
6c3ec392e8 Update po files 2016-03-20 13:56:34 +01:00
o9000
e665efb3a0 Update tooltips 2016-03-20 13:45:06 +01:00
o9000
d79b48e3f7 Update translation files 2016-03-20 13:37:57 +01:00
o9000
9af0f83c89 Cleanup menus (thanks to @Vladimir-csp for feedback; issue #567) 2016-03-20 13:22:14 +01:00
o9000
b62138beca tint2conf: Cleanup whitespace, clean up menus 2016-03-20 13:08:40 +01:00
o9000
38ef80637f tint2conf: Support for loading themes from /usr/share/tint2 2016-03-08 23:42:35 +01:00
o9000
7f9ac5c584 Use application-x-executable for desktop entries without icons (issue #570) 2016-03-07 22:45:45 +01:00
o9000
856ac5d821 Use application-x-executable for unparseable desktop entries (issue #570) 2016-03-07 22:37:32 +01:00
o9000
3811929a6e Fix desktop entry parsing (issue #570) 2016-03-07 22:26:42 +01:00
o9000
85a97a9cab tint2conf: Show a nicer popup during long operations (issue #563) 2016-03-06 21:11:21 +01:00
o9000
f5236f1d21 tint2conf: Show only one popup during long operations (issue #563) 2016-03-06 20:49:38 +01:00
o9000
b0f172a8e1 Icon cache: open correctly and create when needed 2016-03-05 11:20:12 +01:00
o9000
71abe9a7e1 tint2conf: Show popup during long operations (issue #563) 2016-03-02 22:44:16 +01:00
o9000
b4677426a4 Recursive search for launcher entries without a full path (issue #565) 2016-03-01 23:01:10 +01:00
o9000
745108dc6d tint2conf: Fix regression (launcher items from the config should not be sorted) 2016-03-01 22:08:08 +01:00
o9000
448feae732 Update changelog, add TODO (issue #565) 2016-03-01 21:35:38 +01:00
o9000
3b5ecb631d Allow launcher entries without a full path (issue #565) 2016-03-01 21:27:43 +01:00
o9000
50e6278327 Move icon cache to a separate file; protect cache with file locks 2016-03-01 20:59:13 +01:00
o9000
4dfe411bf4 Cache launcher icons 2016-02-29 23:44:00 +01:00
o9000
734af1c025 tint2conf: Do not load desktop files marked as NoDisplay 2016-02-28 15:50:32 +01:00
o9000
1000cbf491 Load fallback icon themes lazily to speed up tint2 startup 2016-02-28 15:41:50 +01:00
o9000
df241dfd89 tint2conf: Updated desktop file as discussed in merge request !12 2016-02-28 15:07:14 +01:00
o9000
a2f02194ee Merge branch 'patch-1' into 'master'
Update ru.po

I've mentioned Format section for 'man date' anyway.

See merge request !13
2016-02-28 13:57:00 +00:00
o9000
fcbc006e43 Use XDG paths in addition to the defaults when looking for icons and applications 2016-02-28 14:53:15 +01:00
o9000
edbf9f4437 tint2conf: Sort applications correctly when additional desktop files from non-standard locations are found in the config 2016-02-28 13:41:19 +01:00
o9000
e8eae27029 tint2conf: Prevent some icon theme duplicates due to symlinks 2016-02-28 13:23:54 +01:00
o9000
c4d1614cc3 tint2conf: Sort icon themes in list 2016-02-28 13:06:50 +01:00
Vladimir
8f40060583 Update ru.po
I've mentioned Format section for 'man date' anyway.
2016-02-28 11:45:33 +00:00
o9000
46e386a6f8 Change man strftime to man date (fixes issue #561) 2016-02-28 12:24:11 +01:00
o9000
805693f67f Updated desktop files 2016-02-28 12:17:28 +01:00
Vladimir
f72a7b88ce Separated Name and GenericName, used word "Configurator", added Comments, removed incorrect uk translation. 2016-02-27 19:34:01 +00:00
Vladimir
2f95d31092 Ru translation. 2016-02-27 19:17:06 +00:00
o9000
0a77293f7d Mouse effects: highlight clickable areas even when the mouse is on the panel border 2016-02-27 13:41:36 +01:00
o9000
1d28475a0c Style change for strnatcmp 2016-02-26 11:08:20 +01:00
o9000
7c70ae365e Remove unused code 2016-02-26 11:07:44 +01:00
o9000
6ce441ecf1 Compute task icon size correctly 2016-02-26 11:07:05 +01:00
o9000
995a257b2c Use standard macro to identify Linux (fixes build on powerpc) 2016-02-21 19:58:30 +01:00
o9000
e4ced531ad Create temporary file in /tmp 2016-02-12 13:04:06 +01:00
o9000
7bdae24ddf systray: removed dead code, renamed some variables, added more comments 2016-02-07 14:46:04 +01:00
o9000
85536065bc Fix regression in background rendering (issue #549) 2016-01-27 10:11:48 +01:00
o9000
b196bb1c00 Fix small memory leak in launcher 2016-01-26 20:30:57 +01:00
o9000
402713d4b1 Fix crash caused by race when reading _NET_CURRENT_DESKTOP and _NET_NUMBER_OF_DESKTOPS 2016-01-26 20:30:31 +01:00
o9000
f0de284dd9 Fix regression (all desktop tasks not working) 2016-01-26 20:28:23 +01:00
o9000
a8e7f4137a Fix crash on 32-bit 2016-01-25 18:26:17 +01:00
o9000
27715a5dbb Fix build on slackware 2016-01-25 18:25:59 +01:00
o9000
7d0b0b85bc Check that the window desktop index is in the valid range 2016-01-24 22:45:34 +01:00
o9000
ec7e9e18ad Move terminal color reset code to the same line (issue #545) 2016-01-24 20:08:52 +01:00
o9000
5966b198b6 Executor: send click coordinates via environment variables 2016-01-24 15:12:00 +01:00
o9000
418119a1ab Refactor a bit the last change 2016-01-24 13:59:37 +01:00
o9000
1ecfdf5289 Fix bad clear of panel pixmap when display compositing is disabled 2016-01-24 13:39:52 +01:00
o9000
81e21a8277 Log info about why a panel restart was triggered 2016-01-23 13:22:17 +01:00
o9000
011acc270a Updated French translation (issue #526, thanks @melodie @wagmic) 2016-01-23 13:21:47 +01:00
o9000
d7deafb1b9 Updated French translation (issue #526) 2016-01-17 15:48:42 +01:00
o9000
6ec48de43f Updated French translation 2016-01-17 14:13:38 +01:00
o9000
471ebafaa6 Updated po files 2016-01-17 13:38:10 +01:00
o9000
78fb4f5254 Fix compiz support with multiple desktops and monitors (issue #94) 2016-01-16 12:09:05 +01:00
o9000
285a53e1a3 Add SA_RESTART to sigaction 2016-01-15 09:28:31 +01:00
o9000
c806b868f0 tint2conf: Make window wider 2016-01-13 11:59:24 +01:00
o9000
9a52416b34 Fix bad read of font setting 2016-01-13 03:02:53 +01:00
o9000
23e740c7f1 Fix compiz support with multiple desktops and monitors 2016-01-10 16:38:14 +01:00
o9000
10ca7f0762 Limit tooltip width 2016-01-10 15:28:00 +01:00
o9000
ac5aefb52b New config option: taskbar_always_show_all_desktop_tasks (fixes issue #279) 2016-01-10 14:40:24 +01:00
o9000
6ae4c0a9a8 tint2conf: leave font setting to default if not set 2016-01-10 14:01:08 +01:00
o9000
af1fe52725 Set desktop name font to bold in tint2conf 2016-01-10 12:59:51 +01:00
o9000
11b285d045 Taskbar: code cleanup (rename task_group -> task_buttons) 2016-01-09 14:07:44 +01:00
o9000
650806525a Taskbar: code cleanup 2016-01-08 23:53:44 +01:00
o9000
92bd9e9184 Taskbar: code cleanup 2016-01-08 23:43:53 +01:00
o9000
d08606dc93 Allow user to disable mouse effects (workaround for issue #542 no longer needed) 2016-01-08 23:02:20 +01:00
o9000
5450f89612 Remove double pixmap caching, it is crazy (see issue #542) 2016-01-08 22:57:32 +01:00
o9000
dbf065ab12 Always enable mouse effects (workaround for issue #542) 2016-01-07 19:38:23 +01:00
o9000
228d20a72c Systray: handle changing icon names and reorder if necessary 2016-01-07 12:50:54 +01:00
o9000
29a34083c9 Remove the sleep at startup since it has side effects and is a poor solution anyways 2016-01-07 12:11:09 +01:00
o9000
3994ddf1b4 Disable copying of sample themes to ~/.config 2016-01-05 23:53:51 +01:00
o9000
5835eb6f57 Always sleep 1s at startup to let the compositor start first 2016-01-05 01:36:57 +01:00
o9000
88e1d56a98 Reorder some statements 2016-01-05 01:33:27 +01:00
o9000
1ae20fa3eb Move backtrace generation behind cmake flag 2016-01-05 01:28:12 +01:00
o9000
84df026878 Do not restart on crash, it cannot be done reliably from a single process; use instead "while true ; do tint2 ; sleep 1; done" 2016-01-05 01:06:40 +01:00
o9000
b8a7304f4b Cleanup restart code 2016-01-05 00:18:05 +01:00
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
Sebastian Reichel
66acd8ed38 Add battery Mains/AC support for Linux
Add initial support for mains/ac adapters. This adds the
state only to the tooltip, but the code has been prepared
to update AC state together with normal battery updates,
so that it's possible to forward the state to the normal
panel area or trigger something on AC (dis)connection.
2015-08-07 04:35:33 +02:00
Sebastian Reichel
d1c22762c4 battery: move percentage calculation to linux code
Only Linux provides detailed energy statistics. The BSDs directly
provide percentage values. This change makes it easier to split
out the BSD code and reduces code overhead on BSD systems.
2015-08-07 04:35:24 +02:00
Sebastian Reichel
441c420773 Remove static clock tooltip buffer
Use GLib's GDateTime to generate the tooltip, so that a
correctly sized string is automatically created.
2015-08-07 02:32:18 +02:00
Sebastian Reichel
edad9bb7f5 Fix memory leak for battery tooltips
Instead of returning a const string, that is fed into strdup, tooltip
functions are now supposed to return allocated strings. This fixes a
memory leak in the battery tooltip.

This is used instead of simply freeing the memory in the battery
tooltip function, since it also avoids a uselesss strdup().
2015-08-07 02:09:53 +02:00
o9000
aa47642161 Merge branch 'multi-battery-support' into 'master'
Multi battery support

Hi ,

I have a couple of patches for the battery widget
making it actually useful on my ThinkPad X250.

-- Sebastian

See merge request !6
2015-08-06 20:38:29 +00:00
Sebastian Reichel
57c38c462c Add support for battery tooltip option in tint2conf 2015-08-06 22:01:02 +02:00
Sebastian Reichel
995ae3c72b fix battery option parsing
Fix copy&paste mistake, battery should be enabled
for obsolete "battery" option instead of obsolete
"systray" option.
2015-08-06 22:01:02 +02:00
Sebastian Reichel
9df55d5ef7 Update copyright info in battery files 2015-08-06 22:01:02 +02:00
Sebastian Reichel
ffd659208a Add battery tooltip support
This adds a new config option 'battery_tooltip' (enabled
by default), which can be used to enable a tooltip for
the battery widget providing details for all installed
batteries.
2015-08-06 22:01:02 +02:00
o9000
a8e1c9d3aa tint2conf: Fix read of panel_monitor (issue #520) 2015-08-05 22:55:16 +02:00
Sebastian Reichel
291be57cde reset color after systray existing message
Currently all messages following the "another systray is running"
message are also printed in red. Fix this by reseting the color
at the end of the message.
2015-08-05 02:42:15 +02:00
Sebastian Reichel
ae375ae526 Split out Linux battery implementation and support multiple batteries
Some notebooks, like the ThinkPad X240 and X250 have two batteries
installed. So far only one of the batteries have been checked by
the tint2 widget making it more or less useless on those systems.

After this patch tint2 will aggregate the data from all batteries
instead.
2015-08-05 02:07:31 +02:00
o9000
84f9f6d0cd Systray: do not move empty icons to the side, as it breaks GTK2 StatusIcon blinking (issue #515) 2015-08-03 19:40:35 +02:00
o9000
ed24d0bd4c Fix command line argument processing (issue #516) 2015-08-03 18:34:12 +02:00
o9000
8eca71ac95 Remove parameter from tooltip_trigger_hide() (issue #516) 2015-08-03 18:20:16 +02:00
o9000
e345c0ddcd tint2conf: Add more mouse events for clock and battery (issue #505) 2015-08-01 09:31:11 +02:00
o9000
c874e76343 Merge branch 'moreclicks' into 'master'
Moreclicks

The two commits in this merge request would allow the user to set up as many as eight extra custom actions via tint2rc.

I've been running these changes (minus the up/down wheel actions) for many months without any obvious issues, mainly to adjust laptop screen brightness via a couple of scripts.

I've just tested the wheel actions and they appeared to work fine. The clock commit should solve issue #505.

I have merely augmented the work of two other people, and appropriate credits/references are indicated in the individual commit messages.

See merge request !5
2015-08-01 07:02:51 +00:00
o9000
687f5f2a1b Systray: use correct pointer type in xembed detection (note: dead code) 2015-08-01 08:45:20 +02:00
o9000
c7aa70f078 Systray: remove SubstructureNotifyMask from XSelectInput 2015-08-01 08:40:56 +02:00
o9000
690fe3f4d8 Systray: remove debugging messages 2015-08-01 08:39:51 +02:00
o9000
e5cd73f4a7 Add debugging function for showing monitor geometry 2015-08-01 08:25:36 +02:00
o9000
7ffc220891 Taskbar: Use consistent behavior when showing/hiding sticky (all desktop) windows 2015-08-01 08:22:08 +02:00
o9000
2799fe9346 Taskbar: better task monitor detection (issue #511) 2015-08-01 00:21:25 +02:00
o9000
e2023b7172 systray: Revert break embedding into 2 steps (breaks transparency for Qt icons) 2015-07-31 10:04:41 +02:00
o9000
9224971407 systray: Proper resize redirect handling 2015-07-31 09:58:17 +02:00
o9000
d492f80468 systray: Redirect resize events 2015-07-31 09:31:03 +02:00
o9000
78bc330448 systray: Break embedding into 2 steps 2015-07-30 23:54:46 +02:00
o9000
4e3989f9f5 Revert "taskbar: Add logging for window_get_monitor()"
This reverts commit 7162c5dea1.
2015-07-30 22:56:01 +02:00
o9000
9624b5d558 Revert "taskbar: Add logging for event_configure_notify()"
This reverts commit b99c5c204b.
2015-07-30 22:55:47 +02:00
o9000
754d9187df systray: Revert change that removed XSyncs 2015-07-27 09:47:00 +02:00
o9000
b99c5c204b taskbar: Add logging for event_configure_notify() 2015-07-26 12:08:59 +02:00
o9000
7162c5dea1 taskbar: Add logging for window_get_monitor() 2015-07-26 11:51:39 +02:00
o9000
e3939a56e1 systray: Set _NET_SYSTEM_TRAY_ICON_SIZE 2015-07-26 11:23:27 +02:00
o9000
ceafe9b281 config: Add missing #if 2015-07-23 23:29:02 +02:00
o9000
263d1ab15f systray: Remove unused variable 2015-07-23 22:08:56 +02:00
o9000
e76202b355 Fix systray rendering when compositor off 2015-07-23 20:38:33 +02:00
o9000
f68eabcf35 config: Prevent segfault if panel_items appears late in the config file 2015-07-23 19:56:34 +02:00
o9000
e218b3fa96 systray: Prevent segfault if systray disabled 2015-07-23 19:38:26 +02:00
o9000
50e21b4077 systray: Trying some variations 2015-07-19 18:06:45 +02:00
o9000
b6a1a1c0f6 systray: Remove unneeded resize 2015-07-19 17:12:41 +02:00
o9000
15e12142ca Minor improvements 2015-07-19 17:10:53 +02:00
o9000
b8c1c29df2 systray: Throttle resize events for misbehaving applications 2015-07-19 16:49:05 +02:00
o9000
4a1880ead0 Move things around in the systray code 2015-07-19 16:12:02 +02:00
o9000
57b878d5e4 Remove debug line 2015-07-16 22:33:13 +02:00
o9000
46aab61bf6 Revert "systray: Process XEmbed events according to spec"
This reverts commit 227dc8e48a.
2015-07-16 22:25:18 +02:00
o9000
227dc8e48a systray: Process XEmbed events according to spec 2015-07-16 21:08:48 +02:00
o9000
68c3205b53 systray: Handle UnmapNotify correctly 2015-07-16 21:08:48 +02:00
o9000
61f0a4ec85 systray: remove icon when reparented away from us 2015-07-16 21:08:47 +02:00
o9000
c606a1a35a systray: Separate reparenting from embedding 2015-07-16 21:08:47 +02:00
o9000
9933399dc4 systray: Withdraw window before reparenting 2015-07-16 21:08:47 +02:00
o9000
5ce8023ef7 systray: Watch for window events before reparenting 2015-07-16 21:08:47 +02:00
o9000
6438c75faf systray: A bit of cleanup 2015-07-16 21:08:47 +02:00
o9000
712097ba45 systray: Make sure we redraw the panel when rendering icons 2015-07-16 14:01:57 +02:00
o9000
9a5cb749ed systray: Workaround for GTK icon resize loop issue 2015-07-16 13:12:42 +02:00
o9000
d730f23027 systray: Trigger icon resize only when necessary 2015-07-16 09:02:13 +02:00
o9000
9f161f2baf More logging 2015-07-16 08:53:25 +02:00
o9000
2570ae2cf6 systray: Resize icons only if necessary 2015-07-15 09:53:09 +02:00
o9000
8d5c2d8cbb tint: remove inner loop from the main event loop 2015-07-14 08:33:13 +02:00
berkley4
fd78e6d886 Allow clicking and mousewheeling on the battery panel
This commit is the same as vimishor's original [*] except that I have
added middle-click and up/down mousewheel actions. In order to fix a
ftbs I also added guards to panel.c, panel.h & tint.c

The following configuration settings have been created :-

battery_lclick_command
battery_mclick_command
battery_rclick_command
battery_uwheel_command
battery_dwheel_command

[*] c78732c46a
2015-07-13 04:57:16 +01:00
berkley4
e84d963ab6 Allow middle click & up/down mousewheel on the clock
The bulk of this commit originally came from David B. Cortarello's
patch (see here - https://gitlab.com/o9000/tint2/issues/430), with me
adding the up/down mousewheel elements.

Under Openbox the middle-click is normally used to display the Openbox
menu and the mousewheel to switch desktop. So I needed to modify tint.c
in order to prevent openbox intercepting the new actions.

This commit creates the following new configuration settings :-

clock_mclick_command
clock_uwheel_command
clock_dwheel_command
2015-07-13 04:10:45 +01:00
o9000
c4fbc2962e tint2conf: Fix bad read of panel_margin 2015-07-12 22:23:25 +02:00
o9000
50a07df5d2 Silence g_thread_init warning 2015-07-12 17:54:40 +02:00
o9000
f61f2af2f4 Updated string files for translations 2015-07-12 17:24:43 +02:00
o9000
90805cb526 tint2conf: Better theme management 2015-07-12 17:01:44 +02:00
o9000
04fe80b498 copy_file(): prevent truncating file if src == dest 2015-07-12 17:01:20 +02:00
o9000
efe9aadb39 Prevent race at startup in detecting screen resolution changes 2015-07-12 14:36:11 +02:00
Sebastiaan Lokhorst
043a0f7ab3 Update old Google Code URLs to new GitLab location. 2015-07-05 11:14:00 +02:00
o9000
574b6bc214 tint2conf: Fix typo to load desktop files from subdirectories 2015-07-04 18:41:04 +02:00
o9000
89e4a5a460 Fix crash in tint2conf (wrong string length in allocation) 2015-07-04 18:31:01 +02:00
o9000
2ebc75944e tint2conf: Sort launchers by name 2015-07-04 17:33:19 +02:00
o9000
9fd9d51010 Fix timer bug (again) 2015-07-04 16:47:29 +02:00
o9000
8242c969e3 Detect compositor at startup 2015-07-04 13:34:42 +02:00
o9000
7cd5c16fca Fix crash when calling stop_timeout from the callback of a repeated timer 2015-07-04 13:34:09 +02:00
o9000
290ddc1fea tint2conf: fix launcher_apps_dir 2015-07-04 08:39:46 +02:00
o9000
47a7013029 Remove noisy debug messages 2015-06-28 11:34:53 +02:00
o9000
a4de005a54 Add missing include 2015-06-26 23:46:43 +02:00
o9000
5abbf168a9 Cosmetic changes 2015-06-25 15:56:36 +02:00
o9000
4d69a0bc33 tint2: Do not rely only on select() to detect new X events, since we sync the socket in the system tray which messes up select 2015-06-25 15:36:47 +02:00
o9000
222eca4099 systray: (disable_transparency=1) detect empty icons whenever a new icon is added, from any process; clear icon area because some icons were failing to redraw 2015-06-21 15:23:55 +02:00
o9000
ea75558ac2 systray: reduce icon flicker by painting on buffer instead of directly on window 2015-06-21 15:00:01 +02:00
o9000
876cae8239 systray: fix black icon background for 32-bit icons when disable_transparency = 1; fix empty icon detection when disable_transparency = 1; fix icon blinking by delaying rendering less aggressively; removed XClearArea on traywin->win (triggers unnecessary redraws); cache icon names; profiling messages updated 2015-06-21 14:50:08 +02:00
o9000
7c3951e3a0 systray: Profiling code. Export environment variable SYSTRAY_PROFILING=1 when running tint2 to enable it 2015-06-19 10:46:29 +02:00
o9000
552f060612 Updated strings in pl.po 2015-06-15 19:27:05 +02:00
dglava
4326cd1380 tint2conf: added bs, hr and sr translations 2015-06-14 23:10:30 +02:00
o9000
19b40bc59e systray: Check icon position 2015-06-14 12:23:34 +02:00
o9000
8c9a9a111e systray: trigger resizes in some places 2015-06-14 11:39:51 +02:00
o9000
b13540123b systray: force a repaint on icon resize 2015-06-14 11:21:42 +02:00
o9000
f5b2de62b6 systray: reorder operations to prevent the long icon first show delay that occurs sometimes 2015-06-14 10:51:30 +02:00
o9000
1ba023fc83 Removed tintwizard.py as it no longer supports all config options 2015-06-14 10:06:33 +02:00
o9000
36e9e92df1 Changed tintwizard #! to python 2 (note that tintwizard is obsolete) 2015-06-13 10:54:28 +00:00
o9000
cae621918e systray: Do not turn off compositing for missing window errors 2015-06-13 11:32:22 +02:00
o9000
f28983e5a7 systray: Use different X connection for XGetImage (fixes crash on ATI cards) 2015-06-12 21:28:58 +02:00
o9000
b35cdb70df systray: Detect window resizez during composited rendering to prevent crashes 2015-06-12 21:13:20 +02:00
o9000
80361a121e Better error handling in systray rendering and fall back to non-composited rendering in case of errors 2015-06-12 12:24:19 +02:00
o9000
b4ff007e42 systray: reorder some operations to make sure we resize correctly 2015-06-12 11:57:05 +02:00
o9000
ae379d865c systray: fix bad embed 2015-06-12 11:40:22 +02:00
o9000
0a3876dc8c systray: prevent race in error detection 2015-06-12 11:39:36 +02:00
o9000
e2d95acfa1 Add missing files for freespace 2015-06-12 10:41:51 +02:00
o9000
5ac1a6a653 systray: resize icon when reparenting 2015-06-12 09:44:13 +02:00
o9000
481c409617 Fix bad interaction between freespace and systray 2015-06-12 02:09:43 +02:00
o9000
e8869b4d87 systray: Minor change in error logging 2015-06-12 01:43:39 +02:00
o9000
b1b95e086d Free space item 2015-06-12 01:42:00 +02:00
o9000
df1f2d4e4b Merge taskbar_alignment from branch 2015-06-12 00:52:10 +02:00
o9000
860c100a04 launcher: sort desktop files by name in launcher_apps_dir 2015-06-07 13:03:49 +02:00
o9000
9040764cf1 systray: Cleaned up the code a bit 2015-06-07 12:58:29 +02:00
o9000
d8d4bc76cd systray: Delay reparenting to the first render to prevent graphical corruptions 2015-06-07 12:45:48 +02:00
o9000
fbcfa54061 Disable systray composited rendering if disable_transparency = 1 2015-06-07 11:44:43 +02:00
o9000
b235f77f39 systray: Prevent triggering concurrent updates for the same icon 2015-05-30 14:22:40 +02:00
o9000
1b4b0a8d8d systray: Delay icon rendering only when throttling is necessary 2015-05-30 13:41:29 +02:00
o9000
7ea0dc241c systray: Sort icons in the correct order when an icon is empty and order is right2left 2015-05-30 13:33:44 +02:00
o9000
39e67df44d Revert "systray: Sort icons in the correct order when an icon is empty and order is right2left"
This reverts commit cb17e5a662.
2015-05-30 13:23:20 +02:00
o9000
cb17e5a662 systray: Sort icons in the correct order when an icon is empty and order is right2left 2015-05-30 13:03:42 +02:00
Daniel Napora
7e2e1d5adf Polish translations for desktop files 2015-05-28 21:48:06 +02:00
Daniel Napora
d839d80c2e Polish translation 2015-05-28 21:02:31 +02:00
o9000
06dfcf70be Updated localization file with new strings 2015-05-21 12:44:41 +02:00
o9000
44785a49da Updated tint2conf for localization 2015-05-21 12:34:52 +02:00
o9000
e20448d6b5 Annotate strings for translation 2015-05-21 10:57:50 +02:00
o9000
6014b51850 Better error handling in systray icon rendering 2015-05-20 15:42:27 +02:00
o9000
5acda6a0c0 Silence warning 2015-05-15 08:39:12 +02:00
o9000
66c98bc820 Fix bad include 2015-05-14 19:19:42 +00:00
o9000
a4894b8257 Workaround for empty systray icon in Google Chrome (misbehaving) - fix resize 2015-05-13 22:58:58 +02:00
o9000
b7dbb919a9 Merge branch 'title-race' 2015-05-13 22:41:52 +02:00
o9000
a08491c122 Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting 2015-05-13 21:17:02 +02:00
o9000
8795f50bb8 Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting 2015-05-13 21:02:40 +02:00
o9000
3ab42f9b72 Workaround for empty systray icon in Google Chrome (misbehaving) 2015-05-11 21:19:36 +02:00
o9000
7bce19452e Reduce memory footprint 2015-05-10 12:43:58 +02:00
o9000
1ff028e99f Fix some battery issues when unplugging/replugging 2015-05-08 23:35:44 +02:00
o9000
5450dcca0b Attempt to fix new window title race in fvwm 2015-05-08 21:49:26 +02:00
o9000
d2ee0a481f Adding missing icons 2015-05-05 11:18:55 +02:00
o9000
1d95e01882 tint2conf: Updated tooltips 2015-05-03 22:30:10 +02:00
o9000
ebc356d1c7 Updated tint2rc file header with link to docs 2015-05-03 20:01:58 +00:00
o9000
60f01f7fff Updated icons and desktop files 2015-05-03 19:17:24 +02:00
o9000
1d02b8588b Fix icon loading with wrong image extension 2015-05-03 16:22:23 +02:00
o9000
e7c3f99e28 Attempt to fix icon rendering problems 2015-05-03 15:36:42 +02:00
o9000
a9330b424b launcher: New option launcher_icon_theme_override to preserve legacy behavior 2015-05-03 10:05:36 +02:00
o9000
b9508450b7 panel: Use WINDOW_TYPE_SPLASH instead of DOCK if panel_layer=normal and panel_dock=0 otherwise it is impossible to get normal stacking 2015-05-03 09:27:52 +02:00
o9000
7384fd8270 Battery: fixes for FreeBSD 2015-05-03 08:52:39 +02:00
o9000
7ea2452ae4 tint2conf: fixes for *BSD 2015-05-02 22:24:15 +02:00
o9000
193b3b5a81 Fix build on Debian Jessie 2015-04-27 19:16:21 +02:00
o9000
bd9e12b993 Wrap text at word boundaries 2015-04-26 16:33:07 +02:00
o9000
78595a3d1f Renamed notification area -> system tray for consistency 2015-04-26 15:37:25 +02:00
o9000
95fa0bbf83 tint2 & tint2conf: Use spacing in task_padding 2015-04-26 15:16:24 +02:00
o9000
e6612d2893 tint2conf: Multiple fixes 2015-04-26 14:42:20 +02:00
o9000
298f60f1b0 tint2conf: Fix taskbar_sort_order, taskbar_name_padding 2015-04-26 13:49:41 +02:00
o9000
7794272f8e tint2conf: Fix background index mess 2015-04-26 13:25:28 +02:00
o9000
89e2057a8e tint2conf: Checksum files to identify and back up manually edited configs 2015-04-25 21:38:55 +02:00
o9000
2ecb1c4ef4 config: Do not treat invalid task status values as defaults 2015-04-25 16:37:23 +02:00
o9000
dff7355f3b tint2conf: load old config files better 2015-04-25 16:14:32 +02:00
o9000
233157930b tint2conf: cleanup GUI 2015-04-25 15:45:15 +02:00
o9000
ae76f82ee0 tint2conf: Tooltips 2015-04-25 13:03:55 +02:00
o9000
60b56599cb tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@767 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:30:30 +00:00
o9000
b4f15db397 Use font shadows for all elements except tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@766 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:22:07 +00:00
o9000
6ba25fa945 tint2conf: backup config when writing
git-svn-id: http://tint2.googlecode.com/svn/trunk@765 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 12:53:14 +00:00
o9000
aa9e1afdf2 tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@764 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 12:46:39 +00:00
o9000
167bb31084 tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@763 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 11:55:02 +00:00
o9000
b9f8bf30f7 Remove fflush
git-svn-id: http://tint2.googlecode.com/svn/trunk@762 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:32:34 +00:00
o9000
64c1fc03f9 Print error message for invalid action name in get_action()
git-svn-id: http://tint2.googlecode.com/svn/trunk@761 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:32:03 +00:00
o9000
b78c854700 Flush stdout/stderr after newline
git-svn-id: http://tint2.googlecode.com/svn/trunk@760 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:31:28 +00:00
o9000
66cae4bb7c Fix dangling pointers causing erratic timer behaviour (affects taskbar with spacing); use calloc instead of malloc for safer initializations
git-svn-id: http://tint2.googlecode.com/svn/trunk@758 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:17:25 +00:00
o9000
45d6463315 Revert r751 and add workaround for systray rendering artifacts
git-svn-id: http://tint2.googlecode.com/svn/trunk@755 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-13 20:18:28 +00:00
o9000
7d70189bee Minor improvements to taskbar_sort_order = center (issue 478)
git-svn-id: http://tint2.googlecode.com/svn/trunk@752 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 20:02:58 +00:00
o9000
eb1244a415 Simplify systray icon management (attempt to fix issue 480)
git-svn-id: http://tint2.googlecode.com/svn/trunk@751 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 17:35:54 +00:00
o9000
e49e05ad69 Fix task visilibility problem, issue 481
git-svn-id: http://tint2.googlecode.com/svn/trunk@750 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 16:02:03 +00:00
o9000
75f8a07ca4 Position tooltips correctly on first show
git-svn-id: http://tint2.googlecode.com/svn/trunk@749 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-11 11:46:03 +00:00
o9000
af003d0e19 Memory management review: match char-malloc/strdup-free, gchar-g_str*/g_free; set pointers to null after free; initialize fonts/backgrounds correctly when missing from config
git-svn-id: http://tint2.googlecode.com/svn/trunk@748 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-11 09:51:10 +00:00
o9000
321ccc0794 Fix no handling of battery removal
git-svn-id: http://tint2.googlecode.com/svn/trunk@747 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-09 09:24:25 +00:00
o9000
cab31cb726 Fix battery error handling
git-svn-id: http://tint2.googlecode.com/svn/trunk@746 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-09 09:11:57 +00:00
o9000
40d8d05be7 Reverted systray icon rendering to fix issue 479
git-svn-id: http://tint2.googlecode.com/svn/trunk@745 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:45:15 +00:00
o9000
e539c6536f Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
67d5bfcfce Sort tasks on taskbar: handle task drag and drop (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@742 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:15:30 +00:00
o9000
82fe74743c Sort tasks on taskbar: use panel orientation (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@741 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:10:23 +00:00