summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26Use a timer for a minimum time between auto plugin restart.Nick Schermer1-7/+3
The restart counter was a bit flawed, because if the panel would run for weeks and 3 restarts occured, it's not a big deal, still the panel would've bothered the user what to do. We now use a minimum time between restarts, if there was another restart in the last 60 seconds, ask the user what to do.
2010-02-26Also use a fixed argv layout for 4.6 plugins.Nick Schermer2-18/+0
Move the enums used for this in the provider header.
2010-02-26Read directly from the argv in the wrapper.Nick Schermer1-0/+12
The panel is the only applciations launching the wrapper, so use fixed locations for data in the argv.
2010-02-26Share the restart dialog between the external objects.Nick Schermer1-0/+8
2010-02-26Use an array to send dbus messages.Nick Schermer1-3/+18
This will reduce the amount of dbus messages during startup. Also easy to work with transactions in the future, but that is not needed right now.
2010-02-26D-Bus overhaul for the wrapper communication.Nick Schermer2-21/+23
We now set a unique path for each wrapper that will show up under org.xfce.Panel. This makes it easier to understand in the wrapper (no message filtering) and moves all the external communication in the panel-plugin-external.c code.
2010-02-26Move the panel_return macros to the private header.Nick Schermer3-0/+29
Not code that is suitable for plugin developers. Also drop the I_() macro and use g_intern_static_string directly.
2010-02-26Fix some crashes and problems related to xfconf.Nick Schermer1-4/+36
2010-02-26Get rid of the old SVN $Id$ lines.Nick Schermer7-7/+0
2010-02-26Implement removed signal in panel plugin.Nick Schermer1-0/+1
This signal is only emitted when the user permanently removes a plugin from the panel and can be used by developers to removed custom settings. Bug #5694.
2010-02-26Implement property saving during binding again.Nick Schermer1-0/+4
2010-02-26Rename from common library to libpanel-common.la.Nick Schermer1-7/+8
2010-02-26Add gtk builder code of the plugins in a common file.Nick Schermer3-2/+117
2010-02-26Fix a harmless compiler warning.Nick Schermer1-1/+1
2010-02-26Fix some xfconf problems.Nick Schermer2-11/+7
2010-02-26Disable releasing the channel using a weak ref too for now.Nick Schermer1-2/+3
2010-02-26Drop internal xfconf cache.Nick Schermer2-244/+18
This is implemented in xfconf now, so we don't need it anymore.
2010-02-26Handle xfconf_init and xfconf_shutdown in another way.Nick Schermer2-26/+9
This requires a patch for xfconf that disconnects from DBus using dispose.
2010-02-26Put some xfconf code in a macro to make things easier.Nick Schermer2-0/+30
2010-02-26Fix crash when sending a NULL channel and shared table to binding.Nick Schermer1-8/+11
2010-02-26Allow passing a NULL channel to panel_properties_bind().Nick Schermer1-1/+9
The binding will use the default panel and take care of ref- counting.
2010-02-26Implement property saving in the bindings.Nick Schermer2-3/+11
If saving is enabled, the bindings won't restore the value found in the channel, but instead notify to property on the object so it gets stored.
2010-02-26Make unbind work and fallback to the default value on reset.Nick Schermer1-21/+57
2010-02-26Add function for an xfconf channel singleton.Nick Schermer2-6/+23
2010-02-26Remove the optional hash table from panel_properties_bind().Nick Schermer2-7/+4
2010-02-26Add a shared hash table for the panel properties.Nick Schermer2-7/+32
The shared table is set during panel startup, the panel will load all the properties and all (internal) plugin will use this table during startup, which gives a nice performance boost.
2010-02-26Make a noinst library for the custom xfconf bindings.Nick Schermer2-4/+25
2010-02-26Remove tabs and trailing spaces.Nick Schermer2-4/+4
2010-02-26Fix tab indents and add some comments.Nick Schermer1-23/+25
2010-02-26Add custom xfconf property bindings.Nick Schermer3-1/+255
The goals of these bindings is speeding up the panel startup. The bindings can optionally take a hash table for searching properties, this way the panel only has to call dbus once during startup for panel settings.
2010-02-26Add defines for wrapper exit codes.Nick Schermer1-0/+6
2010-02-26Tabs to spaces.Nick Schermer1-2/+2
2010-02-26Add empty line the the end of panel-private.h.Nick Schermer1-1/+1
2010-02-26Add macro to expand a gdkcolor to double values.Nick Schermer1-0/+5
2010-02-26Add macro to test if a list is empty or contains one item.Nick Schermer1-0/+1
2010-02-26Add macros for common list counting without traversing the list.Nick Schermer1-0/+4
2010-02-26Update copyright headers to 2009.Nick Schermer2-2/+2
2010-02-26Highlight the active panel by using a marching ants selection.Nick Schermer1-1/+0
This drop quite a bit of code and it highlights the active panel a bit better on some backgrounds.
2010-02-26Move back to a launcher with filenames, not desktop id's.Nick Schermer1-6/+9
2010-02-26Move show_configure from init to construct in plugins.Nick Schermer1-1/+1
2010-02-26Improve the DBus communication by separating the plugin methods.Nick Schermer1-11/+16
Add provider API for getting and showing the configure and about dialog from the panel. External plugin implementation is not finished yet.
2010-02-26Move common macros into common/panel-private.h.Nick Schermer2-1/+39
2010-02-26Fixes in the DBus code and provider signals.Nick Schermer2-0/+48
- Improve the provider-signal enums. - Move the dbus-related code to a seperate file in the new common directory. - Various cleanups.