Commit graph

65 commits

Author SHA1 Message Date
o9000
106471225f Rename dsp -> display 2016-01-01 13:49:10 +01:00
o9000
a6da0186e0 Cache pixmaps for mouse effects to improve performance 2016-01-01 04:57:08 +01:00
o9000
3790723483 Code cleanup 2015-12-13 11:39:12 +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
o9000
0900c088ee Mouse effects: fixes, changed defaults, more config options 2015-11-04 23:14:11 +01:00
o9000
68d3799c47 Mouse effects: tint icons 2015-11-04 13:02:12 +01:00
o9000
732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +01:00
o9000
9e2fbec797 Launcher icon background 2015-11-04 02:05:41 +01:00
o9000
294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000
8b6aad3a41 Refactored svg image loading 2015-10-18 16:53:27 +02: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
e76202b355 Fix systray rendering when compositor off 2015-07-23 20:38:33 +02:00
o9000
2ebc75944e tint2conf: Sort launchers by name 2015-07-04 17:33:19 +02:00
o9000
5acda6a0c0 Silence warning 2015-05-15 08:39:12 +02:00
o9000
7bce19452e Reduce memory footprint 2015-05-10 12:43:58 +02:00
o9000
1d02b8588b Fix icon loading with wrong image extension 2015-05-03 16:22:23 +02:00
o9000
e7c3f99e28 Attempt to fix icon rendering problems 2015-05-03 15:36:42 +02:00
o9000
a9330b424b launcher: New option launcher_icon_theme_override to preserve legacy behavior 2015-05-03 10:05:36 +02:00
o9000
193b3b5a81 Fix build on Debian Jessie 2015-04-27 19:16:21 +02:00
o9000
b78c854700 Flush stdout/stderr after newline
git-svn-id: http://tint2.googlecode.com/svn/trunk@760 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:31:28 +00: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
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
5faf063f96 Add config option startup_notifications = 0/1
git-svn-id: http://tint2.googlecode.com/svn/trunk@737 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 13:39:43 +00:00
o9000
f6b78ad094 Changed icon rendering to fix issue 432
git-svn-id: http://tint2.googlecode.com/svn/trunk@734 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 22:15:56 +00:00
o9000
83b6d1ac72 Changed launcher_icon_theme option to work as an override. If not present, we use xsettings to obtain the current theme or default to hicolor if xsettings not present
git-svn-id: http://tint2.googlecode.com/svn/trunk@733 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:54:07 +00:00
o9000
da7efb27a9 Support for launcher_apps_dir
git-svn-id: http://tint2.googlecode.com/svn/trunk@727 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-01 11:06:48 +00:00
o9000
1a3ba21245 Launcher: SVG icon support and icon loading improvements
git-svn-id: http://tint2.googlecode.com/svn/trunk@670 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 14:47:39 +00:00
o9000
1cb0c16ff4 Initialize variable properly
git-svn-id: http://tint2.googlecode.com/svn/trunk@666 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-22 17:34:00 +00:00
o9000
45a2156c12 Cleanup whitespace
git-svn-id: http://tint2.googlecode.com/svn/trunk@655 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 02:23:28 +00:00
xico.atelo@gmail.com
cfa4bc89e1 Adding startup-notification support.
git-svn-id: http://tint2.googlecode.com/svn/trunk@650 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-07-02 16:50:30 +00:00
o9000
f6039e8c92 Localize launcher tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@647 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-03-14 05:06:15 +00:00
o9000
64ec2ce7ec Launcher: add icon lookup in ~/.local and /usr/local
git-svn-id: http://tint2.googlecode.com/svn/trunk@646 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-26 15:02:27 +00:00
o9000
123c8bef7d Disable mouse hover events when the launcher tooltip is disabled
Do not use g_slist_free_full since it requires glib 2.28



git-svn-id: http://tint2.googlecode.com/svn/trunk@645 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-25 09:57:21 +00:00
o9000
10dfee6476 Fix possible double free in launcher
git-svn-id: http://tint2.googlecode.com/svn/trunk@644 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-22 01:14:20 +00:00
o9000
e6882fcf36 Fix possible double free in launcher
git-svn-id: http://tint2.googlecode.com/svn/trunk@643 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-22 00:52:55 +00:00
google@craigoakes.com
88c133a9a7 Launcher tooltips configurable, default off (Issue 366).
git-svn-id: http://tint2.googlecode.com/svn/trunk@642 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-12 00:10:46 +00:00
google@craigoakes.com
6542370297 Added alpha, saturation, brightness control for launcher icons (Issue 365).
git-svn-id: http://tint2.googlecode.com/svn/trunk@641 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-11 23:50:18 +00:00
o9000
9c90f80ff1 Fixed launcher behavior for .desktop files with multiple shortcut groups; fixed launcher memory leak
git-svn-id: http://tint2.googlecode.com/svn/trunk@640 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-10-07 08:23:04 +00:00
o9000
e18f8443fb Fix crash in launcher at tint2 unload/reload when falling back to the hicolor icon theme
git-svn-id: http://tint2.googlecode.com/svn/trunk@637 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-08 17:01:12 +00:00
o9000
47ce616991 Changed launcher to use Areas for each icon; this allows showing tooltips
git-svn-id: http://tint2.googlecode.com/svn/trunk@631 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-05-28 22:43:03 +00:00
o9000
a8b217e071 launcher: use the proper fallback icon; use getline (dynamically resized buffer) instead of fgets
git-svn-id: http://tint2.googlecode.com/svn/trunk@624 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-13 11:00:59 +00:00
thilor77
e5478fc1f3 fixed issue 309
git-svn-id: http://tint2.googlecode.com/svn/trunk@620 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-01-06 23:28:16 +00:00
o9000
2d085f1a4c Launcher icon lookup fixes
- prioritize theme more than size match
- find icons when the extension is already included in the icon name
- a couple of memleaks


git-svn-id: http://tint2.googlecode.com/svn/trunk@605 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-21 14:34:45 +00:00
thilor77
5d7e211537 launcher : fixed icon position
git-svn-id: http://tint2.googlecode.com/svn/trunk@591 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 17:43:14 +00:00
thilor77
fc5269d610 XSETTINGS manager : reload icons when theme changed (gnome, xfce, ...).
git-svn-id: http://tint2.googlecode.com/svn/trunk@589 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 12:59:51 +00:00
thilor77
da27293d22 launcher : limit launcher_icon_theme to 1 theme. Add XSETTINGS client and read launcher_icon_theme if manager is running.
git-svn-id: http://tint2.googlecode.com/svn/trunk@588 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-07 08:44:27 +00:00
thilor77
7c8a31db72 update my contribution to the company
git-svn-id: http://tint2.googlecode.com/svn/trunk@585 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-02 11:40:50 +00:00
thilor77
86cfa07735 fixed multi_desktop switching
git-svn-id: http://tint2.googlecode.com/svn/trunk@582 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-24 09:18:41 +00:00