Commit graph

877 commits

Author SHA1 Message Date
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
o9000
28bf0a437c Updated readme 2015-07-13 05:31:43 +00: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
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