Commit graph

8 commits

Author SHA1 Message Date
Benjamin Otte
341dfaa879 Call gtk_widget_set_allocation() during size_allocate
Fixes panels not drawing themselves with GTK 3.
2010-08-24 10:24:56 +02:00
Thomas Wood
3d9ada13f0 CcPanel: derive from GtkBin, rather than GtkAlignment
CcPanel does not require any features of GtkAlignment, so derive from
GtkBin directly.
2010-07-06 17:20:53 +01:00
Rodrigo Moya
59a4d44b35 Add .so version information to libgnome-control-center 2010-06-24 16:16:29 +02:00
Thomas Wood
8c1127384a CcPanel: remove redundant properties
Remove properties that are not used or not useful.

The "id" property is implemented by the desktop entry
X-GNOME-Settings-Panel value and the extension point implementation name.

The "display-name" property is not used because the Name value from the
desktop entry file is read instead.

The "active" property is no longer needed, since the objects are not kept
alive when the panel is inactive.
2010-06-21 16:36:32 +01:00
Rodrigo Moya
8897a196d6 Use gtk+-3.0 also on the .pc file 2010-06-18 14:05:57 +02:00
Thomas Wood
ad938356da Make sure panels do not need to link against libcommon.la
libcommon.la defines several new GTypes, so it cannot be loaded into the
same process multiple times.

Copy gconf-property-editor to libgnome-control-center as this is useful
for all panels. However, it will need to be converted to GSettings in the
near future.

Copy capplet-stock-icons to the mouse panel, as it is not used in any other
panels.

Remove references to functions not yet implemented for panels (help,
window icon, etc).
2010-05-22 12:36:17 +01:00
Thomas Wood
65aea316b8 Define the extension point name and support variables for panels
The extension point name is used to identify modules that implement
new settings panels using CcPanel.

Also add various libtool flags that will be good practice for new panels.
2010-05-19 16:51:40 +01:00
Thomas Wood
b4fdb6db4f Add libgnome-control-center with two new classes: CcShell and CcPanel
CcShell is an abstract class that represents an instance of a control
center shell. It provides access to some of the properties of the shell
that panels will need to read or change. When a panel is created it has an
instance of CcShell available that represents the current shell.

CcPanel is an abstract class used to implement panels for the shell. A
panel contains a collection of related settings that are displayed within
the shell window.
2010-05-18 16:09:26 +01:00