Commit graph

764 commits

Author SHA1 Message Date
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
a0af851d9d Updated readme 2015-07-12 16:28:43 +00:00
o9000
477d08b5da Remove v from git tag when generating version string 2015-07-12 18:24:19 +02:00
o9000
50a07df5d2 Silence g_thread_init warning 2015-07-12 17:54:40 +02:00
o9000
b3cdde78b1 Add define _GNU_SOURCE for getline() 2015-07-12 17:50:59 +02:00
o9000
8207b16598 Updated theme files 2015-07-12 17:40:32 +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
60657c9809 Updated themes 2015-07-12 17:00:37 +02:00
o9000
3150b91f80 Install additional themes to /usr/[local/]share/tint2 2015-07-12 17:00:16 +02:00
o9000
7b854d49e3 Update readme 2015-07-12 14:42:47 +02:00
o9000
81a48b8f79 Update changelog 2015-07-12 14:40:00 +02:00
o9000
655ea6f06f Update build script 2015-07-12 14:36:11 +02:00
o9000
efe9aadb39 Prevent race at startup in detecting screen resolution changes 2015-07-12 14:36:11 +02:00
o9000
c0e1709d57 Capitalize name in desktop shortcut 2015-07-05 15:48:09 +00:00
o9000
ea8a4fbb1e Capitalize title in desktop shortcut 2015-07-05 10:34:36 +00:00
o9000
093963dadd Merge branch 'doc-fixes' into 'master'
Doc fixes

Hi o9000, thanks for resurrecting tint2!

Here are some purely "bureaucratic" fixes: I fixed some typo's, updated URLs, and cleaned up a few files.

See merge request !4
2015-07-05 10:33:43 +00:00
Sebastiaan Lokhorst
df429e8c34 Clean up .desktop file: remove unnecessary localization, fix English translation, use consistent captitalization of "tint2" (with a lowercase "t"). 2015-07-05 11:34:57 +02:00
Sebastiaan Lokhorst
d3c45adf34 Fix some typo's and clean up indentation. 2015-07-05 11:23:57 +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
acedd48708 Add IDE files 2015-07-04 16:57:45 +02:00
o9000
9fd9d51010 Fix timer bug (again) 2015-07-04 16:47:29 +02:00
o9000
9f8423f2eb Updated changelog 2015-07-04 13:37:42 +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
7ace3a5956 Updated changelog 2015-06-25 14:18:35 +00: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
o9000
e7cfa35288 Merge branch 'translation-bs_hr_sr' into 'master'
tint2conf: added bs, hr and sr translations

I translated tint2conf into Bosnian, Croatian and Serbian (Cyrillic).

See merge request !3
2015-06-15 07:52:22 +00: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