lxde/lxpanel.git
5 years agoFix invalid config search path.
Andriy Grytsenko [Tue, 16 Sep 2014 20:55:55 +0000 (23:55 +0300)] 
Fix invalid config search path.

Big thanks for agaida and jcsl for finding this bug.

5 years agoUpdate ChangeLog file.
Andriy Grytsenko [Sun, 14 Sep 2014 22:53:12 +0000 (01:53 +0300)] 
Update ChangeLog file.

5 years agoAdd missing files into distro tarball.
Andriy Grytsenko [Sun, 14 Sep 2014 21:52:31 +0000 (00:52 +0300)] 
Add missing files into distro tarball.

5 years agoGet rid of all individual makefiles in plugins/*/
Andriy Grytsenko [Sun, 14 Sep 2014 21:31:57 +0000 (00:31 +0300)] 
Get rid of all individual makefiles in plugins/*/

The plugins/Makefile.am can handle them all and adding a simple plugin basically
would mean to add three lines into that file instead of writing whole Makefile.am.

5 years agothermal plugin: rename setting 'CustomLevels' into appropriate 'AutomaticLevels'.
Andriy Grytsenko [Fri, 12 Sep 2014 14:04:09 +0000 (17:04 +0300)] 
thermal plugin: rename setting 'CustomLevels' into appropriate 'AutomaticLevels'.

