Commit graph

5 commits

Author SHA1 Message Date
Bastien Nocera
27c45abda3 shell: Merge libgnome-control-center into main binary
This fixes problems with the CcEditableEntry type not being
registered and causing the printers and user-accounts panels not to
work. As we do not need to work on Windows, we do not need to split
out the library.
2011-11-07 18:03:14 +00:00
Giovanni Campagna
1f9ae38c2f Add a way for panels to receive additional arguments.
This patch introduces the "argv" property to CcPanel. Panels that
wish to handle extra arguments shall override it and act
appropriately in the constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=657093
2011-09-05 18:07:52 +02:00
Gerd Kohlberger
9b985450f1 Add a get_toplevel accessor to CcShell
Can be used to parent dialogs in CcPanel implementations.
https://bugzilla.gnome.org/show_bug.cgi?id=621940
2010-11-05 00:42:55 +00: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