Andriy Grytsenko [Thu, 21 Aug 2014 14:50:53 +0000 (17:50 +0300)]
Release 0.7.0.
Andriy Grytsenko [Thu, 21 Aug 2014 15:40:20 +0000 (18:40 +0300)]
Fix translation file error in Spanish PO file.
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).
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).
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).
LXDE Pootle [Thu, 21 Aug 2014 02:32:49 +0000 (02:32 +0000)]
Merge branch 'master' of git.lxde.org:/lxde/lxpanel
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).
Andriy Grytsenko [Wed, 20 Aug 2014 23:50:58 +0000 (02:50 +0300)]
Fix bootstrap button appearance in empty launchbar.
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.
Andriy Grytsenko [Wed, 20 Aug 2014 22:47:11 +0000 (01:47 +0300)]
Fix crash after 'lxpanelctl exit' command.
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.
Andriy Grytsenko [Wed, 20 Aug 2014 14:26:33 +0000 (17:26 +0300)]
A little optimization with global config saving.
Andriy Grytsenko [Wed, 20 Aug 2014 12:17:57 +0000 (15:17 +0300)]
A little optimization for get_widget_index() in configurator.
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).
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).
LXDE Pootle [Wed, 20 Aug 2014 11:01:23 +0000 (11:01 +0000)]
Merge branch 'master' of git.lxde.org:/lxde/lxpanel
Andriy Grytsenko [Wed, 20 Aug 2014 10:58:57 +0000 (13:58 +0300)]
[l10n] POT file update.
Andriy Grytsenko [Wed, 20 Aug 2014 10:22:47 +0000 (13:22 +0300)]
Fix memory allocation issues in src/bg.c
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.
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).
Andriy Grytsenko [Wed, 20 Aug 2014 00:25:15 +0000 (03:25 +0300)]
Reordering of functions in src/panel.c, just for better grouping.
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.
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.
Andriy Grytsenko [Tue, 19 Aug 2014 22:03:26 +0000 (01:03 +0300)]
Few strings corrections.
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.
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.
Andriy Grytsenko [Tue, 19 Aug 2014 14:36:17 +0000 (17:36 +0300)]
Move extern gchar *cprofile declaration from panel.h to private.h.
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.
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.
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.
Andriy Grytsenko [Mon, 18 Aug 2014 22:59:18 +0000 (01:59 +0300)]
Update documentations in panel.h header file.
Andriy Grytsenko [Mon, 18 Aug 2014 22:27:18 +0000 (01:27 +0300)]
Move few declarations from C files into private.h file.
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).
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.
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.
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).
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.
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.
Andriy Grytsenko [Mon, 18 Aug 2014 00:38:28 +0000 (03:38 +0300)]
Repair context menu on launchbutton and on menu plugin.
Andriy Grytsenko [Sun, 17 Aug 2014 22:33:20 +0000 (01:33 +0300)]
Add a comment to launchtaskbar config string 'Mode:'.
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.
Andriy Grytsenko [Sun, 17 Aug 2014 21:37:38 +0000 (00:37 +0300)]
Update documentations in plugin.h header file.
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).
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).
Andriy Grytsenko [Sun, 17 Aug 2014 19:02:27 +0000 (22:02 +0300)]
[l10n] POT file update.
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.
Andriy Grytsenko [Sun, 17 Aug 2014 17:36:04 +0000 (20:36 +0300)]
Update lxpanel.pc file, it should include libfm-gtk too.
Andriy Grytsenko [Sun, 17 Aug 2014 17:32:17 +0000 (20:32 +0300)]
Update data/default/config - it should be empty now.
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.
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.
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.
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.
Andriy Grytsenko [Sun, 17 Aug 2014 00:10:17 +0000 (03:10 +0300)]
Update copyrights everywhere.
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.
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.
Andriy Grytsenko [Sat, 16 Aug 2014 19:21:10 +0000 (22:21 +0300)]
Method size_allocate of PanelIconGrid should use gtk_widget_set_allocation().
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.
Andriy Grytsenko [Sat, 16 Aug 2014 16:35:40 +0000 (19:35 +0300)]
Merge branch 'wp-up' into Apply API changes as well.
Andriy Grytsenko [Fri, 15 Aug 2014 23:37:40 +0000 (02:37 +0300)]
Remove extra parameter from config() plugin callback - parent window is panel.
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.
Andriy Grytsenko [Fri, 15 Aug 2014 22:47:37 +0000 (01:47 +0300)]
[SF#652]Make HideIfNoBattery option in 'batt' plugin actually work.
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.
Andriy Grytsenko [Fri, 15 Aug 2014 21:15:23 +0000 (00:15 +0300)]
Fix centering of few plugins.
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.
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.
Andriy Grytsenko [Thu, 14 Aug 2014 22:54:02 +0000 (01:54 +0300)]
Use better space allocation in PanelIconGrid - use arranged size for height.
Andriy Grytsenko [Thu, 14 Aug 2014 22:10:46 +0000 (01:10 +0300)]
Fix widthtype config option handling, and new API panel_is_dynamic().
Andriy Grytsenko [Thu, 14 Aug 2014 21:50:15 +0000 (00:50 +0300)]
Add few safeguards to PanelIconGrid APIs.
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.
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.
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.
Andriy Grytsenko [Wed, 13 Aug 2014 23:11:07 +0000 (02:11 +0300)]
Fix memory leak in save_global_config().
Andriy Grytsenko [Wed, 13 Aug 2014 22:57:55 +0000 (01:57 +0300)]
Fix memory leak in 'pager' plugin on check for configuration program.
The output of g_find_program_in_path() should be freed after usage!
Andriy Grytsenko [Wed, 13 Aug 2014 22:47:25 +0000 (01:47 +0300)]
Fix invalid configuration parsing in 'xkb' plugin.
Andriy Grytsenko [Wed, 13 Aug 2014 19:22:04 +0000 (22:22 +0300)]
Use gtk_widget_destroy() instead of gtk_container_remove() if possible.
In most of cases the widget is not referenced and is lost anyway
therefore there is no reason to use gtk_container_remove() for it.
Andriy Grytsenko [Wed, 13 Aug 2014 13:12:35 +0000 (16:12 +0300)]
Fix backgrounds after panel size/orientation change.
Andriy Grytsenko [Wed, 13 Aug 2014 10:57:45 +0000 (13:57 +0300)]
Get rid of (Panel*)->my_{box,separator}_new
Also corrected some Panel fields, kept in order for binary compatibility,
should be moved later when deprecated API are removed so this structure
will be sealed away from plugins APIs.
Andriy Grytsenko [Wed, 13 Aug 2014 09:18:41 +0000 (12:18 +0300)]
Correctly resize PanelIconGrid on allocation changes.
Andriy Grytsenko [Wed, 13 Aug 2014 00:29:13 +0000 (03:29 +0300)]
Convert IconGrid into GtkContainer derived class PanelIconGrid.
This way we can simpify its handling, use it as direct plugin widget,
and use all the GTK+ APIs for GtkContainer and GtkOrientable.
dforsi [Fri, 15 Aug 2014 17:06:11 +0000 (17:06 +0000)]
Commit from LXDE Pootle server by user dforsi.: 1162 of 1256 strings translated (23 need review).
kizito [Thu, 14 Aug 2014 23:04:00 +0000 (23:04 +0000)]
Commit from LXDE Pootle server by user kizito.: 1317 of 1318 strings translated (0 need review).
knedlyk [Thu, 14 Aug 2014 22:31:13 +0000 (22:31 +0000)]
Commit from LXDE Pootle server by user admin.: 998 of 1256 strings translated (86 need review).
knedlyk [Thu, 14 Aug 2014 22:31:09 +0000 (22:31 +0000)]
Commit from LXDE Pootle server by user admin.: 1242 of 1256 strings translated (0 need review).
knedlyk [Thu, 14 Aug 2014 22:31:03 +0000 (22:31 +0000)]
Commit from LXDE Pootle server by user admin.: 1122 of 1256 strings translated (18 need review).
knedlyk [Thu, 14 Aug 2014 22:30:59 +0000 (22:30 +0000)]
Commit from LXDE Pootle server by user admin.: 967 of 1256 strings translated (95 need review).
kizito [Thu, 14 Aug 2014 19:54:15 +0000 (19:54 +0000)]
Commit from LXDE Pootle server by user kizito.: 1317 of 1318 strings translated (0 need review).
kizito [Thu, 14 Aug 2014 19:43:45 +0000 (19:43 +0000)]
Commit from LXDE Pootle server by user kizito.: 1255 of 1256 strings translated (0 need review).
mbouzada [Thu, 14 Aug 2014 12:49:15 +0000 (12:49 +0000)]
Commit from LXDE Pootle server by user mbouzada.: 1256 of 1256 strings translated (0 need review).
Andriy Grytsenko [Tue, 12 Aug 2014 17:03:06 +0000 (20:03 +0300)]
Correctly update hidden panel on change height_when_hidden option.
Andriy Grytsenko [Tue, 12 Aug 2014 16:33:35 +0000 (19:33 +0300)]
[SF#339]Allow panel to hide completely (code borrowed from fbpanel).
Do not follow pointer entering the widget but check pointer position
peridically instead - that's how it works. That's a bit hacky though.
LStranger [Tue, 12 Aug 2014 11:13:15 +0000 (11:13 +0000)]
Commit from LXDE Pootle server by user LStranger.: 1316 of 1318 strings translated (0 need review).
LXDE Pootle [Tue, 12 Aug 2014 11:08:37 +0000 (11:08 +0000)]
Merge branch 'master' of git.lxde.org:/lxde/lxpanel
LStranger [Tue, 12 Aug 2014 11:07:11 +0000 (11:07 +0000)]
Commit from LXDE Pootle server by user LStranger.: 1001 of 1256 strings translated (83 need review).
Recku [Tue, 12 Aug 2014 01:42:39 +0000 (01:42 +0000)]
Commit from LXDE Pootle server by user Recku.: 1255 of 1256 strings translated (0 need review).
Andriy Grytsenko [Tue, 12 Aug 2014 00:40:27 +0000 (03:40 +0300)]
Fix dclock plugin output when update is each second.
It appears time() and gettimeofday() report different seconds sometimes therefore
plugin sometimes may miss some changes to display. Only one func have to be used.
Andriy Grytsenko [Mon, 11 Aug 2014 22:21:43 +0000 (01:21 +0300)]
Little fixes in configuration dialog positioning code.
Andriy Grytsenko [Sun, 10 Aug 2014 15:47:27 +0000 (18:47 +0300)]
Fixing some mixed indentations and ending whitespaces.
Andriy Grytsenko [Sun, 10 Aug 2014 15:11:36 +0000 (18:11 +0300)]
[SF#190]Workaround for style problem in shiki themes.
Shiki themes parse styles for panel before styles for individual widgets
so therefore GtkButton style in the panel receives invalid colors.
We can workaround this problem by inheriting "panel-theme" by taskbar buttons.
Andriy Grytsenko [Tue, 5 Aug 2014 21:05:33 +0000 (00:05 +0300)]
[SF#654]Don't create popup menu for system menu item, add submenu instead.
Additional menu even with function restore_grabs() does not handle the case
when user clicks on some widget while that popup is active - it hides the
popup but leaves semi-functional system menu on the screen.
It can be avoided if we make it to be a submenu instead.
Andriy Grytsenko [Sat, 2 Aug 2014 17:14:57 +0000 (20:14 +0300)]
Few corrections for configuration dialog in weather widget.