Commit graph

1229 commits

Author SHA1 Message Date
o9000
1ff3404e56 Update periodic testing scripts 2017-11-05 19:51:09 +01:00
o9000
23ddb47e0c Reset signal mask at startup 2017-10-15 13:07:12 +02:00
o9000
407aef3786 Reset signal mask before executing commands (issue #674) 2017-10-15 13:00:18 +02:00
o9000
031bd23849 Print tint2: before geometry dumps 2017-10-01 18:33:53 +02:00
o9000
7e2dc91ce7 Silence warning 2017-10-01 14:04:34 +02:00
fafryd
9aa50104db Fix warning ISO C does not support __FUNCTION__
"warning: ISO C does not support ‘__FUNCTION__’ predefined identifier"

Among others -Wpedantic now warns about non-standard predefined identifiers.
The fix is either to use the standard predefined identifier __func__ (since C99),
or to use the __extension__ keyword.
2017-10-01 09:37:05 +02:00
o9000
e38ccf5376 Remember window order on panel restart (issue #615) 2017-09-28 12:26:46 +02:00
o9000
b8675fa208 Compute text size correctly (issue #671) 2017-09-28 11:23:31 +02:00
o9000
c21930de2b Battery: check that data files are readable and non-empty 2017-09-17 14:26:29 +02:00
o9000
fc61676732 Battery: Do not show time remaining if rate is zero 2017-09-17 14:09:48 +02:00
o9000
3de424b129 Allow batteries that do not provide the charging rate 2017-09-17 14:04:03 +02:00
o9000
86d6e96f7a Fix build on various architectures 2017-09-08 17:37:40 +02:00
o9000
87e1ccc6bf Fix build on various architectures 2017-09-08 17:37:01 +02:00
o9000
aa355e22f9 Fix build on various architectures 2017-09-08 17:04:10 +02:00
o9000
d21f758158 Fix build on various architectures 2017-09-08 16:35:24 +02:00
o9000
f2741116a7 Fix build on non-x86 architectures 2017-09-05 19:11:13 +02:00
o9000
d49adfdef3 Launcher: Support %f and %F 2017-09-02 13:04:01 +02:00
o9000
498b665c8a Launcher: Fix drag and drop 2017-09-02 12:39:40 +02:00
o9000
14c3824632 Launcher: Add support for Terminal=true 2017-09-02 10:53:20 +02:00
o9000
eb93af3622 preprent "tint2:" to all logging messages 2017-09-01 18:23:46 +02:00
o9000
b7691afb8d Print logging output consistently to stderr 2017-09-01 18:11:35 +02:00
o9000
61c61c8844 Warn on primary_monitor_first 2017-09-01 18:06:56 +02:00
o9000
120207f1f9 Fix regression in cli handling 2017-09-01 18:02:35 +02:00
o9000
ceb6a44238 Launcher: fix layout on vertical panels 2017-09-01 11:34:57 +02:00
o9000
6a1b2f0610 Icon lookup: allow debugging enabled by env variable 2017-09-01 11:34:28 +02:00
o9000
95d4d90efd Button: fix parsing of empty config options 2017-09-01 11:32:44 +02:00
o9000
6605a1c3c2 Tracing support 2017-08-31 21:46:04 +02:00
o9000
0c754affd9 Refactoring 2017-08-31 18:55:22 +02:00
o9000
1e45abe988 Refactoring 2017-08-31 18:38:31 +02:00
o9000
6852e25372 Refactoring 2017-08-31 16:42:05 +02:00
o9000
2d67984536 Revert to the old autohide style (issues #640, #657) 2017-08-25 17:16:41 +02:00
o9000
e042bc3a17 Fix memory leak in icon themes (possibly related to issue #650) 2017-08-25 16:51:56 +02:00
o9000
297e2a13a2 Refresh clock text immediately if empty (issue #659, regression) 2017-08-25 16:31:49 +02:00
o9000
4df8f475ce Fix resizing of text elements (issue #661) 2017-08-24 23:57:48 +02:00
o9000
8e50c20c9d Reinitialize timers correctly when created from their own callbacks 2017-08-21 14:26:20 +02:00
o9000
e9adb18d58 Merge branch 'aaaz/tint2-master' 2017-08-21 13:49:56 +02:00
o9000
f5f8423364 panel: Set _NET_WM_PID (fixes issue #651) 2017-07-22 09:22:27 +02:00
o9000
00a5f72857 Create dirs with parents 2017-07-21 12:03:49 +02:00
o9000
f4ec61340f Fix fd leak to children 2017-07-16 10:14:40 +02:00
o9000
a46d22b31f Fix minor memory leak 2017-07-16 09:57:59 +02:00
o9000
7ad8bbe6e7 Fix minor memory leak 2017-07-16 09:50:53 +02:00
aaaz
fcbdd00bce update clock at the beginning of seconds 2017-07-08 16:24:45 -05:00
o9000
491a56db10 Clock: Update correctly after suspend 2017-07-02 23:19:24 +02:00
o9000
cbe31981b3 Executor: fallback to old style tooltips if stderr is empty 2017-06-27 12:42:51 +02:00
o9000
b931066573 Executor: truncate very long tooltips 2017-06-27 12:27:50 +02:00
o9000
f45e107207 Executor: if no user tooltip is set, display stderr output 2017-06-27 12:24:52 +02:00
o9000
4b9ee685ac Update timers correctly after suspend 2017-06-27 00:53:17 +02:00
o9000
c8ccf053ff tint2conf: fix segfault in corner case 2017-06-26 11:08:31 +02:00
o9000
51bc9d1569 Updated translation files 2017-06-22 22:11:06 +02:00
o9000
521ffbfaaf Remove primary_monitor_first and add primary as a possible monitor value (issue #614) 2017-06-22 19:57:23 +02:00
o9000
cd33e5b274 Battery: better Unknown state handling 2017-06-22 19:03:05 +02:00
o9000
201ea843a0 Battery: new config option battery_full_cmd (fixes issue #585) 2017-06-20 20:38:26 +02:00
o9000
dee210ceec Updated French translation 2017-06-20 20:25:07 +02:00
o9000
ea0e52c5a2 Battery format fixes 2017-06-20 18:58:22 +02:00
o9000
b5578ff5bc battery: Do not redefine strncat with different semantics 2017-06-20 16:18:28 +02:00
o9000
f9ad3cb029 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 13:15:41 +02:00
o9000
30c24c59ed Hide executor if output is empty (issue #648) 2017-06-20 13:01:09 +02:00
o9000
6f05c9d327 Hide executor if output is empty (issue #648) 2017-06-20 12:57:35 +02:00
o9000
30429b88b3 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 12:36:04 +02:00
o9000
394be61a65 Collapse executor if output is empty (fixes issue #648) 2017-06-20 11:38:37 +02:00
o9000
d55f6d7baa taskbar_hide_different_desktop 2017-06-20 05:06:37 +02:00
o9000
7c87ab88bc Reexecute on SIGUSR2 2017-06-05 16:56:40 +02:00
o9000
948bf10bad Refactor text rendering 2017-06-05 16:12:51 +02:00
o9000
59c3761455 Refactor text rendering 2017-06-05 16:12:51 +02:00
o9000
b50f5ecf3e executor: do not output last line if it is not terminated by newline 2017-06-02 20:10:41 +02:00
o9000
85e1a356fe Fix incorrect config warning 2017-05-31 23:06:47 +02:00
o9000
5da4c1653a Clock: take into account borders and padding when computing size 2017-05-29 23:57:38 +02:00
o9000
64edd55add Task: take into account border width when computing text height 2017-05-28 14:46:50 +02:00
o9000
bd28ee77d9 Fix task icon size limits (https://forums.bunsenlabs.org/viewtopic.php?pid=51884) 2017-05-24 21:07:47 +02:00
o9000
f8dde00a33 Do not pollute command line of executed processes 2017-05-20 14:48:25 +02:00
o9000
380f260027 Fix some memory leaks (issue #641) 2017-04-30 20:49:08 +02:00
o9000
067234e9fb Unify code used to execute external programs 2017-04-29 13:42:37 +02:00
o9000
e32d2342a6 Fix regression in executor (issue #639) 2017-04-27 21:57:45 +02:00
o9000
82776df9d6 Fix crash when _NET_WM_ICON is set but empty 2017-04-27 09:04:16 +02:00
o9000
91f7384fd2 Fix compilation under ubunt 12.04 2017-04-22 22:21:13 +02:00
o9000
ae60e8f1e7 Use c99 to fix compilation on old distributions 2017-04-22 22:14:00 +02:00
o9000
49b41667ad tint2conf: Add mime type and full support for editing by path 2017-04-22 19:31:59 +02:00
o9000
701b57e113 Open current tint2 config automatically when started from tint2 2017-04-22 19:07:49 +02:00
o9000
affac4cfa6 Changed indentation everywhere 2017-04-13 14:07:23 +02:00
o9000
8f67884119 Turn off debugging output 2017-04-08 14:12:02 +02:00
o9000
0932cc1084 Change _NET_WM_ICON_GEOMETRY on panel shrink (issue #634) 2017-04-08 14:10:39 +02:00
o9000
e7375a186f Fix startup notification issue 2017-04-08 14:10:09 +02:00
o9000
8917a4d15b Remove _NET_WM_ICON_GEOMETRY for hidden task buttons (issue #634) 2017-04-08 13:50:49 +02:00
o9000
87ca207107 Button: prefix environment variables 2017-04-05 20:26:57 +02:00
o9000
982767ce2e Buttons: export alignment variables for menu 2017-04-02 11:18:17 +02:00
o9000
fc5385aa38 Buttons: export alignment variables for menu 2017-04-02 10:09:24 +02:00
o9000
39480f48ac Buttons: export alignment variables for menu 2017-04-01 14:04:08 +02:00
o9000
1c1ba904a4 Update doc 2017-03-26 22:04:35 +02:00
o9000
b9ab0ae58e tint2conf: Fix bad code when compiling with clang 2017-03-26 15:47:16 +02:00
o9000
2c90c5640e tint2conf: Fix bad code when compiling with clang 2017-03-26 15:46:10 +02:00
o9000
0fc22b5cd6 Button: svg icon support 2017-03-26 10:39:02 +02:00
o9000
a2c5553f4f Button: make sure icon is optional 2017-03-25 15:50:32 +01:00
o9000
63dd4a3e6c Button: make sure icon is optional 2017-03-25 15:48:03 +01:00
o9000
a7fc86cfbb tint2conf: Fixes for buttons 2017-03-25 15:45:10 +01:00
o9000
54d361cf42 Button: mouse effects 2017-03-25 15:23:06 +01:00
o9000
153de1aa45 Button: bugfix 2017-03-25 15:19:57 +01:00
o9000
fc883a5dd8 Button: maximum icon size option 2017-03-25 14:53:21 +01:00
o9000
dfd735956c tint2conf: Update fr.po 2017-03-25 14:42:06 +01:00
o9000
a77b728110 tint2conf: Update po 2017-03-25 14:38:24 +01:00
o9000
5cfffd7c8e tint2conf: Update pot 2017-03-25 14:38:04 +01:00
o9000
a73c6928c3 tint2conf: Buttons 2017-03-25 14:36:40 +01:00
o9000
d5dfda296f Buttons 2017-03-25 14:17:27 +01:00
o9000
bfe4873204 Fix regression (bad merge in commit 61a80b9) 2017-03-22 17:58:06 +01:00
o9000
acd1ed5768 tint2conf: Do not search for icons in all icon themes (issue #563) 2017-03-20 18:06:49 +01:00
Vladimir
b25ad07c30 wording tweak 2017-03-20 14:57:37 +00:00
Vladimir
ffcd53e989 Update ru.po 2017-03-20 14:51:23 +00:00
o9000
4ee2f4e7de Fix compilation under FreeBSD 2017-03-18 23:06:52 +01:00
o9000
639ccbf16c Allow long lines in tint2conf 2017-03-12 17:41:26 +01:00
o9000
aee90e5b99 create .config dir if it does not exist (issue #629) 2017-03-10 21:37:59 +01:00
o9000
5fab41887a create .config dir if it does not exist (issue #629) 2017-03-10 17:15:51 +01:00
o9000
d758fd167c Distribute size between taskbars correctly (issue #628) 2017-03-07 13:20:50 +01:00
o9000
0f96cb66f1 Distribute size between taskbars correctly (issue #628) 2017-03-07 09:06:50 +01:00
o9000
3baa3d38a3 Generate default config file instead of empty file when tint2 has not been installed properly 2017-03-05 14:50:28 +01:00
o9000
4a5f0a7d83 Get rid of GNU_SOURCE (issue #625) 2017-03-05 11:38:04 +01:00
o9000
3c9642c5fc tint2conf: force refresh fix 2017-03-04 22:36:51 +01:00
o9000
e833b27533 tint2conf: disable buttons for gradient/background 0 2017-03-04 22:14:23 +01:00
o9000
d17b2d8015 tint2conf: Load specific files (#612) 2017-03-04 16:14:01 +01:00
o9000
51211fa626 Systray: new config option systray_name_filter 2017-03-04 15:50:09 +01:00
o9000
1fc417e24e Merge branch 'master' into 'master'
Add systray_hide_by_icon_name Exact Match, Deliminator ','

See merge request !24
2017-03-04 14:26:23 +00:00
o9000
de982b9ada tint2conf: Speed up load 2017-03-04 15:10:44 +01:00
o9000
6931a37e95 Updated pot and French translation 2017-03-04 14:17:56 +01:00
o9000
a4ed5c6e38 Tint2conf: gradientcolor stops 2017-03-04 14:06:41 +01:00
o9000
b94cb3eb7e Tint2conf: more gradient support 2017-03-04 12:25:10 +01:00
o9000
8ec7f2dd9c Draw panel before systray to reduce flicker 2017-03-04 12:25:10 +01:00
o9000
330f1093bb Proper glib version check 2017-03-04 12:25:10 +01:00
o9000
8e8046af6d Print warning in case of empty pixmap in area 2017-03-04 12:25:10 +01:00
o9000
94e2b5edb1 Fix double free in separator 2017-03-04 12:25:10 +01:00
o9000
c2d6faabc7 Enable clock timer only when clock is used 2017-03-04 12:25:10 +01:00
o9000
d7f294d7c2 Refactor panel refresh; new debug option debug_frames 2017-03-04 12:25:10 +01:00
o9000
4c45538f6e tint2conf: gradient config: do not add gradient 0 when missing 2017-02-26 17:01:46 +01:00
o9000
e3e81505b9 tint2conf: gradient config 2017-02-26 15:49:57 +01:00
o9000
d2c36cb85a tint2conf: Revert obsolete gradient config 2017-02-26 11:58:00 +01:00
o9000
207129447d Allow a single gradient per bg/state 2017-02-19 19:33:45 +01:00
o9000
7c0df616b9 Move gradients into backgrounds 2017-02-19 19:06:39 +01:00
iflyun@gmail.com
5e9791079d systray_hide_by_icon_name if equal to 0 do nothing 2017-02-12 13:59:07 -08:00
iflyun@gmail.com
4c103423ba Add systray_hide_by_icon_name Exact Match, Deliminator ',' 2017-02-12 12:56:09 -08:00
o9000
f438ef712b Ignore monitors with size 0 2017-01-21 10:27:27 +01:00
o9000
0392c34e71 Do not run gtk-update-icon-cache at make install (breaks packaging; issue #620) 2017-01-14 18:40:48 +01:00
o9000
5041f74aad Merge branch 'installdirs' into 'master'
Allow docdir to be defined at build-time

See merge request !22
2017-01-14 17:22:07 +00:00
o9000
6f58ea9e21 Merge branch 'conficon' into 'master'
tint2conf: Fix window and about icons

See merge request !21
2017-01-14 17:14:09 +00:00
Chris Mayo
b0cfb4e933 Allow docdir to be defined at build-time
- Simplify by using GNUInstallDirs module
- Move html documentation into an html subdirectory
2017-01-14 16:16:20 +00:00
Chris Mayo
290ab2dfed tint2conf: Fix window and about icons 2017-01-14 15:43:34 +00:00
o9000
21326dca12 Panel: do not change struts (available screen size) when shown in autohide mode (issue #619) 2017-01-13 11:42:21 +01:00
o9000
fca752849b Battery: fix issue #616 2016-12-28 19:13:54 +01:00
o9000
8f2a28f56d launcher: Redraw icons properly on icon theme change 2016-12-24 09:13:57 +01:00
o9000
17beb40283 Handle primary_monitor_first correctly at startup (issue #613) 2016-12-18 11:34:29 +01:00
o9000
cd76bd311d Support for Path in .desktop files (fixes issue #611) 2016-12-04 17:39:34 +01:00
Mike Messmore
d21507cd4b Add support for Path in .desktop files 2016-11-30 21:21:18 -06:00
napcok
ef4cc5ea56 polish translation update 2016-11-16 16:37:14 +01:00
napcok
30469d37f0 polish translation update 2016-11-16 16:16:28 +01:00
o9000
07ef35aa4a tint2conf: Fix typo in reading panel_shrink 2016-10-25 10:23:09 +02:00
o9000
040f6479bf Fix regression in resizing logic (taskbar_distribute_size now works correctly when the taskbar is completely empty) 2016-10-25 09:47:51 +02:00
o9000
ce0acdbd5b Destroy taskbar name after destroying tasks 2016-10-09 16:36:45 +02:00
o9000
1d15c41c1b Fix resizing logic (taskbar_distribute_size was broken, resizing triggered unnecessary redraws) 2016-10-09 16:33:33 +02:00
o9000
0d861ebd97 Option to shrink panel: fix taskbar sizing 2016-10-09 15:21:56 +02:00
o9000
7c54f2acf7 Option to shrink panel: add missing code for separator 2016-10-09 15:03:48 +02:00
o9000
278a915ba4 Change profiling code to use median instead of average 2016-10-08 18:17:27 +02:00
o9000
2c42a78725 Fix compilation with ENABLE_RSVG=OFF (fixes issue #602) 2016-10-08 15:02:28 +02:00
o9000
07592355cb Option to shrink panel: updated doc and translation files 2016-10-08 14:54:34 +02:00
o9000
61a80b996f Add option to shrink panel (fixes issue #333) 2016-10-08 14:45:00 +02:00
o9000
7dad1c4e33 Freespace: release memory in correct order 2016-10-08 10:17:16 +02:00
o9000
f8ceb5a849 Allow multiple freespace items (fixes issue #607) 2016-10-08 10:12:20 +02:00
o9000
d45af83eaa FPS profiling: do not count read timeouts 2016-10-06 11:13:36 +02:00
o9000
cbde035f36 Add FPS profiling (set DEBUG_FPS when running tint2) : show average 2016-10-04 22:52:21 +02:00
o9000
0f3f6eebd8 Add FPS profiling (set DEBUG_FPS when running tint2) 2016-10-04 22:43:18 +02:00
o9000
a5434a362b Gradients: release memory 2016-10-04 17:57:03 +02:00
o9000
1922cafa14 Taskbar: revert accidental change 2016-10-04 14:23:00 +02:00
o9000
b4c2b3e6af Gradients: mostly done 2016-10-03 20:25:35 +02:00
o9000
822b149419 Gradients: work in progress 2016-10-02 22:56:48 +02:00
o9000
edc5a02efe Separator: fix warning 2016-10-02 16:43:44 +02:00
Oskari Rauta
0867010841 Add gradient background support
Conflicts:
	src/tint2conf/properties_rw.c
2016-10-02 16:43:24 +02:00
o9000
031b6b3240 Separator: updated translation 2016-10-02 14:15:37 +02:00
o9000
55de4c27b8 Separator: fix line bug in vertical panel 2016-10-02 14:06:31 +02:00
o9000
d49ecee3a7 Separator: simplify 2016-10-02 13:51:10 +02:00
o9000
62e0ee6a3a Separator: add background option 2016-10-02 12:17:07 +02:00
Oskari Rauta
6304715df3 Add separator plugin 2016-10-02 11:25:44 +02:00
o9000
7dbc894d2e Hide tooltip on desktop change (fixes issue #593) 2016-09-18 13:00:49 +02:00
o9000
c3a86e185d Fix include (fixes issue #596) 2016-09-18 12:53:59 +02:00
o9000
1d076ee6a4 Updated POT file and French translation 2016-09-18 12:20:59 +02:00
o9000
0c36e79996 Add behavior to hide an empty taskbar in multi_desktop mode: tint2conf 2016-09-18 12:20:44 +02:00
o9000
d0e8450225 Add behavior to hide an empty taskbar in multi_desktop mode: bugfix 2016-09-18 12:16:11 +02:00
Justin Jacobs
1b2a751de7 tint2conf: Disable Executor tooltip when text config value is empty
This fixes a bug where if an Executor had the "Tooltip" option disabled,
editing the theme in tint2conf would re-enable it.
2016-09-11 17:41:17 -04:00
Benoit Averty
863ef0259c Add config option for the hide_if_empty behaviour 2016-09-04 15:55:51 +02:00
Benoit Averty
d765190e3d Add behavior to hide an empty taskbar in multi_desktop mode: fix TODO and fix panel resize 2016-09-04 15:33:33 +02:00
Benoit Averty
8976f35c5f Add behavior to hide an empty taskbar in multi_desktop mode 2016-08-31 16:55:33 +02:00
o9000
008eebe4b1 When WM_HINTS changes for a window, reload the icon 2016-08-20 18:07:18 +02:00
o9000
cbb76849ea Fix missing include (fixes issue #594; thanks @Coacher) 2016-08-08 13:08:29 +02:00
o9000
cf930fa42e Fix hang (issue #586) 2016-08-08 12:17:15 +02:00
o9000
da51d37322 Execp: force update after custom command execution (issue #586) 2016-08-08 12:04:31 +02:00
o9000
a09e1a0e45 Fixed multiple memory leaks 2016-08-08 11:15:59 +02:00
o9000
1d4f64d745 Fixed typo causing missing startup notifications 2016-08-08 10:58:18 +02:00
o9000
2857b96c4d Fixed memory leak in icon loading 2016-08-08 10:56:06 +02:00
o9000
8b08930268 tint2conf: fix typo (issue #592) 2016-08-07 14:23:49 +02:00
o9000
5c6385b4c3 Launcher: reload shortcut on click (issue #569) 2016-08-07 14:15:45 +02:00
o9000
46d7c79359 tint2conf: menus accessible with alt + letter (issue #590) 2016-07-10 19:04:40 +02:00
o9000
d3f16e00b5 Fix bad printf in geometry logging 2016-07-10 18:42:24 +02:00
o9000
d95a5a02cf tint2conf: Handle keyboard shortcuts (issue #590) 2016-07-06 14:00:20 +02:00
o9000
fc56e48781 Add option to debug geometry (set env var DEBUG_GEOMETRY) (issue #583) 2016-06-04 13:53:22 +02:00
o9000
95a9e8a82e Set task maximum height equal to width if not specified, instead of hardcoding 30 (issue #583) 2016-06-04 13:18:24 +02:00
o9000
717f4ac30a tint2conf: process background selection correctly (issue #582) 2016-05-31 22:24:04 +02:00