Commit graph

43 commits

Author SHA1 Message Date
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
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
de5045d88e tooltip: Round up y coordinate of text (looks slightly better)
git-svn-id: http://tint2.googlecode.com/svn/trunk@659 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:01:40 +00:00
o9000
cfd2bde7e4 Fix segfault when the tooltip has no background in config
git-svn-id: http://tint2.googlecode.com/svn/trunk@639 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-07-22 10:02:07 +00:00
o9000
720ced62f3 Fix area lookup coordinates in tooltip_show()
git-svn-id: http://tint2.googlecode.com/svn/trunk@636 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-08 16:57:32 +00:00
Andreas.Fink85
8201742546 *add* remove of tooltip = En/Disabled. it's renamed to task_tooltip to enable/disable task/clock tooltip separatly (tooltip = N is equivalent to
task_tooltip = N for backwards compatibility)


git-svn-id: http://tint2.googlecode.com/svn/trunk@615 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-12 08:57:51 +00:00
Andreas.Fink85
906ee82dbf *fix* issue 282
*fix* correct x/y coordinates for tooltip on multi-head setup
*fix* delete multitimer hashmap
*fix* cleanup_panel() needs to be called after cleanup_launcher()


git-svn-id: http://tint2.googlecode.com/svn/trunk@544 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-12 22:00:00 +00:00
thilor77
9e81bcbf6a revert rev 541 : we don t need to duplicate x,y
git-svn-id: http://tint2.googlecode.com/svn/trunk@543 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-19 20:33:42 +00:00
o9000
95b35aefc0 Center the tooltip correctly when the text changes while the tooltip is visible
git-svn-id: http://tint2.googlecode.com/svn/trunk@541 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-16 19:38:58 +00:00
thilor77
35b94d7acd adjust tooltip position (mrovi)
git-svn-id: http://tint2.googlecode.com/svn/trunk@525 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-07 12:28:12 +00:00
thilor77
c9ca6a4006 adjust tooltip position (mrovi)
git-svn-id: http://tint2.googlecode.com/svn/trunk@524 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-08-07 12:17:56 +00:00
thilor77
20f181fdef cleanup
git-svn-id: http://tint2.googlecode.com/svn/trunk@435 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-19 22:06:23 +00:00
thilor77
af80193e89 tint2conf enabled by default, and switch ELLIPSIZE_END to ELLIPSIZE_MIDDLE
git-svn-id: http://tint2.googlecode.com/svn/trunk@433 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-19 18:15:42 +00:00
thilor77
64530181d9 qutodetect composite manager and automaticaly switch real/fake transparency
git-svn-id: http://tint2.googlecode.com/svn/trunk@425 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-18 14:49:50 +00:00
thilor77
7ee42e8ca1 SIGUSR1 does now a full restat of tint2
git-svn-id: http://tint2.googlecode.com/svn/trunk@424 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-18 14:28:45 +00:00
thilor77
c298a39d00 moved initial values in function default_xxx
git-svn-id: http://tint2.googlecode.com/svn/trunk@423 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-04-18 12:07:36 +00:00
thilor77
221f2875b3 fixed : update tooltip when title change (downloading file)
git-svn-id: http://tint2.googlecode.com/svn/trunk@352 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-15 15:31:07 +00:00
thilor77
8ce26f30f5 fixed black windows drawing in fake transparency (flush before drawing window)
git-svn-id: http://tint2.googlecode.com/svn/trunk@348 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-14 21:05:42 +00:00
Andreas.Fink85
739af13714 *add* more task states (normal, active, iconified, urgent), with each an own background, font and asb
*fix* two memleaks
*fix* some code beautification



git-svn-id: http://tint2.googlecode.com/svn/trunk@327 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-09 00:11:01 +00:00
Andreas.Fink85
adb784a859 *add* autohide
*fix* issue 182 by using select instead of pselect


git-svn-id: http://tint2.googlecode.com/svn/trunk@321 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-01-05 20:38:49 +00:00
Andreas.Fink85
009653db34 *fix* clear tooltip window before redrawing
*fix* all systray icons should be visible also in real transparency mode


git-svn-id: http://tint2.googlecode.com/svn/trunk@310 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-31 14:20:32 +00:00
Andreas.Fink85
2506f4045c *add* real transparency is now supported... most systray applications work out of the box. Some do not work yet, because they do not respect
freedesktops standard


git-svn-id: http://tint2.googlecode.com/svn/trunk@308 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 23:27:31 +00:00
Andreas.Fink85
c65ad3628d *add* clock supports timezones
*add* first preparations for real transparency (tooltip works already, but panel does not. Therefore it is disabled in the source code)


