lxde/lxpanel.git
2 years agoFix memory leaks on gtk_list_store_new() never unref'ed.
Andriy Grytsenko [Tue, 25 Oct 2016 09:33:41 +0000 (12:33 +0300)] 
Fix memory leaks on gtk_list_store_new() never unref'ed.

2 years ago[i18n] Czech translation update.
Pavel Fric [Mon, 24 Oct 2016 22:37:49 +0000 (01:37 +0300)] 
[i18n] Czech translation update.

2 years agoUse unrealize signal instead of destroy
Balló György [Fri, 26 Feb 2016 16:21:54 +0000 (17:21 +0100)] 
Use unrealize signal instead of destroy

Destroy is not suitable for saving widget state, and does not work on GTK+ 3. Use unrealize signal instead.

2 years agoUpdate POT file, Ukrainian and Russian translations.
Andriy Grytsenko [Mon, 24 Oct 2016 19:40:02 +0000 (22:40 +0300)] 
Update POT file, Ukrainian and Russian translations.

2 years agoFix make distcheck.
Andriy Grytsenko [Mon, 24 Oct 2016 19:39:33 +0000 (22:39 +0300)] 
Fix make distcheck.

2 years agoUpdate copyright years in About dialog.
Andriy Grytsenko [Mon, 24 Oct 2016 18:14:53 +0000 (21:14 +0300)] 
Update copyright years in About dialog.

2 years agoFix GTK+ 3.0 build, cairo-xlib functions were wrong.
Andriy Grytsenko [Sun, 23 Oct 2016 21:29:21 +0000 (00:29 +0300)] 
Fix GTK+ 3.0 build, cairo-xlib functions were wrong.

Taskbar is still wrong but otherwise it works basically.

