Commit graph

7 commits

Author SHA1 Message Date
Matthias Clasen
9cdd557eca Add a cc_panel_get_permission method
This is in preparation for moving lock buttons to the toolbar.

https://bugzilla.gnome.org/show_bug.cgi?id=650292
2011-05-23 16:10:04 +01:00
William Jon McCann
e3367c92f0 Don't assume that get_preferred_* arguments can't be NULL
Fixes a crash introduced by f5f5aac5c0
2010-11-20 13:33:19 -05:00
Matthias Clasen
f5f5aac5c0 Prepare for size_request removal in GTK3
https://bugzilla.gnome.org/show_bug.cgi?id=633321
2010-11-08 14:07:47 +01:00
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
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