5 years ago[SF#671] The "alias" config in 'weather' plugin may be numeric, not string.
Andriy Grytsenko [Wed, 10 Sep 2014 22:37:07 +0000 (01:37 +0300)] 
[SF#671] The "alias" config in 'weather' plugin may be numeric, not string.

Since current config is weak about numeric strings, we should handle both.

5 years agoFix lxpanel.pc, it has unrequested dependency on libmenu-cache.
Andriy Grytsenko [Tue, 9 Sep 2014 14:22:36 +0000 (17:22 +0300)] 
Fix lxpanel.pc, it has unrequested dependency on libmenu-cache.

5 years agoPlugin 'thermal': compare temperatures with criticals more accurately.
Andriy Grytsenko [Mon, 1 Sep 2014 12:11:15 +0000 (15:11 +0300)] 
Plugin 'thermal': compare temperatures with criticals more accurately.

Each sensor may have different critical level and in case of autolevels
each individual temp have to be compared with individual critical.

5 years agoImprove search for hw sensors in /sys/class/hwmon/
Andriy Grytsenko [Mon, 1 Sep 2014 11:35:29 +0000 (14:35 +0300)] 
Improve search for hw sensors in /sys/class/hwmon/

It appears that some devices put sensors under device/ but some not.
And also we need to support more than one sensors device hwmon0.

5 years ago[SF#FR#252]Don't use forged font description but set from style instead.
Andriy Grytsenko [Mon, 1 Sep 2014 01:39:33 +0000 (04:39 +0300)] 
[SF#FR#252]Don't use forged font description but set from style instead.

The panel_draw_label_text() should not forge font size - GtkStyle already has
the preferred font description so use it when using own font size is disabled.

5 years agoDon't change XDG_MENU_PREFIX, just prefix menu cache, the same as libfm does.
Andriy Grytsenko [Sat, 30 Aug 2014 19:46:11 +0000 (22:46 +0300)] 
Don't change XDG_MENU_PREFIX, just prefix menu cache, the same as libfm does.

5 years agoimprove dragging of task button in launchtaskbar
Raimar Bühmann [Tue, 26 Aug 2014 19:02:59 +0000 (21:02 +0200)] 
improve dragging of task button in launchtaskbar

* dragging of task button in launchtaskbar do not switch task between
  iconified and restored anymore

5 years agoCommit from LXDE Pootle server by user andika.: 1248 of 1248 strings translated ...
andika [Tue, 26 Aug 2014 11:19:40 +0000 (11:19 +0000)] 
Commit from LXDE Pootle server by user andika.: 1248 of 1248 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user psokol.: 1202 of 1336 strings translated ...
psokol [Mon, 25 Aug 2014 20:19:31 +0000 (20:19 +0000)] 
Commit from LXDE Pootle server by user psokol.: 1202 of 1336 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user smarquespt.: 1202 of 1336 strings translated...
smarquespt [Mon, 25 Aug 2014 09:27:32 +0000 (09:27 +0000)] 
Commit from LXDE Pootle server by user smarquespt.: 1202 of 1336 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user KlemenKosir.: 1194 of 1336 strings translated...
KlemenKosir [Fri, 22 Aug 2014 13:55:52 +0000 (13:55 +0000)] 
Commit from LXDE Pootle server by user KlemenKosir.: 1194 of 1336 strings translated (8 need review).

5 years agoCommit from LXDE Pootle server by user KlemenKosir.: 1186 of 1336 strings translated...
KlemenKosir [Fri, 22 Aug 2014 13:49:40 +0000 (13:49 +0000)] 
Commit from LXDE Pootle server by user KlemenKosir.: 1186 of 1336 strings translated (8 need review).

5 years ago'launchbar' plugin shouldn't be marked expandable, that confuses users.
Andriy Grytsenko [Sat, 23 Aug 2014 15:37:23 +0000 (18:37 +0300)] 
'launchbar' plugin shouldn't be marked expandable, that confuses users.

5 years agoFix incorrect data array definitions in the 'weather' plugin.
Andriy Grytsenko [Sat, 23 Aug 2014 11:19:02 +0000 (14:19 +0300)] 
Fix incorrect data array definitions in the 'weather' plugin.

5 years agoFix incorrect data array definition in mem_update() @ plugins/monitors/monitors.c.
Andriy Grytsenko [Sat, 23 Aug 2014 11:03:10 +0000 (14:03 +0300)] 
Fix incorrect data array definition in mem_update() @ plugins/monitors/monitors.c.

5 years agodebian: build from GIT requires gtk-doc-tools so adding it to debian/control.
Andriy Grytsenko [Sat, 23 Aug 2014 02:25:26 +0000 (05:25 +0300)] 
debian: build from GIT requires gtk-doc-tools so adding it to debian/control.

5 years agodebian: sync with debian packaging.
Andriy Grytsenko [Sat, 23 Aug 2014 00:53:12 +0000 (03:53 +0300)] 
debian: sync with debian packaging.

5 years agoDon't use $sysconfdir but XDG_CONFIG_DIRS should be used for search.
Andriy Grytsenko [Fri, 22 Aug 2014 13:02:16 +0000 (16:02 +0300)] 
Don't use $sysconfdir but XDG_CONFIG_DIRS should be used for search.

5 years ago[SF#663]Parse RC file in accordance with profile.
Andriy Grytsenko [Fri, 22 Aug 2014 12:27:25 +0000 (15:27 +0300)] 
[SF#663]Parse RC file in accordance with profile.

It was incorrect to set RC file while command line args not parsed yet.

5 years agofix crash after click on empty part of panel
Raimar [Thu, 21 Aug 2014 21:21:28 +0000 (23:21 +0200)] 
fix crash after click on empty part of panel

5 years agoCommit from LXDE Pootle server by user kizito.: 1264 of 1398 strings translated ...
kizito [Thu, 21 Aug 2014 16:48:13 +0000 (16:48 +0000)] 
Commit from LXDE Pootle server by user kizito.: 1264 of 1398 strings translated (0 need review).

5 years agoMerge branch 'master' of git.lxde.org:/lxde/lxpanel
LXDE Pootle [Thu, 21 Aug 2014 16:01:58 +0000 (16:01 +0000)] 
Merge branch 'master' of git.lxde.org:/lxde/lxpanel

5 years agoRelease 0.7.0. 0.7.0
Andriy Grytsenko [Thu, 21 Aug 2014 14:50:53 +0000 (17:50 +0300)] 
Release 0.7.0.

5 years agoFix translation file error in Spanish PO file.
Andriy Grytsenko [Thu, 21 Aug 2014 15:40:20 +0000 (18:40 +0300)] 
Fix translation file error in Spanish PO file.

5 years agoCommit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated...
LStranger [Thu, 21 Aug 2014 15:38:50 +0000 (15:38 +0000)] 
Commit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user dforsi.: 1193 of 1336 strings translated ...
dforsi [Thu, 21 Aug 2014 07:45:25 +0000 (07:45 +0000)] 
Commit from LXDE Pootle server by user dforsi.: 1193 of 1336 strings translated (9 need review).

5 years agoCommit from LXDE Pootle server by user mbouzada.: 1202 of 1336 strings translated...
mbouzada [Thu, 21 Aug 2014 06:35:19 +0000 (06:35 +0000)] 
Commit from LXDE Pootle server by user mbouzada.: 1202 of 1336 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user Fitoschido.: 1202 of 1336 strings translated...
Fitoschido [Thu, 21 Aug 2014 02:53:25 +0000 (02:53 +0000)] 
Commit from LXDE Pootle server by user Fitoschido.: 1202 of 1336 strings translated (0 need review).

5 years agoMerge branch 'master' of git.lxde.org:/lxde/lxpanel
LXDE Pootle [Thu, 21 Aug 2014 02:32:49 +0000 (02:32 +0000)] 
Merge branch 'master' of git.lxde.org:/lxde/lxpanel

5 years agoCommit from LXDE Pootle server by user yinghua_wang.: 1201 of 1336 strings translated...
yinghua_wang [Thu, 21 Aug 2014 02:32:18 +0000 (02:32 +0000)] 
Commit from LXDE Pootle server by user yinghua_wang.: 1201 of 1336 strings translated (1 need review).

5 years agoFix bootstrap button appearance in empty launchbar.
Andriy Grytsenko [Wed, 20 Aug 2014 23:50:58 +0000 (02:50 +0300)] 
Fix bootstrap button appearance in empty launchbar.

5 years agoDo restart of process more correct way - using execve() after correct finalizing.
Andriy Grytsenko [Wed, 20 Aug 2014 22:55:09 +0000 (01:55 +0300)] 
Do restart of process more correct way - using execve() after correct finalizing.

5 years agoFix crash after 'lxpanelctl exit' command.
Andriy Grytsenko [Wed, 20 Aug 2014 22:47:11 +0000 (01:47 +0300)] 
Fix crash after 'lxpanelctl exit' command.

5 years ago[SF#660]Fix: PanelIconGrid cannot be shown again when children come 0 -> 1.
Andriy Grytsenko [Wed, 20 Aug 2014 20:51:48 +0000 (23:51 +0300)] 
[SF#660]Fix: PanelIconGrid cannot be shown again when children come 0 -> 1.

It was not correct to call gtk_widget_show()/gtk_widget_hide() in the
size request callback.

5 years agoA little optimization with global config saving.
Andriy Grytsenko [Wed, 20 Aug 2014 14:26:33 +0000 (17:26 +0300)] 
A little optimization with global config saving.

5 years agoA little optimization for get_widget_index() in configurator.
Andriy Grytsenko [Wed, 20 Aug 2014 12:17:57 +0000 (15:17 +0300)] 
A little optimization for get_widget_index() in configurator.

5 years agoCommit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated...
LStranger [Wed, 20 Aug 2014 11:43:49 +0000 (11:43 +0000)] 
Commit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated...
LStranger [Wed, 20 Aug 2014 11:31:31 +0000 (11:31 +0000)] 
Commit from LXDE Pootle server by user LStranger.: 1202 of 1336 strings translated (0 need review).

5 years agoMerge branch 'master' of git.lxde.org:/lxde/lxpanel
LXDE Pootle [Wed, 20 Aug 2014 11:01:23 +0000 (11:01 +0000)] 
Merge branch 'master' of git.lxde.org:/lxde/lxpanel

5 years ago[l10n] POT file update.
Andriy Grytsenko [Wed, 20 Aug 2014 10:58:57 +0000 (13:58 +0300)] 
[l10n] POT file update.

5 years agoFix memory allocation issues in src/bg.c
Andriy Grytsenko [Wed, 20 Aug 2014 10:22:47 +0000 (13:22 +0300)] 
Fix memory allocation issues in src/bg.c

5 years agoUnify all the logging: remove ERR() and LOG(), all log_level* variables, --log option.
Andriy Grytsenko [Wed, 20 Aug 2014 08:36:24 +0000 (11:36 +0300)] 
Unify all the logging: remove ERR() and LOG(), all log_level* variables, --log option.

The macros ENTER, RET(), and DBG() are left for 'make -DDEBUG' with
excess flood log for detailed debugging if someone would want it.

In case if someone would want to change logging there are G_MESSAGES_DEBUG
and G_MESSAGES_PREFIXED environment variables for GLib logging.

5 years agoCommit from LXDE Pootle server by user sotrud_nik.: 1230 of 1304 strings translated...
sotrud_nik [Wed, 20 Aug 2014 03:00:52 +0000 (03:00 +0000)] 
Commit from LXDE Pootle server by user sotrud_nik.: 1230 of 1304 strings translated (0 need review).

5 years agoReordering of functions in src/panel.c, just for better grouping.
Andriy Grytsenko [Wed, 20 Aug 2014 00:25:15 +0000 (03:25 +0300)] 
Reordering of functions in src/panel.c, just for better grouping.

5 years agoDon't connect on signals on LXPanel - it's an object, use built-in handlers.
Andriy Grytsenko [Wed, 20 Aug 2014 00:03:36 +0000 (03:03 +0300)] 
Don't connect on signals on LXPanel - it's an object, use built-in handlers.

5 years agoSet GDK_WINDOW_TYPE_HINT_DOCK on panel or panels will hide on "show desktop" button.
Andriy Grytsenko [Tue, 19 Aug 2014 22:56:16 +0000 (01:56 +0300)] 
Set GDK_WINDOW_TYPE_HINT_DOCK on panel or panels will hide on "show desktop" button.

5 years agoFew strings corrections.
Andriy Grytsenko [Tue, 19 Aug 2014 22:03:26 +0000 (01:03 +0300)] 
Few strings corrections.

5 years agoMove lxpanel_generic_config_dlg() declaration from misc.h into plugin.h.
Andriy Grytsenko [Tue, 19 Aug 2014 15:04:07 +0000 (18:04 +0300)] 
Move lxpanel_generic_config_dlg() declaration from misc.h into plugin.h.

That function is used by many plugins so that's more appropriate.

5 years agoMove panel_handle_x_error*() from panel.* to misc.*, it's more appropriate.
Andriy Grytsenko [Tue, 19 Aug 2014 14:40:54 +0000 (17:40 +0300)] 
Move panel_handle_x_error*() from panel.* to misc.*, it's more appropriate.

5 years agoMove extern gchar *cprofile declaration from panel.h to private.h.
Andriy Grytsenko [Tue, 19 Aug 2014 14:36:17 +0000 (17:36 +0300)] 
Move extern gchar *cprofile declaration from panel.h to private.h.

5 years agoMove all Atom a_* declarations from panel.h to misc.h where they belong to.
Andriy Grytsenko [Tue, 19 Aug 2014 14:32:05 +0000 (17:32 +0300)] 
Move all Atom a_* declarations from panel.h to misc.h where they belong to.

5 years agoEnable gtk_run() (so 'lxpanelctl run' as well) without libmenu-cache.
Andriy Grytsenko [Tue, 19 Aug 2014 14:20:28 +0000 (17:20 +0300)] 
Enable gtk_run() (so 'lxpanelctl run' as well) without libmenu-cache.

It will just lack completion of course.

5 years agoUse fm_show_error instead of gtk_message_dialog_new in panel_popupmenu_create_panel.
Andriy Grytsenko [Tue, 19 Aug 2014 13:07:52 +0000 (16:07 +0300)] 
Use fm_show_error instead of gtk_message_dialog_new in panel_popupmenu_create_panel.

5 years agoUpdate documentations in panel.h header file.
Andriy Grytsenko [Mon, 18 Aug 2014 22:59:18 +0000 (01:59 +0300)] 
Update documentations in panel.h header file.

5 years agoMove few declarations from C files into private.h file.
Andriy Grytsenko [Mon, 18 Aug 2014 22:27:18 +0000 (01:27 +0300)] 
Move few declarations from C files into private.h file.

5 years agoCommit from LXDE Pootle server by user mbouzada.: 1230 of 1304 strings translated...
mbouzada [Mon, 18 Aug 2014 20:44:17 +0000 (20:44 +0000)] 
Commit from LXDE Pootle server by user mbouzada.: 1230 of 1304 strings translated (0 need review).

5 years agoDon't duplicate popup position calculations in lxpanel_plugin_adjust_popup_position().
Andriy Grytsenko [Mon, 18 Aug 2014 20:27:38 +0000 (23:27 +0300)] 
Don't duplicate popup position calculations in lxpanel_plugin_adjust_popup_position().

The lxpanel_plugin_popup_set_position_helper() has already those calculations.

5 years agoFix usage of constrain-width attribute of PanelIconGrid in size_allocate method.
Andriy Grytsenko [Mon, 18 Aug 2014 19:00:22 +0000 (22:00 +0300)] 
Fix usage of constrain-width attribute of PanelIconGrid in size_allocate method.

5 years agoCommit from LXDE Pootle server by user kizito.: 1292 of 1366 strings translated ...
kizito [Mon, 18 Aug 2014 16:14:45 +0000 (16:14 +0000)] 
Commit from LXDE Pootle server by user kizito.: 1292 of 1366 strings translated (0 need review).

5 years agoEliminate illegal gtk_widget_set_has_window() calls.
Andriy Grytsenko [Mon, 18 Aug 2014 11:28:44 +0000 (14:28 +0300)] 
Eliminate illegal gtk_widget_set_has_window() calls.

The gtk_widget_set_has_window() is illegal outside of widget init()
function. As exception it may be allowed right after gtk_event_box_new()
because GtkEventBox has it set to TRUE by default.

5 years agoMake the PanelIconGrid be event area alike GtkEventBox.
Andriy Grytsenko [Mon, 18 Aug 2014 11:17:33 +0000 (14:17 +0300)] 
Make the PanelIconGrid be event area alike GtkEventBox.

Some code was taken from GtkEventBox to allow the behavior.

5 years agoRepair context menu on launchbutton and on menu plugin.
Andriy Grytsenko [Mon, 18 Aug 2014 00:38:28 +0000 (03:38 +0300)] 
Repair context menu on launchbutton and on menu plugin.

5 years agoAdd a comment to launchtaskbar config string 'Mode:'.
Andriy Grytsenko [Sun, 17 Aug 2014 22:33:20 +0000 (01:33 +0300)] 
Add a comment to launchtaskbar config string 'Mode:'.

5 years agoFix parsing quoted strings in config_read_file().
Andriy Grytsenko [Sun, 17 Aug 2014 22:00:04 +0000 (01:00 +0300)] 
Fix parsing quoted strings in config_read_file().

It is unused currently but it will be used later when we advance format.

5 years agoUpdate documentations in plugin.h header file.
Andriy Grytsenko [Sun, 17 Aug 2014 21:37:38 +0000 (00:37 +0300)] 
Update documentations in plugin.h header file.

5 years agoCommit from LXDE Pootle server by user LStranger.: 1230 of 1304 strings translated...
LStranger [Sun, 17 Aug 2014 19:53:02 +0000 (19:53 +0000)] 
Commit from LXDE Pootle server by user LStranger.: 1230 of 1304 strings translated (0 need review).

5 years agoCommit from LXDE Pootle server by user LStranger.: 1230 of 1304 strings translated...
LStranger [Sun, 17 Aug 2014 19:48:44 +0000 (19:48 +0000)] 
Commit from LXDE Pootle server by user LStranger.: 1230 of 1304 strings translated (0 need review).

5 years ago[l10n] POT file update.
Andriy Grytsenko [Sun, 17 Aug 2014 19:02:27 +0000 (22:02 +0300)] 
[l10n] POT file update.

5 years agoUse translated strings (choices) in xkb config dialogs from language packs.
Andriy Grytsenko [Sun, 17 Aug 2014 18:32:54 +0000 (21:32 +0300)] 
Use translated strings (choices) in xkb config dialogs from language packs.

Many distributions provide language packs which include "xkeyboard-config"
translations. This commit attempts to use it to get dialogs translated.

5 years agoUpdate lxpanel.pc file, it should include libfm-gtk too.
Andriy Grytsenko [Sun, 17 Aug 2014 17:36:04 +0000 (20:36 +0300)] 
Update lxpanel.pc file, it should include libfm-gtk too.

5 years agoUpdate data/default/config - it should be empty now.
Andriy Grytsenko [Sun, 17 Aug 2014 17:32:17 +0000 (20:32 +0300)] 
Update data/default/config - it should be empty now.

5 years agoShow error message on pushing 'Prefernces' on 'pager' if no WM configurator found.
Andriy Grytsenko [Sun, 17 Aug 2014 16:03:32 +0000 (19:03 +0300)] 
Show error message on pushing 'Prefernces' on 'pager' if no WM configurator found.

Also corrected error message parameters on 'volumealsa' plugin.

5 years agoFew little corrections in panel configuration dialog.
Andriy Grytsenko [Sun, 17 Aug 2014 15:55:14 +0000 (18:55 +0300)] 
Few little corrections in panel configuration dialog.

1) button to configure plugin in plugin list changed from 'Edit' to 'Preferences'.
2) removed verbosity changer since it does change almost nothing and is subject
 for confusion rather for helping user.
3) a bit corrected layout of elements in the first tab due to incorrect EXPAND flags.

5 years agoMove plugins out of src/plugins/ into plugins/ (upper directory).
Andriy Grytsenko [Sun, 17 Aug 2014 14:53:00 +0000 (17:53 +0300)] 
Move plugins out of src/plugins/ into plugins/ (upper directory).

This movement makes rebuild of panel itself simpler when you change something.
This also makes sense because plugins are somehow distinct from panel.

5 years agoAdd G_BEGIN_DECLS and G_END_DECLS to public headers, some compilers require that.
Andriy Grytsenko [Sun, 17 Aug 2014 00:30:12 +0000 (03:30 +0300)] 
Add G_BEGIN_DECLS and G_END_DECLS to public headers, some compilers require that.

5 years agoUpdate copyrights everywhere.
Andriy Grytsenko [Sun, 17 Aug 2014 00:10:17 +0000 (03:10 +0300)] 
Update copyrights everywhere.

5 years agoSecond click on weather plugin icon should hide conditions dialog if it's shown.
Andriy Grytsenko [Sat, 16 Aug 2014 22:49:52 +0000 (01:49 +0300)] 
Second click on weather plugin icon should hide conditions dialog if it's shown.

Just ignore another click is not much appropriate behavior for most of users.

5 years agoUse GtkAlignment in 'pager' plugin to be able to set the border.
Andriy Grytsenko [Sat, 16 Aug 2014 20:01:54 +0000 (23:01 +0300)] 
Use GtkAlignment in 'pager' plugin to be able to set the border.

5 years agoMethod size_allocate of PanelIconGrid should use gtk_widget_set_allocation().
Andriy Grytsenko [Sat, 16 Aug 2014 19:21:10 +0000 (22:21 +0300)] 
Method size_allocate of PanelIconGrid should use gtk_widget_set_allocation().

5 years agoFix direct access to GTK+ widgets data in src/plugins/weather/weatherwidget.c.
Andriy Grytsenko [Sat, 16 Aug 2014 18:54:15 +0000 (21:54 +0300)] 
Fix direct access to GTK+ widgets data in src/plugins/weather/weatherwidget.c.

5 years agoMerge branch 'wp-up' into master. Apply API changes as well.
Andriy Grytsenko [Sat, 16 Aug 2014 16:35:40 +0000 (19:35 +0300)] 
Merge branch 'wp-up' into  Apply API changes as well.

5 years agoRemove extra parameter from config() plugin callback - parent window is panel.
Andriy Grytsenko [Fri, 15 Aug 2014 23:37:40 +0000 (02:37 +0300)] 
Remove extra parameter from config() plugin callback - parent window is panel.

5 years agoMake lxpanel_plugin_button_press_event() static - plugins should never need it.
Andriy Grytsenko [Fri, 15 Aug 2014 23:08:04 +0000 (02:08 +0300)] 
Make lxpanel_plugin_button_press_event() static - plugins should never need it.

If plugin handles clicks on child widget then it can easily pass the click
just returning FALSE so GDK event handler will pass it to the parent.

5 years ago[SF#652]Make HideIfNoBattery option in 'batt' plugin actually work.
Andriy Grytsenko [Fri, 15 Aug 2014 22:47:37 +0000 (01:47 +0300)] 
[SF#652]Make HideIfNoBattery option in 'batt' plugin actually work.

5 years agoSet appropriate hint GDK_WINDOW_TYPE_HINT_UTILITY for volume and calendar windows.
Andriy Grytsenko [Fri, 15 Aug 2014 21:40:03 +0000 (00:40 +0300)] 
Set appropriate hint GDK_WINDOW_TYPE_HINT_UTILITY for volume and calendar windows.

5 years agoFix centering of few plugins.
Andriy Grytsenko [Fri, 15 Aug 2014 21:15:23 +0000 (00:15 +0300)] 
Fix centering of few plugins.

5 years agoHandle vertical arrangement of icons in PanelIconGrid more accurately.
Andriy Grytsenko [Fri, 15 Aug 2014 20:57:06 +0000 (23:57 +0300)] 
Handle vertical arrangement of icons in PanelIconGrid more accurately.

Icons should not be resized if not required and it's better to center them.

5 years agoEliminate usage of lxpanel_plugin_button_press_event() in plugins.
Andriy Grytsenko [Fri, 15 Aug 2014 17:41:50 +0000 (20:41 +0300)] 
Eliminate usage of lxpanel_plugin_button_press_event() in plugins.

The panel code will do it on plugin behalf and show the content menu.
The plugin may use appropriate callback to modify that menu.

5 years agoUse better space allocation in PanelIconGrid - use arranged size for height.
Andriy Grytsenko [Thu, 14 Aug 2014 22:54:02 +0000 (01:54 +0300)] 
Use better space allocation in PanelIconGrid - use arranged size for height.

5 years agoFix widthtype config option handling, and new API panel_is_dynamic().
Andriy Grytsenko [Thu, 14 Aug 2014 22:10:46 +0000 (01:10 +0300)] 
Fix widthtype config option handling, and new API panel_is_dynamic().

5 years agoAdd few safeguards to PanelIconGrid APIs.
Andriy Grytsenko [Thu, 14 Aug 2014 21:50:15 +0000 (00:50 +0300)] 
Add few safeguards to PanelIconGrid APIs.

5 years agoDon't disconnect handler from image after 'menu' plugin button was destroyed.
Andriy Grytsenko [Thu, 14 Aug 2014 19:53:11 +0000 (22:53 +0300)] 
Don't disconnect handler from image after 'menu' plugin button was destroyed.

That attempt will result in illegal memory access.

5 years agoReuse PanelToplevel window as actual panel class.
Andriy Grytsenko [Thu, 14 Aug 2014 15:19:12 +0000 (18:19 +0300)] 
Reuse PanelToplevel window as actual panel class.

This way we can:
1) spare destroying function, just use gtk_widget_destroy();
2) simplify access Plugin->Panel to gtk_widget_get_toplevel();
3) simplify access toplevel window of Panel to GTK_WINDOW(p).
Old Panel is priv mamber of new LXPanel class. No extra memory consumed
because we can remove topgwin member from Panel structure later.

5 years agoUse <USER_CONFIG_DIR>/lxpanel/<profile>/gtkrc for panel custom style setup.
Andriy Grytsenko [Wed, 13 Aug 2014 23:51:00 +0000 (02:51 +0300)] 
Use <USER_CONFIG_DIR>/lxpanel/<profile>/gtkrc for panel custom style setup.

5 years agoFix memory leak in save_global_config().
Andriy Grytsenko [Wed, 13 Aug 2014 23:11:07 +0000 (02:11 +0300)] 
Fix memory leak in save_global_config().