Commit graph

744 commits

Author SHA1 Message Date
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
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
50a07df5d2 Silence g_thread_init warning 2015-07-12 17:54:40 +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
efe9aadb39 Prevent race at startup in detecting screen resolution changes 2015-07-12 14:36:11 +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
9fd9d51010 Fix timer bug (again) 2015-07-04 16:47:29 +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
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
o9000
222eca4099 systray: (disable_transparency=1) detect empty icons whenever a new icon is added, from any process; clear icon area because some icons were failing to redraw 2015-06-21 15:23:55 +02:00
o9000
ea75558ac2 systray: reduce icon flicker by painting on buffer instead of directly on window 2015-06-21 15:00:01 +02:00
o9000
876cae8239 systray: fix black icon background for 32-bit icons when disable_transparency = 1; fix empty icon detection when disable_transparency = 1; fix icon blinking by delaying rendering less aggressively; removed XClearArea on traywin->win (triggers unnecessary redraws); cache icon names; profiling messages updated 2015-06-21 14:50:08 +02:00
o9000
7c3951e3a0 systray: Profiling code. Export environment variable SYSTRAY_PROFILING=1 when running tint2 to enable it 2015-06-19 10:46:29 +02:00
o9000
552f060612 Updated strings in pl.po 2015-06-15 19:27:05 +02:00
dglava
4326cd1380 tint2conf: added bs, hr and sr translations 2015-06-14 23:10:30 +02:00
o9000
19b40bc59e systray: Check icon position 2015-06-14 12:23:34 +02:00
o9000
8c9a9a111e systray: trigger resizes in some places 2015-06-14 11:39:51 +02:00
o9000
b13540123b systray: force a repaint on icon resize 2015-06-14 11:21:42 +02:00
o9000
f5b2de62b6 systray: reorder operations to prevent the long icon first show delay that occurs sometimes 2015-06-14 10:51:30 +02:00
o9000
1ba023fc83 Removed tintwizard.py as it no longer supports all config options 2015-06-14 10:06:33 +02:00
o9000
36e9e92df1 Changed tintwizard #! to python 2 (note that tintwizard is obsolete) 2015-06-13 10:54:28 +00:00
o9000
cae621918e systray: Do not turn off compositing for missing window errors 2015-06-13 11:32:22 +02:00
o9000
f28983e5a7 systray: Use different X connection for XGetImage (fixes crash on ATI cards) 2015-06-12 21:28:58 +02:00
o9000
b35cdb70df systray: Detect window resizez during composited rendering to prevent crashes 2015-06-12 21:13:20 +02:00
o9000
80361a121e Better error handling in systray rendering and fall back to non-composited rendering in case of errors 2015-06-12 12:24:19 +02:00
o9000
b4ff007e42 systray: reorder some operations to make sure we resize correctly 2015-06-12 11:57:05 +02:00
o9000
ae379d865c systray: fix bad embed 2015-06-12 11:40:22 +02:00
o9000
0a3876dc8c systray: prevent race in error detection 2015-06-12 11:39:36 +02:00
o9000
e2d95acfa1 Add missing files for freespace 2015-06-12 10:41:51 +02:00
o9000
5ac1a6a653 systray: resize icon when reparenting 2015-06-12 09:44:13 +02:00
o9000
481c409617 Fix bad interaction between freespace and systray 2015-06-12 02:09:43 +02:00
o9000
e8869b4d87 systray: Minor change in error logging 2015-06-12 01:43:39 +02:00
o9000
b1b95e086d Free space item 2015-06-12 01:42:00 +02:00
o9000
df1f2d4e4b Merge taskbar_alignment from branch 2015-06-12 00:52:10 +02:00
o9000
860c100a04 launcher: sort desktop files by name in launcher_apps_dir 2015-06-07 13:03:49 +02:00
o9000
9040764cf1 systray: Cleaned up the code a bit 2015-06-07 12:58:29 +02:00
o9000
d8d4bc76cd systray: Delay reparenting to the first render to prevent graphical corruptions 2015-06-07 12:45:48 +02:00
o9000
fbcfa54061 Disable systray composited rendering if disable_transparency = 1 2015-06-07 11:44:43 +02:00
o9000
b235f77f39 systray: Prevent triggering concurrent updates for the same icon 2015-05-30 14:22:40 +02:00
o9000
1b4b0a8d8d systray: Delay icon rendering only when throttling is necessary 2015-05-30 13:41:29 +02:00
o9000
7ea0dc241c systray: Sort icons in the correct order when an icon is empty and order is right2left 2015-05-30 13:33:44 +02:00
o9000
39e67df44d Revert "systray: Sort icons in the correct order when an icon is empty and order is right2left"
This reverts commit cb17e5a662.
2015-05-30 13:23:20 +02:00
o9000
cb17e5a662 systray: Sort icons in the correct order when an icon is empty and order is right2left 2015-05-30 13:03:42 +02:00
Daniel Napora
7e2e1d5adf Polish translations for desktop files 2015-05-28 21:48:06 +02:00
Daniel Napora
d839d80c2e Polish translation 2015-05-28 21:02:31 +02:00
o9000
06dfcf70be Updated localization file with new strings 2015-05-21 12:44:41 +02:00
o9000
44785a49da Updated tint2conf for localization 2015-05-21 12:34:52 +02:00
o9000
e20448d6b5 Annotate strings for translation 2015-05-21 10:57:50 +02:00
o9000
6014b51850 Better error handling in systray icon rendering 2015-05-20 15:42:27 +02:00
o9000
5acda6a0c0 Silence warning 2015-05-15 08:39:12 +02:00
o9000
66c98bc820 Fix bad include 2015-05-14 19:19:42 +00:00
o9000
a4894b8257 Workaround for empty systray icon in Google Chrome (misbehaving) - fix resize 2015-05-13 22:58:58 +02:00
o9000
b7dbb919a9 Merge branch 'title-race' 2015-05-13 22:41:52 +02:00
o9000
a08491c122 Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting 2015-05-13 21:17:02 +02:00
o9000
8795f50bb8 Workaround for empty systray icon in Google Chrome (misbehaving) - fix sorting 2015-05-13 21:02:40 +02:00
o9000
3ab42f9b72 Workaround for empty systray icon in Google Chrome (misbehaving) 2015-05-11 21:19:36 +02:00
o9000
7bce19452e Reduce memory footprint 2015-05-10 12:43:58 +02:00
o9000
1ff028e99f Fix some battery issues when unplugging/replugging 2015-05-08 23:35:44 +02:00
o9000
5450dcca0b Attempt to fix new window title race in fvwm 2015-05-08 21:49:26 +02:00
o9000
d2ee0a481f Adding missing icons 2015-05-05 11:18:55 +02:00
o9000
1d95e01882 tint2conf: Updated tooltips 2015-05-03 22:30:10 +02:00
o9000
ebc356d1c7 Updated tint2rc file header with link to docs 2015-05-03 20:01:58 +00:00
o9000
60f01f7fff Updated icons and desktop files 2015-05-03 19:17:24 +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
b9508450b7 panel: Use WINDOW_TYPE_SPLASH instead of DOCK if panel_layer=normal and panel_dock=0 otherwise it is impossible to get normal stacking 2015-05-03 09:27:52 +02:00
o9000
7384fd8270 Battery: fixes for FreeBSD 2015-05-03 08:52:39 +02:00
o9000
7ea2452ae4 tint2conf: fixes for *BSD 2015-05-02 22:24:15 +02:00
o9000
193b3b5a81 Fix build on Debian Jessie 2015-04-27 19:16:21 +02:00
o9000
bd9e12b993 Wrap text at word boundaries 2015-04-26 16:33:07 +02:00
o9000
78595a3d1f Renamed notification area -> system tray for consistency 2015-04-26 15:37:25 +02:00
o9000
95fa0bbf83 tint2 & tint2conf: Use spacing in task_padding 2015-04-26 15:16:24 +02:00
o9000
e6612d2893 tint2conf: Multiple fixes 2015-04-26 14:42:20 +02:00
o9000
298f60f1b0 tint2conf: Fix taskbar_sort_order, taskbar_name_padding 2015-04-26 13:49:41 +02:00
o9000
7794272f8e tint2conf: Fix background index mess 2015-04-26 13:25:28 +02:00
o9000
89e2057a8e tint2conf: Checksum files to identify and back up manually edited configs 2015-04-25 21:38:55 +02:00
o9000
2ecb1c4ef4 config: Do not treat invalid task status values as defaults 2015-04-25 16:37:23 +02:00
o9000
dff7355f3b tint2conf: load old config files better 2015-04-25 16:14:32 +02:00
o9000
233157930b tint2conf: cleanup GUI 2015-04-25 15:45:15 +02:00
o9000
ae76f82ee0 tint2conf: Tooltips 2015-04-25 13:03:55 +02:00
o9000
60b56599cb tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@767 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 13:30:30 +00: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
6ba25fa945 tint2conf: backup config when writing
git-svn-id: http://tint2.googlecode.com/svn/trunk@765 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 12:53:14 +00:00
o9000
aa9e1afdf2 tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@764 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 12:46:39 +00:00
o9000
167bb31084 tint2conf: GUI changes
git-svn-id: http://tint2.googlecode.com/svn/trunk@763 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-18 11:55:02 +00:00
o9000
b9f8bf30f7 Remove fflush
git-svn-id: http://tint2.googlecode.com/svn/trunk@762 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:32:34 +00:00
o9000
64c1fc03f9 Print error message for invalid action name in get_action()
git-svn-id: http://tint2.googlecode.com/svn/trunk@761 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-17 20:32:03 +00: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
45d6463315 Revert r751 and add workaround for systray rendering artifacts
git-svn-id: http://tint2.googlecode.com/svn/trunk@755 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-13 20:18:28 +00:00
o9000
7d70189bee Minor improvements to taskbar_sort_order = center (issue 478)
git-svn-id: http://tint2.googlecode.com/svn/trunk@752 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 20:02:58 +00:00
o9000
eb1244a415 Simplify systray icon management (attempt to fix issue 480)
git-svn-id: http://tint2.googlecode.com/svn/trunk@751 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 17:35:54 +00:00
o9000
e49e05ad69 Fix task visilibility problem, issue 481
git-svn-id: http://tint2.googlecode.com/svn/trunk@750 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-12 16:02:03 +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
321ccc0794 Fix no handling of battery removal
git-svn-id: http://tint2.googlecode.com/svn/trunk@747 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-09 09:24:25 +00:00
o9000
cab31cb726 Fix battery error handling
git-svn-id: http://tint2.googlecode.com/svn/trunk@746 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-04-09 09:11:57 +00:00
o9000
40d8d05be7 Reverted systray icon rendering to fix issue 479
git-svn-id: http://tint2.googlecode.com/svn/trunk@745 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:45:15 +00:00
o9000
e539c6536f Sort tasks on taskbar: config + sort by title or center (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@743 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 22:38:57 +00:00
o9000
67d5bfcfce Sort tasks on taskbar: handle task drag and drop (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@742 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:15:30 +00:00
o9000
82fe74743c Sort tasks on taskbar: use panel orientation (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@741 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:10:23 +00:00
o9000
5376e09963 Sort tasks on taskbar (disabled, work in progress) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@740 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 21:07:33 +00:00
o9000
1a41159142 Battery: cleanup code and make detection more resilient
git-svn-id: http://tint2.googlecode.com/svn/trunk@739 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-28 18:08:44 +00:00
o9000
e113080a0e Tentative to sort tasks on taskbar (disabled) - issue 478
git-svn-id: http://tint2.googlecode.com/svn/trunk@738 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-22 16:07:04 +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
c900bc24b2 Add option to hide tasks from different monitors when panel_monitor = x (issue 196)
git-svn-id: http://tint2.googlecode.com/svn/trunk@736 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-21 09:49:10 +00:00
o9000
a2de8d6e53 Modified startup notification logic to prevent deadlock in issue 471
git-svn-id: http://tint2.googlecode.com/svn/trunk@735 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 22:49:13 +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
f5a18cc4f4 Option taskbar_hide_inactive_tasks (issue 458)
git-svn-id: http://tint2.googlecode.com/svn/trunk@732 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:19:02 +00:00
o9000
c583ea42eb Update strut after resizing panel in autohide-show (issue 472)
git-svn-id: http://tint2.googlecode.com/svn/trunk@731 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 21:01:13 +00:00
o9000
4c16f97e73 Autohide-show panel when task becomes urgent
git-svn-id: http://tint2.googlecode.com/svn/trunk@730 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-20 20:54:57 +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
ba40b0752f Expand ~ in launcher_item_app
git-svn-id: http://tint2.googlecode.com/svn/trunk@726 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-03-01 10:33:05 +00:00
o9000
0d1b78d808 Fix build issue on Slackware (Issue 473)
git-svn-id: http://tint2.googlecode.com/svn/trunk@725 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-19 19:36:13 +00:00
o9000
32db15ae50 Fix double free of panel_window_name
git-svn-id: http://tint2.googlecode.com/svn/trunk@692 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-09 07:58:34 +00:00
google@craigoakes.com
bab686d8c4 Corrected memory leak introduced with r690
git-svn-id: http://tint2.googlecode.com/svn/trunk@691 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-08 22:34:42 +00:00
google@craigoakes.com
51fe905b47 Add new configuration parameter panel_window_name to set WM_NAME (and WM_ICON_NAME) to identify multiple instances of tint2. (Issue 460).
git-svn-id: http://tint2.googlecode.com/svn/trunk@690 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-08 12:13:32 +00:00
o9000
a11becfb2e Another attempt to fix issue 465: broken WM_HINTS
git-svn-id: http://tint2.googlecode.com/svn/trunk@689 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-08 10:18:48 +00:00
o9000
f4af2a352a Fix issue 465: broken WM_HINTS
git-svn-id: http://tint2.googlecode.com/svn/trunk@688 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-07 20:32:44 +00:00
o9000
7b698e1fe1 Fix issue 463: Launcher icon accepts all mouse buttons
git-svn-id: http://tint2.googlecode.com/svn/trunk@687 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-05 12:21:56 +00:00
o9000
5bd4bcf727 Fix issue 343: Double system tray icons
git-svn-id: http://tint2.googlecode.com/svn/trunk@685 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-04 23:15:57 +00:00
o9000
89c8338067 Fix issue 428: Build fails when battery applet is disabled from cmake
git-svn-id: http://tint2.googlecode.com/svn/trunk@684 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-04 22:31:44 +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
1272ce4bb9 Fix issue 442: do not overflow when processing buggy battery input
git-svn-id: http://tint2.googlecode.com/svn/trunk@682 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 23:42:05 +00:00
o9000
f0e2e72efc Fix issue 347: always initialize backgrounds
git-svn-id: http://tint2.googlecode.com/svn/trunk@681 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 23:09:33 +00:00
o9000
c392cdf257 Fix issue 461: do not place the panel in dock if panel_dock = 0 in config; slight change in the XWMHints
git-svn-id: http://tint2.googlecode.com/svn/trunk@680 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 12:35:00 +00:00
o9000
856385d5c0 Reverting commit from r677
git-svn-id: http://tint2.googlecode.com/svn/trunk@679 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-02-01 12:31:15 +00:00
o9000
b70e6b500e Better handling of the systray_monitor option
git-svn-id: http://tint2.googlecode.com/svn/trunk@678 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-31 11:02:35 +00:00
google@craigoakes.com
5a789c2d7f Revert panel to _NET_WM_WINDOW_TYPE_DOCK, implement panel_layer=float (Issue 461).
git-svn-id: http://tint2.googlecode.com/svn/trunk@677 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-31 05:17:54 +00:00
google@craigoakes.com
0fa10d83b9 Added mouse_left configuration, defaults to original function (Issue 459, 397)
git-svn-id: http://tint2.googlecode.com/svn/trunk@676 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 21:13:04 +00:00
o9000
28d726626d Xorg: Add option to disable transparency (workaround for broken graphics stacks; issues 432, 435, 439)
git-svn-id: http://tint2.googlecode.com/svn/trunk@675 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 10:01:39 +00:00
o9000
45cc690167 Xorg: Rename function
git-svn-id: http://tint2.googlecode.com/svn/trunk@674 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:54:16 +00:00
o9000
4e76c2bb5d Taskbar: add option to redistribute size in multi-desktop mode (useful especially when the taskbar is getting full on one desktop)
git-svn-id: http://tint2.googlecode.com/svn/trunk@673 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-30 09:53:16 +00:00
o9000
88e0e4fed8 tint2conf: Updates (work in progress)
git-svn-id: http://tint2.googlecode.com/svn/trunk@672 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:31:20 +00:00
o9000
d584d04691 Remove global variables from header files
git-svn-id: http://tint2.googlecode.com/svn/trunk@671 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-28 15:13:56 +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
ec80e09b0b Systray: option to configure monitor: start from 1 to be consistent with panel_monitor
git-svn-id: http://tint2.googlecode.com/svn/trunk@668 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-23 19:19:23 +00:00
o9000
de539e218a Systray: option to configure monitor (fixes issue 451 and TODOs in the code)
git-svn-id: http://tint2.googlecode.com/svn/trunk@667 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-23 18:40:31 +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
2432a2ed51 Prevent division by zero in strange circumstances when the panel has size 0
git-svn-id: http://tint2.googlecode.com/svn/trunk@665 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-22 17:31:56 +00:00
o9000
9a1ec1884f Fix issue 455 (tint2 places itself in dock even with panel_dock = 0)
git-svn-id: http://tint2.googlecode.com/svn/trunk@664 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-22 12:03:31 +00:00
o9000
b6efa12bef Workaround for issue 353 (broken xrandr)
git-svn-id: http://tint2.googlecode.com/svn/trunk@663 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-22 00:12:45 +00:00
o9000
c59f239999 taskbar: fix task cycling bug in multi_desktop mode
git-svn-id: http://tint2.googlecode.com/svn/trunk@662 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 01:45:09 +00:00
o9000
9ac902b62b taskbar: draw softer shadows so that text is more readable
git-svn-id: http://tint2.googlecode.com/svn/trunk@661 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:27:40 +00:00
o9000
42469038a8 taskbar: add TODO for icon sizing in large panels
git-svn-id: http://tint2.googlecode.com/svn/trunk@660 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-21 00:12:05 +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
54154e8298 util: Initialize color in all cases
git-svn-id: http://tint2.googlecode.com/svn/trunk@658 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:45:25 +00:00
o9000
364d0cf703 util: Change misleading variable name "line" to "buffer"
git-svn-id: http://tint2.googlecode.com/svn/trunk@657 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:43:51 +00:00
o9000
f70415d7db taskbar: fix GLib-CRITICAL: g_hash_table_foreach: assertion version == hash_table->version failed
git-svn-id: http://tint2.googlecode.com/svn/trunk@656 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 23:37:40 +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
o9000
fc4b29631f Cleanup whitespace
git-svn-id: http://tint2.googlecode.com/svn/trunk@654 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 02:20:35 +00:00
o9000
dc137ef1a6 Fix incorrect memset
git-svn-id: http://tint2.googlecode.com/svn/trunk@653 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2015-01-20 01:27:15 +00:00
o9000
257cc45adc Fix for no task cycling if all windows are minimized
git-svn-id: http://tint2.googlecode.com/svn/trunk@652 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-10-14 22:04:25 +00:00
o9000
0a1ceaeed0 Fix for incorrect task cycling when windows visible on all desktops are present
git-svn-id: http://tint2.googlecode.com/svn/trunk@651 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-10-14 22:00:48 +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
13b0d7612a Drag and drop support for launchers
git-svn-id: http://tint2.googlecode.com/svn/trunk@648 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2012-03-14 05:15:23 +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
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
thilor77
2a7ceb537d tint2conf: work in progress
git-svn-id: http://tint2.googlecode.com/svn/trunk@638 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-14 14:10:45 +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
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
o9000
fb042d4230 Enable mouse motion events when the launcher is enabled
git-svn-id: http://tint2.googlecode.com/svn/trunk@635 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-08 16:54:36 +00:00
thilor77
a5270e39d1 tint2conf: work in progress
git-svn-id: http://tint2.googlecode.com/svn/trunk@634 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-07 21:30:54 +00:00
thilor77
ac92352c20 tint2conf : work in progress
git-svn-id: http://tint2.googlecode.com/svn/trunk@633 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-06 22:02:09 +00:00
thilor77
72435c0743 start tint2conf work
git-svn-id: http://tint2.googlecode.com/svn/trunk@632 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-06-06 09:16:51 +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
andreas.fink85
f71967bbca *fix* even better XSelectInput on traywindows. It's inside the block, where we listen to XError's, thus an icon which is already deleted before we ask for StuctureNotify will not be added at all
git-svn-id: http://tint2.googlecode.com/svn/trunk@630 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-05-22 08:25:40 +00:00
andreas.fink85
7797f8d318 *fix* register for the StructureNotifyEventMask early, since an icon can be created and unregistered directly after it, so we would 'forget' about it
git-svn-id: http://tint2.googlecode.com/svn/trunk@629 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-05-21 18:32:54 +00:00
o9000
97001249b5 *fix* segfault when cycling through tasks and taskbarname is enabled
git-svn-id: http://tint2.googlecode.com/svn/trunk@628 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-03-07 23:46:42 +00:00
andreas.fink85
25d1555150 *fix* test with config_background_mask rather than config_font_mask, since we check if the background was specified
git-svn-id: http://tint2.googlecode.com/svn/trunk@627 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-22 15:01:04 +00:00
o9000
f32d2bc7bf Fix segfault when a task state has no background in config
git-svn-id: http://tint2.googlecode.com/svn/trunk@626 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-20 22:47:32 +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
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
andreas.fink85
b3b26e199c *fix* battery: set background_id to 0 if none has been specified
git-svn-id: http://tint2.googlecode.com/svn/trunk@623 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-02-05 08:32:11 +00:00
Andreas.Fink85
602ba5aa9f *fix* issue 318
git-svn-id: http://tint2.googlecode.com/svn/trunk@622 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2011-01-09 14:06:36 +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
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
Andreas.Fink85
53c40d415d *fix* segfault when removing last virtual desktop while being on it
git-svn-id: http://tint2.googlecode.com/svn/trunk@619 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
2010-12-29 10:51:23 +00:00