Commit graph

6 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
Bastien Nocera
5472040227 shell: Actually set the shell variable when switching panels 2010-11-09 17:13:46 +00: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
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
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