Commit graph

63 commits

Author SHA1 Message Date
o9000
e5380f8e29 Timer: rename timeout -> timer 2017-12-29 13:10:47 +01:00
o9000
a9a9a753bc Timer: new implementation (merge complete) 2017-12-29 06:32:55 +01:00
o9000
f64cf199e4 Timer: new implementation (merge finished, tests failing) 2017-12-28 22:45:20 +01:00
o9000
e8a6c93b28 Fix tooltip use after free 2017-11-16 08:32:19 +01:00
o9000
bc4af51e82 Taskbar: thumbnails (alignment) 2017-11-14 12:58:42 +01:00
o9000
01de174919 Taskbar: thumbnails (timers) 2017-11-14 12:21:08 +01:00
o9000
8ba1f26309 Taskbar: thumbnails 2017-11-14 10:48:47 +01:00
o9000
5a867a83c6 Taskbar: thumbnails 2017-11-14 10:34:57 +01:00
o9000
affac4cfa6 Changed indentation everywhere 2017-04-13 14:07:23 +02:00
o9000
ed802d7602 Compute layouts correctly with partial borders (issue #580) 2016-05-21 15:14:57 +02:00
o9000
7b6ce97940 Cleanup whitespace 2016-03-24 20:45:17 +01: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
10ca7f0762 Limit tooltip width 2016-01-10 15:28:00 +01:00
o9000
106471225f Rename dsp -> display 2016-01-01 13:49:10 +01:00
o9000
da0c52ecff Rename: monitor -> monitors 2015-12-22 23:16:01 +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
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
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
8eca71ac95 Remove parameter from tooltip_trigger_hide() (issue #516) 2015-08-03 18:20:16 +02: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
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