2 years ago[SF#798] Fix PanelIconGrid allocation in rigth-to-left languages.
Andriy Grytsenko [Sun, 23 Oct 2016 19:57:36 +0000 (22:57 +0300)] 
[SF#798] Fix PanelIconGrid allocation in rigth-to-left languages.

x coordinate for icon in RTL was calculated wrong so first icon was placed out of grid.

2 years ago[SF#820] Fix "dynamic" panel width allocation.
Andriy Grytsenko [Sun, 23 Oct 2016 18:37:35 +0000 (21:37 +0300)] 
[SF#820] Fix "dynamic" panel width allocation.

2 years ago[SF#823] Fix crash on action on task which was deleted while task menu is opened.
Andriy Grytsenko [Sun, 23 Oct 2016 17:42:50 +0000 (20:42 +0300)] 
[SF#823] Fix crash on action on task which was deleted while task menu is opened.

This does not happen if task button has only task - it will be deleted and
menu attached to task button destroyed. Although if task button has few tasks
then while task is already deleted from task button, list of tasks still have
it so menu actions can be requested (for not existing now window), so crash.
Remove menu item from list should solve the issue.

2 years agoDon't create menu://applications/... when dropped on space, use id instead.
Andriy Grytsenko [Sun, 23 Oct 2016 00:06:14 +0000 (03:06 +0300)] 
Don't create menu://applications/... when dropped on space, use id instead.

2 years agoUpdate copyright years in headers.
Andriy Grytsenko [Sun, 23 Oct 2016 00:05:41 +0000 (03:05 +0300)] 
Update copyright years in headers.

2 years agoConfiguration dialog to the 'volume' plugin.
Andriy Grytsenko [Sun, 23 Oct 2016 00:03:39 +0000 (03:03 +0300)] 
Configuration dialog to the 'volume' plugin.

All the new settings available to choose and set, including preset of
discovered mixers, with ability to type own command as well.

2 years agoFix check for attempt to add a binding for the same hotkey which is already bound...
Andriy Grytsenko [Sat, 22 Oct 2016 21:00:28 +0000 (00:00 +0300)] 
Fix check for attempt to add a binding for the same hotkey which is already bound elsewhere.

2 years agoFix missing libkeybinder initialization (keybinding did not work).
Andriy Grytsenko [Sat, 22 Oct 2016 20:57:34 +0000 (23:57 +0300)] 
Fix missing libkeybinder initialization (keybinding did not work).

2 years agoAdd hotkey support into 'volume' plugin.
Andriy Grytsenko [Wed, 19 Oct 2016 22:48:09 +0000 (01:48 +0300)] 
Add hotkey support into 'volume' plugin.

This way it's possible to use multimedia keys for volume changing
directly by plugin instead of running external application by WM.

2 years agoSupport other than 'default' ALSA card in 'volume' plugin via 'CardNumber' setting.
Andriy Grytsenko [Wed, 19 Oct 2016 20:04:27 +0000 (23:04 +0300)] 
Support other than 'default' ALSA card in 'volume' plugin via 'CardNumber' setting.

2 years agoAdd support for 'PCM' and 'Headphone' channels for OSS mixer.
Andriy Grytsenko [Wed, 19 Oct 2016 20:02:56 +0000 (23:02 +0300)] 
Add support for 'PCM' and 'Headphone' channels for OSS mixer.

2 years agoMake 'volume' plugin a bit more configurable in panel config.
Andriy Grytsenko [Tue, 18 Oct 2016 22:31:40 +0000 (01:31 +0300)] 
Make 'volume' plugin a bit more configurable in panel config.

Added settings: MasterChannel, MuteButton, MixerButton, SliderButton

2 years agoUpdate two-panels user config template to use volume instead of volumealsa.
Andriy Grytsenko [Mon, 17 Oct 2016 22:25:56 +0000 (01:25 +0300)] 
Update two-panels user config template to use volume instead of volumealsa.

2 years agoMerge 'volume' and 'volumealsa' plugins into single plugin.
Andriy Grytsenko [Mon, 17 Oct 2016 21:43:51 +0000 (00:43 +0300)] 
Merge 'volume' and 'volumealsa' plugins into single plugin.

The merged plugin uses the same interface but different driver, in dependency
on how it was built - either OSS or ALSA interface is used.
Name 'volume' is used for simplicity while 'volumealsa' is supported for compatibility.

2 years agoMove plugins across panel by means of middle button drag and drop.
Andriy Grytsenko [Mon, 17 Oct 2016 18:28:11 +0000 (21:28 +0300)] 
Move plugins across panel by means of middle button drag and drop.

Middle-click it then drag, and plugin will follow the mouse until
middle button is released.

Some plugins required corrections on button press behavior, such as
release-triggering or explicit test for button == 1.

2 years agoStrip scheme from URI menu://applications/... on launcher creation.
Andriy Grytsenko [Mon, 17 Oct 2016 18:23:32 +0000 (21:23 +0300)] 
Strip scheme from URI menu://applications/... on launcher creation.

"app.desktop" should be used instead of "menu://applications/Other/app.desktop".

2 years agoImplementation of drag&drop files and launchers to some free panel space.
Andriy Grytsenko [Mon, 10 Oct 2016 23:44:59 +0000 (02:44 +0300)] 
Implementation of drag&drop files and launchers to some free panel space.

This should finally cover full support on drag&drop of launchers.

2 years agoFix dropping file on launchbar empty space, it's broken after movement implementation.
Andriy Grytsenko [Sun, 9 Oct 2016 21:16:33 +0000 (00:16 +0300)] 
Fix dropping file on launchbar empty space, it's broken after movement implementation.

2 years agoPanelIconGrid: use "border_width" attribute correctly.
Andriy Grytsenko [Sun, 9 Oct 2016 15:32:49 +0000 (18:32 +0300)] 
PanelIconGrid: use "border_width" attribute correctly.

It should be not around each child but around whole children area.
This was broken with launcher drag&drop implementation.

2 years agoPanelIconGrid: get/set child position via child property "position".
Andriy Grytsenko [Sun, 9 Oct 2016 00:09:39 +0000 (03:09 +0300)] 
PanelIconGrid: get/set child position via child property "position".

2 years agoImplementation of dragging launchers around launchbars (between panels too).
Andriy Grytsenko [Thu, 6 Oct 2016 20:06:04 +0000 (23:06 +0300)] 
Implementation of dragging launchers around launchbars (between panels too).

2 years agoInclude spacing into overall PanelIconGrid size to stay consistent.
Andriy Grytsenko [Wed, 5 Oct 2016 08:08:43 +0000 (11:08 +0300)] 
Include spacing into overall PanelIconGrid size to stay consistent.

In case if two the same widgets are placed one by another, gap between them will be
lesser than gap between children. The commit fixes that issue.

2 years agoImplemetation of dropping file or folder onto launch bar to create launcher.
Andriy Grytsenko [Tue, 4 Oct 2016 21:02:49 +0000 (00:02 +0300)] 
Implemetation of dropping file or folder onto launch bar to create launcher.

2 years agoCorrect PanelIconGrid allocation and enable focus painting on drag over launchbuttons.
Andriy Grytsenko [Mon, 3 Oct 2016 22:36:55 +0000 (01:36 +0300)] 
Correct PanelIconGrid allocation and enable focus painting on drag over launchbuttons.

2 years agoConvert launch button into a widget class for more easy management.
Andriy Grytsenko [Mon, 3 Oct 2016 00:02:18 +0000 (03:02 +0300)] 
Convert launch button into a widget class for more easy management.

2 years agoAdjust PanelIconGrid: min spacing is now 1, no_window flag is now left unset by default.
Andriy Grytsenko [Sun, 2 Oct 2016 20:11:59 +0000 (23:11 +0300)] 
Adjust PanelIconGrid: min spacing is now 1, no_window flag is now left unset by default.

2 years agoAdded APIs: panel_icon_grid_get_dest_at_pos, panel_icon_grid_set_drag_dest
Andriy Grytsenko [Sat, 1 Oct 2016 11:54:58 +0000 (14:54 +0300)] 
Added APIs: panel_icon_grid_get_dest_at_pos, panel_icon_grid_set_drag_dest

Those API will draw focus for drag & drop operations.

3 years agoUpdate visibility attributes as well after window was removed from task button.
Andriy Grytsenko [Tue, 29 Mar 2016 14:32:02 +0000 (17:32 +0300)] 
Update visibility attributes as well after window was removed from task button.

3 years agoFix crash on task bar after last active window was removed from class list.
Andriy Grytsenko [Tue, 29 Mar 2016 13:26:44 +0000 (16:26 +0300)] 
Fix crash on task bar after last active window was removed from class list.

3 years agoFix incorrect parsing of --panel=... in lxpanelctl.
Andriy Grytsenko [Tue, 22 Mar 2016 00:26:59 +0000 (02:26 +0200)] 
Fix incorrect parsing of --panel=... in lxpanelctl.

3 years agoImplemented "lxpanelctl command ..." to send message to panel plugin.
Andriy Grytsenko [Mon, 21 Mar 2016 10:37:31 +0000 (12:37 +0200)] 
Implemented "lxpanelctl command ..." to send message to panel plugin.

3 years agoDocumentation updates: AUTHORS, ChangeLog, VERSIONING
Andriy Grytsenko [Sat, 19 Mar 2016 21:53:32 +0000 (23:53 +0200)] 
Documentation updates: AUTHORS, ChangeLog, VERSIONING

3 years agoGet rid of gdk_screen_get_default(), be exact with panel screen.
Andriy Grytsenko [Sat, 19 Mar 2016 21:14:58 +0000 (23:14 +0200)] 
Get rid of gdk_screen_get_default(), be exact with panel screen.

3 years agoFix it again, previous fix did not work.
Andriy Grytsenko [Sat, 19 Mar 2016 18:01:12 +0000 (20:01 +0200)] 
Fix it again, previous fix did not work.

3 years agoFix showing unneeded items in right-clock menu from tasks list menu.
Andriy Grytsenko [Sat, 19 Mar 2016 10:06:57 +0000 (12:06 +0200)] 
Fix showing unneeded items in right-clock menu from tasks list menu.

gtk_widget_show() should be used, not gtk_widget_show_all()

3 years agoRemove leftover prints from TaskPlugin development.
Andriy Grytsenko [Fri, 18 Mar 2016 12:05:36 +0000 (14:05 +0200)] 
Remove leftover prints from TaskPlugin development.

3 years agoFix group button not redrawing after some window was deleted.
Andriy Grytsenko [Fri, 18 Mar 2016 09:22:23 +0000 (11:22 +0200)] 
Fix group button not redrawing after some window was deleted.

3 years agoplugins/task-button.c: add conventional macro task_redraw_label()
Andriy Grytsenko [Fri, 18 Mar 2016 09:21:29 +0000 (11:21 +0200)] 
plugins/task-button.c: add conventional macro task_redraw_label()

3 years agoFix for illegal structure change in plugin.h by previous commit.
Andriy Grytsenko [Thu, 17 Mar 2016 23:31:38 +0000 (01:31 +0200)] 
Fix for illegal structure change in plugin.h by previous commit.

Also simplified calls to g_dgettext(), NULL may be passed to it.

3 years agoadd optional gettext_package to plugin descriptor for plugin i18n
Hanno Zulla [Fri, 30 Jan 2015 14:43:22 +0000 (14:43 +0000)] 
add optional gettext_package to plugin descriptor for plugin i18n

3 years agoConvert taskbar button into a widget TaskButton (from GtkToggleButton).
Andriy Grytsenko [Thu, 17 Mar 2016 22:17:47 +0000 (00:17 +0200)] 
Convert taskbar button into a widget TaskButton (from GtkToggleButton).

This conversion not just makes code more readable but also maked drag&drop
and menus operations more smooth and predictable.

3 years agoConvert space plugin to PanelSpace widget.
Andriy Grytsenko [Sat, 12 Mar 2016 13:16:18 +0000 (15:16 +0200)] 
Convert space plugin to PanelSpace widget.

This will be required later for drag&drop support.

3 years agoMove space plugin code from plugins/ into src/ directory.
Andriy Grytsenko [Sat, 12 Mar 2016 12:57:15 +0000 (14:57 +0200)] 
Move space plugin code from plugins/ into src/ directory.

It is anyway a built-in plugin.

3 years ago[SF#799]Fix weather locations query (since YQL was changed recently).
Andriy Grytsenko [Fri, 11 Mar 2016 23:22:06 +0000 (01:22 +0200)] 
[SF#799]Fix weather locations query (since YQL was changed recently).

3 years agoUpdated the lxpanel man page which was outdated.
Andriy Grytsenko [Fri, 26 Feb 2016 13:17:09 +0000 (15:17 +0200)] 
Updated the lxpanel man page which was outdated.

3 years agoChanging path to the Debian copy of GPL2 licence in man files.
Andriy Grytsenko [Fri, 26 Feb 2016 12:49:23 +0000 (14:49 +0200)] 
Changing path to the Debian copy of GPL2 licence in man files.

See LP#1490098

3 years agobatt plugin: Fix with GTK3
Balló György [Sat, 20 Feb 2016 10:46:55 +0000 (11:46 +0100)] 
batt plugin: Fix with GTK3

3 years agoRevert "Automatic translation update from Pootle"
Andriy Grytsenko [Sat, 20 Feb 2016 21:25:05 +0000 (23:25 +0200)] 
Revert "Automatic translation update from Pootle"

This reverts commit c826e570c515ae69612fe09a91cd0239b12a7b3f.

Pootle gone crazy this time.

3 years agoAutomatic translation update from Pootle
Pootle LXDE [Sat, 20 Feb 2016 20:12:11 +0000 (20:12 +0000)] 
Automatic translation update from Pootle

3 years agolaunchtaskbar: fix scroll event with GTK3
Balló György [Mon, 3 Aug 2015 11:49:20 +0000 (13:49 +0200)] 
launchtaskbar: fix scroll event with GTK3

3 years agobatt plugin: Fix with GTK3
Balló György [Mon, 3 Aug 2015 01:44:21 +0000 (03:44 +0200)] 
batt plugin: Fix with GTK3

expose-event is not available on GTK3.

3 years agoAdd few improvements on galt_gendo patch
Andriy Grytsenko [Fri, 12 Feb 2016 19:18:09 +0000 (21:18 +0200)] 
Add few improvements on galt_gendo patch

- added safeguards on arguments for lxpanel_get_preferred_* callbacks
- added comments about missing get_preferred_* callbacks in NetstatusIcon
- simplified variations "expose-event" vs "draw" callbacks for easier review later

3 years agoPatch for building LXPanel with GTK3
Rafał Mużyło [Wed, 14 Jan 2015 06:00:00 +0000 (07:00 +0100)] 
Patch for building LXPanel with GTK3

3 years agonetstat: some fixes for GTK3
Balló György [Sat, 1 Aug 2015 16:56:07 +0000 (18:56 +0200)] 
netstat: some fixes for GTK3

3 years agoSubstitute the correct GTK+ version in pkgconfig file
Balló György [Sat, 1 Aug 2015 18:39:50 +0000 (20:39 +0200)] 
Substitute the correct GTK+ version in pkgconfig file

3 years agoReplace old, unused commands
Balló György [Mon, 3 Aug 2015 21:28:59 +0000 (23:28 +0200)] 
Replace old, unused commands

- Use notify send instead of xmessage
- Use nm-connection-editor instead of network-admin

3 years agoFix memory leak on 'indicator' plugin destruction.
Andriy Grytsenko [Sat, 2 Jan 2016 21:14:17 +0000 (23:14 +0200)] 
Fix memory leak on 'indicator' plugin destruction.

3 years agodeskno: support scroll wheel
cel [Wed, 10 Feb 2016 04:02:37 +0000 (23:02 -0500)] 
deskno: support scroll wheel

https://sourceforge.net/p/lxde/patches/525/

3 years agobatt: update display immediately during configuration
Henry Gebhardt [Sun, 29 Nov 2015 18:14:09 +0000 (13:14 -0500)] 
batt: update display immediately during configuration

3 years agobatt: select battery number to monitor
Stanislav Kozina, Ersin [Sun, 29 Nov 2015 17:59:54 +0000 (12:59 -0500)] 
batt: select battery number to monitor

https://sourceforge.net/p/lxde/patches/524/

3 years agoindicators plugin : don't load indicators in the constructor, already done in configu...
Julien Lavergne [Tue, 20 Oct 2015 15:19:28 +0000 (17:19 +0200)] 
indicators plugin : don't load indicators in the constructor, already done in configuration functions. It may load the indicators twice.

3 years agoFix crash with invalid size of icon in _NET_WM_ICON property.
Andriy Grytsenko [Tue, 13 Oct 2015 16:54:56 +0000 (19:54 +0300)] 
Fix crash with invalid size of icon in _NET_WM_ICON property.

Reported by Lutz Fischer <fischerlutz76@yahoo.com> in Debian BTS, bug #801319

4 years agoFix Copyright statements in plugins/* files, "LxDE Developers" in not a legal entity...
Andriy Grytsenko [Sun, 21 Jun 2015 20:11:10 +0000 (23:11 +0300)] 
Fix Copyright statements in plugins/* files, "LxDE Developers" in not a legal entity so cannot be used.

4 years agoFix Copyright statements in src/* files, "LxDE Developers" in not a legal entity...
Andriy Grytsenko [Sun, 21 Jun 2015 17:13:57 +0000 (20:13 +0300)] 
Fix Copyright statements in src/* files, "LxDE Developers" in not a legal entity so cannot be used.

4 years agoAdd .PHONY for phony target in src/Makefile
Andriy Grytsenko [Mon, 15 Jun 2015 16:53:44 +0000 (19:53 +0300)] 
Add .PHONY for phony target in src/Makefile

4 years ago[SF#753] Fix incorrect panel geometry initialization.
Andriy Grytsenko [Mon, 15 Jun 2015 15:27:10 +0000 (18:27 +0300)] 
[SF#753] Fix incorrect panel geometry initialization.

The [panel].inialized is used to follow GUI initialization, it cannot be used
to check if configure was called first time, panel reconfigure just have to
skip resetting the value if orientation wasn't changed - that can be applied
for both cases where it changed:
- the panel is new one with vertical orientation;
- the panel orientation was changed in the configuration dialog;
and in all cases where it doesn't:
- the panel is new one with horisontal orientation (use default values);
- the panel orientation was not changed;
- the panel geometry was initialized from config.

4 years ago[SF#758] Fix crash in taskbar plugin after number of desktops was updated.
Andriy Grytsenko [Mon, 15 Jun 2015 11:54:48 +0000 (14:54 +0300)] 
[SF#758] Fix crash in taskbar plugin after number of desktops was updated.

The pointer to invalid menu item was not reset, what's a shame.

4 years agoRe-check local modules so refresh them when linking into lxpanel binary
Andriy Grytsenko [Mon, 15 Jun 2015 11:53:24 +0000 (14:53 +0300)] 
Re-check local modules so refresh them when linking into lxpanel binary

4 years agodebian/*: build lxpanel-indicator-applet-plugin package in Lubuntu PPA.
Andriy Grytsenko [Sun, 7 Jun 2015 21:39:06 +0000 (00:39 +0300)] 
debian/*: build lxpanel-indicator-applet-plugin package in Lubuntu PPA.

4 years agoFix lxpanel.pc dependencies - it should depend on gtk+-2.0, not just glib.
Andriy Grytsenko [Sat, 6 Jun 2015 18:55:02 +0000 (21:55 +0300)] 
Fix lxpanel.pc dependencies - it should depend on gtk+-2.0, not just glib.

4 years agoAutomatic commit from Pootle 2.7.0a1
LXDE Pootle [Sat, 30 May 2015 19:48:37 +0000 (21:48 +0200)] 
Automatic commit from Pootle 2.7.0a1

4 years agoRelease 0.8.1. 0.8.1
Andriy Grytsenko [Wed, 6 May 2015 19:42:35 +0000 (22:42 +0300)] 
Release 0.8.1.

4 years agoAutomatic commit from Pootle 2.7.0a1
LXDE Pootle [Wed, 6 May 2015 12:03:12 +0000 (14:03 +0200)] 
Automatic commit from Pootle 2.7.0a1

4 years ago[SF#731] Fix wrong task button activation on not processed drag of button.
Andriy Grytsenko [Sat, 2 May 2015 15:31:42 +0000 (18:31 +0300)] 
[SF#731] Fix wrong task button activation on not processed drag of button.

This might happen if drag started at button edge so treshold wasn't reached.

4 years ago[SF#733] Fix 'dclock' updating that it will show time on start or config change.
Andriy Grytsenko [Sat, 2 May 2015 14:42:16 +0000 (17:42 +0300)] 
[SF#733] Fix 'dclock' updating that it will show time on start or config change.

Don't do it just on next change of system timer.
It would create impression it's slow otherwise.

4 years ago[SF#730] Fix initial icon on 'volumealsa' to show real state instead of muted.
Andriy Grytsenko [Sat, 2 May 2015 14:20:59 +0000 (17:20 +0300)] 
[SF#730] Fix initial icon on 'volumealsa' to show real state instead of muted.

The call to volumealsa_update_current_icon() was missed while
volumealsa_update_display() which was called never updates icon.

4 years ago[SF#706] Send reconfigure to plugings on idle, not from spin button callback.
Andriy Grytsenko [Sat, 2 May 2015 09:22:16 +0000 (12:22 +0300)] 
[SF#706] Send reconfigure to plugings on idle, not from spin button callback.

The reconfigure is heavy for some plugins and therefore duplicate reconfigure
may lead to button release loss, and that may be a disaster up to panel crash.

4 years agoRevert "Fix plugins update on panel height change: reconfigure callback was missing."
Andriy Grytsenko [Sat, 2 May 2015 08:18:45 +0000 (11:18 +0300)] 
Revert "Fix plugins update on panel height change: reconfigure callback was missing."

This reverts commit 950467d81b9503fc4e43dcd6f8906d191561a95b.

If we do heavy operation on button click then we have a big chance the button
release is lost and it will be disaster. In any case this isn't required when
panel size changes as queued panel resize will update plugins anyway.

4 years ago[SF#727]Fix incorrect temperature sensors detection.
Andriy Grytsenko [Fri, 1 May 2015 23:26:00 +0000 (02:26 +0300)] 
[SF#727]Fix incorrect temperature sensors detection.

It hasn't really downed to /sys/class/hwmon/hwmonX if the directory
/sys/class/hwmon/hwmonX/device existed but no sensors found in it.

4 years ago[SF#645] Fix incorrect cycle in netproc_devicelist_clear()
Andriy Grytsenko [Fri, 1 May 2015 17:03:45 +0000 (20:03 +0300)] 
[SF#645] Fix incorrect cycle in netproc_devicelist_clear()

Invalid reference pointer lead to crash in netstat plugin on resume after suspend.

4 years agoCommit from LXDE Pootle server by user wwycheuk.: 1137 of 1422 strings translated...
wwycheuk [Sat, 21 Mar 2015 00:19:52 +0000 (00:19 +0000)] 
Commit from LXDE Pootle server by user wwycheuk.: 1137 of 1422 strings translated (126 need review).

4 years agobatt: fix #720, status is charged, when discharge rate is 0
Henry Gebhardt [Wed, 11 Feb 2015 05:28:51 +0000 (00:28 -0500)] 
batt: fix #720, status is charged, when discharge rate is 0

https://sourceforge.net/p/lxde/bugs/720/

4 years agoReverse order of src/ and plugins/ in root Makefile to fix libtool relinking.
Andriy Grytsenko [Wed, 31 Dec 2014 18:34:17 +0000 (20:34 +0200)] 
Reverse order of src/ and plugins/ in root Makefile to fix libtool relinking.

Change in commit 66f3dd366e7bcfa91429107e05c452c9ff6e1a65 was incorrect.
Otherwise it fails on make install.

4 years agoAdd BUILT_SOURCES into plugins/Makefile to fix build.
Andriy Grytsenko [Mon, 29 Dec 2014 21:22:40 +0000 (23:22 +0200)] 
Add BUILT_SOURCES into plugins/Makefile to fix build.

4 years agoCommit from LXDE Pootle server by user rago1975.: 1199 of 1326 strings translated...
rago1975 [Sun, 21 Dec 2014 02:12:06 +0000 (02:12 +0000)] 
Commit from LXDE Pootle server by user rago1975.: 1199 of 1326 strings translated (17 need review).

4 years agoFix update 'indicator' plugin on configuration changes.
Andriy Grytsenko [Sun, 14 Dec 2014 16:16:14 +0000 (18:16 +0200)] 
Fix update 'indicator' plugin on configuration changes.

The whole container manipulations were invalid and changes
between "no indicators" and "some indicators" states never worked.

4 years agoCorrect background for 'indicator' plugin - it should use panel settings.
Andriy Grytsenko [Sun, 14 Dec 2014 15:39:04 +0000 (17:39 +0200)] 
Correct background for 'indicator' plugin - it should use panel settings.

The using default style is not correct, panel will handle it itself.

4 years agoDisable writing debug messages to file when 'indicator' plugin is in use.
Andriy Grytsenko [Sun, 14 Dec 2014 15:36:57 +0000 (17:36 +0200)] 
Disable writing debug messages to file when 'indicator' plugin is in use.

It will write all the debug into some specific hardcoded file and
that changes the common behavior which was not intended really.

4 years agoCommit from LXDE Pootle server by user rago1975.: 1123 of 1326 strings translated...
rago1975 [Sat, 13 Dec 2014 22:19:54 +0000 (22:19 +0000)] 
Commit from LXDE Pootle server by user rago1975.: 1123 of 1326 strings translated (31 need review).

4 years agoFix wrong PanelIconGrid arrangement in vertical panel orientation.
Andriy Grytsenko [Sat, 13 Dec 2014 18:39:38 +0000 (20:39 +0200)] 
Fix wrong PanelIconGrid arrangement in vertical panel orientation.

The size request missed spacing in width calculation for vertical orientation.

4 years agoFix icon for task button that retrieved using WM_HINTS.
Andriy Grytsenko [Sat, 13 Dec 2014 16:07:28 +0000 (18:07 +0200)] 
Fix icon for task button that retrieved using WM_HINTS.

The icon from WM_HINTS is not a GDK_WINDOW so plugin failed to get colormap for it
and therefore could not build a pixmap and used a generic icon instead.
Since every panel uses only one screen, it's safe to use that screen's colormap.

4 years agoFix expand setting on plugins with default_expand when more than one is available...
Andriy Grytsenko [Sat, 13 Dec 2014 12:13:11 +0000 (14:13 +0200)] 
Fix expand setting on plugins with default_expand when more than one is available on panel.

It should not be set implicitly, otherwise it is replaced with default_expand.

Also updated docs a bit in src/panel.h.

4 years agoCorrectly disconnect handlers taskbar_button_{enter,leave} when destroying Task.
Andriy Grytsenko [Tue, 9 Dec 2014 21:33:15 +0000 (23:33 +0200)] 
Correctly disconnect handlers taskbar_button_{enter,leave} when destroying Task.

That might be a source of crash problem reported in SF bug #718.