git-svn-id: http://tint2.googlecode.com/svn/trunk@304 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-30 11:27:29 +00:00
Andreas.Fink85
3767eb58f1 *fix* use another timer implementation, coz *BSD does not support timerfd :(
git-svn-id: http://tint2.googlecode.com/svn/trunk@296 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-27 20:33:02 +00:00
Andreas.Fink85
dae6ee07f9 *fix* calculate right struts for multiple monitors. fixes issue 148 and issue 178
*fix* uninstall all timers on reconfiguring



git-svn-id: http://tint2.googlecode.com/svn/trunk@291 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-22 13:37:13 +00:00
Andreas.Fink85
c46e1341aa *fix* tooltip fixed
*fix* send battery low command if below the value, not exactly the value


git-svn-id: http://tint2.googlecode.com/svn/trunk@289 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-17 18:25:51 +00:00
thilor77
e11cb05c96 cleanup
git-svn-id: http://tint2.googlecode.com/svn/trunk@288 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-17 11:08:14 +00:00
thilor77
b42e067629 fixed issue 176
git-svn-id: http://tint2.googlecode.com/svn/trunk@285 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-12-16 09:04:50 +00:00
Andreas.Fink85
f9ca3a2c0e *fix* tooltip copys the displayed text
*fix* remove urgent windows from list if closed



git-svn-id: http://tint2.googlecode.com/svn/trunk@278 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-19 13:53:01 +00:00
Andreas.Fink85
7fa58c0552 *change* make tooltip more generous, and preparation for setting a tooltip on the clock
git-svn-id: http://tint2.googlecode.com/svn/trunk@271 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 17:17:53 +00:00
Andreas.Fink85
d1e7d189bf *fix* use XFlush to really make use of the tooltip timeouts and do not rely on some timer running in the background
*fix* moved panel_refresh in the mainloop to the top for panels without a clock for updating first and then going to the pselect statement
*changed* battery updates every 5 secs (I do not know if this is a good value...)
*fix* blinking urgent windows has a panel_refresh now



git-svn-id: http://tint2.googlecode.com/svn/trunk@270 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 10:06:45 +00:00
Andreas.Fink85
99b045a323 *fix* merged tooltip to the new timer syntax
*todo* check what happens if no clock and no battery are on the panel



git-svn-id: http://tint2.googlecode.com/svn/trunk@268 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-11-16 07:27:28 +00:00
lorthiois@bbsoft.fr
04a4131d23 remove duplicate call on tooltip_update
git-svn-id: http://tint2.googlecode.com/svn/trunk@247 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-31 17:56:59 +00:00
lorthiois@bbsoft.fr
140f32e28e fixed tooltip_adjust_geometry with multi monitor
git-svn-id: http://tint2.googlecode.com/svn/trunk@246 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-31 16:33:35 +00:00
lorthiois@bbsoft.fr
e8b4fb6bbc fixed bug in taskbar drawing
git-svn-id: http://tint2.googlecode.com/svn/trunk@245 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-31 11:58:45 +00:00
lorthiois@bbsoft.fr
12e73beb50 many fixed for SIGUSR1 signal
git-svn-id: http://tint2.googlecode.com/svn/trunk@244 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-30 20:54:29 +00:00
lorthiois@bbsoft.fr
c763cf7172 fixed config reload SIGUSR1. added systray = 1 parameter to enable systray
git-svn-id: http://tint2.googlecode.com/svn/trunk@242 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-10-30 17:18:44 +00:00
Andreas.Fink85
fe2dde30db *fix* tooltip hide fixed
*fix* hopefully unnecessary code removed



git-svn-id: http://tint2.googlecode.com/svn/trunk@200 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-27 08:06:31 +00:00
Andreas.Fink85
1bb885f840 *fix* Check wmhints for NULL
git-svn-id: http://tint2.googlecode.com/svn/trunk@179 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-16 11:00:23 +00:00
Andreas.Fink85
7597d1b4c3 *fix* stop any pending alarms if timeout is 0
git-svn-id: http://tint2.googlecode.com/svn/trunk@177 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-15 16:35:32 +00:00
lorthiois@bbsoft.fr
375b21510d cleanup
git-svn-id: http://tint2.googlecode.com/svn/trunk@176 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-15 07:37:37 +00:00
Andreas.Fink85
d66778438c *add* tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@175 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2009-09-14 21:28:17 +00:00