Commit graph

9 commits

Author SHA1 Message Date
Georges Basile Stavracas Neto
bcd969f052 shell: Remove cc_shell_set_custom_titlebar
This is now unused.
2022-01-20 02:23:42 +00:00
Georges Basile Stavracas Neto
5017f3b21e shell: Remove cc_shell_embed_widget_in_header
It is now unused.
2022-01-20 02:23:42 +00:00
Georges Basile Stavracas Neto
3f322e8553 shell: Allow panels set custom titlebars
This will be used by the Display panel to add a different
titlebar when confirming a new display configuration.
2021-12-14 22:34:21 -03:00
Robert Ancell
d16cddeccf shell: Replace ifdefs with #pragma once 2019-11-27 21:56:09 +00:00
Georges Basile Stavracas Neto
75f150d5a2 shell: Add position to cc_shell_embed_widget_in_header()
So we can control where the widget should be added to. The
main window only supports left and right positions.

https://gitlab.gnome.org/GNOME/gnome-control-center/issues/528
2019-05-21 12:59:36 -03:00
Emanuele Aina
9977bb200e shell: Use GVariant to convey panel arguments instead of a string array
By using a GVariant of type "av" we can potentially pass more structured
data to panels, which will become relevant with the ability to invoke
them by GAction-based DBus-activation introduced in the following patch.

https://bugzilla.gnome.org/show_bug.cgi?id=696054
2013-04-03 18:02:10 +02:00
William Jon McCann
408ae4a87c shell: Make the main app window a subclass of GtkApplicationWindow
This allows for better encapsulation of window logic. In order to
do this CcShell was made an interface instead of an abstract base
class.

https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
Richard Hughes
dcb88a861d shell: Allow panels to register custom widgets in the shell header
This allows us to add the kill switch in the various different panels to match
the mockups, and also allows us to connect up any custom functionality the
designers want.

For example, in the bluetooth panel we might want to allow the GtkLabel to be
edited to change the bluetooth device name.
2012-01-09 15:24:57 +00:00
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
Renamed from libgnome-control-center/cc-shell.h (Browse further)