o9000
14c3824632
Launcher: Add support for Terminal=true
2017-09-02 10:53:20 +02:00
o9000
eb93af3622
preprent "tint2:" to all logging messages
2017-09-01 18:23:46 +02:00
o9000
297e2a13a2
Refresh clock text immediately if empty (issue #659 , regression)
2017-08-25 16:31:49 +02:00
o9000
8e50c20c9d
Reinitialize timers correctly when created from their own callbacks
2017-08-21 14:26:20 +02:00
aaaz
fcbdd00bce
update clock at the beginning of seconds
2017-07-08 16:24:45 -05:00
o9000
491a56db10
Clock: Update correctly after suspend
2017-07-02 23:19:24 +02:00
o9000
59c3761455
Refactor text rendering
2017-06-05 16:12:51 +02:00
o9000
5da4c1653a
Clock: take into account borders and padding when computing size
2017-05-29 23:57:38 +02:00
o9000
067234e9fb
Unify code used to execute external programs
2017-04-29 13:42:37 +02:00
o9000
701b57e113
Open current tint2 config automatically when started from tint2
2017-04-22 19:07:49 +02:00
o9000
affac4cfa6
Changed indentation everywhere
2017-04-13 14:07:23 +02:00
o9000
c2d6faabc7
Enable clock timer only when clock is used
2017-03-04 12:25:10 +01:00
o9000
d7f294d7c2
Refactor panel refresh; new debug option debug_frames
2017-03-04 12:25:10 +01:00
o9000
61a80b996f
Add option to shrink panel (fixes issue #333 )
2016-10-08 14:45:00 +02:00
o9000
a5434a362b
Gradients: release memory
2016-10-04 17:57:03 +02:00
o9000
b4c2b3e6af
Gradients: mostly done
2016-10-03 20:25:35 +02:00
o9000
fc56e48781
Add option to debug geometry (set env var DEBUG_GEOMETRY) (issue #583 )
2016-06-04 13:53:22 +02:00
o9000
ed802d7602
Compute layouts correctly with partial borders (issue #580 )
2016-05-21 15:14:57 +02:00
o9000
1edaf21bde
Add area.name, useful for debugging
2016-03-25 11:13:05 +01: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
a6da0186e0
Cache pixmaps for mouse effects to improve performance
2016-01-01 04:57:08 +01:00
o9000
737150d7e9
Work better with empty config files
2015-12-27 15:39:39 +01:00
o9000
3790723483
Code cleanup
2015-12-13 11:39:12 +01:00
o9000
ea236e94a0
Clock: increase default font slightly
2015-12-13 10:48:06 +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
17f94205b4
Execplugin: add pango markup option
2015-12-05 11:42:07 +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
732b9d3910
Mouse pressed effect + some fixes for mouse over
2015-11-04 12:19:23 +01:00
o9000
294fdee57f
Mouse over effects
2015-11-04 01:32:13 +01:00
o9000
985c557dcd
Refactored text size computation
2015-10-18 16:51:08 +02:00
o9000
cf748d6d41
Revert "Remove static clock tooltip buffer" (g_date_time_format uses format strings slightly different from strftime)
...
This reverts commit 441c420773
.
2015-08-07 07:54:13 +02:00
Sebastian Reichel
441c420773
Remove static clock tooltip buffer
...
Use GLib's GDateTime to generate the tooltip, so that a
correctly sized string is automatically created.
2015-08-07 02:32:18 +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
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
b4f15db397
Use font shadows for all elements except tooltips
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@766 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:22:07 +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
3f42584fbd
Fix issue 401: Seconds not updating in second line of clock
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@683 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-04 22:09:20 +00:00
o9000
37ee594f6a
Fix segfault when the clock has no background in config
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@625 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-20 22:32:35 +00:00
Andreas.Fink85
10f50cf29b
*fix* issue 319
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@621 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-01-08 13:56:26 +00:00
Andreas.Fink85
48d428b677
*fix* make clock buffers a bit larger (1Kb ram is not really much buffer, but users which have a long clock_tooltip or clock_time1 or clock_time2 are
...
happy)
git-svn-id: http://tint2.googlecode.com/svn/trunk@606 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-11-23 15:11:57 +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
Andreas.Fink85
eae7223ddf
*fix* valgrind invalid read/write and memleaks
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@572 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-10-08 21:45:14 +00:00
thilor77
e68c361951
cleanup : generic resize function (in area.c)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@561 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-22 22:01:37 +00:00
thilor77
b4fb372f52
panel_items : fixed hide/unhide of baterry and systray
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@560 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-22 19:33:10 +00:00
thilor77
d2d2277bfe
cleanup : Area posx/posy managed by layering engine (area.c)
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@558 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-21 09:54:19 +00:00
thilor77
8f1709079e
panel_items : fixed clock on vertical panel
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@557 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-19 20:46:43 +00:00
thilor77
500981b052
panel_items : fixed some segfault.
...
git-svn-id: http://tint2.googlecode.com/svn/trunk@549 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-09-18 14:58:00 +00:00