Commit graph

50 commits

Author SHA1 Message Date
William Jon McCann
17d52d46b0 shell: Don't use GtkBuilder for constructing the shell
So that we can more easily add GdHeaderBar in the following
patches.

Much of the advantage of using gtkbuilder was lost anyway because
we couldn't really use it from glade without corrupting the file.

https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
William Jon McCann
42974a3c8d shell: Rename shell window to CcWindow
This avoids the confusion of the name gnome-control-center.c and
is consistent with all the other classes/files in the project.

https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
William Jon McCann
64467d7f0a shell: Make the application a GtkApplication subclass
This promotes better encapsulation and allows us to move
application logic out of main() and rename the confusingly
named control-center.c to main.c

https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
Giovanni Campagna
59f873ecf5 Add a gnome-shell search-provider for settings panel
Replace the gnome-shell builtin settings search, which relied on removed
menu files, with one that uses the remote search infrastructure and
CcSearchModel, and features the ability to continue searching within the
control center application.

https://bugzilla.gnome.org/show_bug.cgi?id=690577
2013-02-18 16:08:22 +01:00
Jasper St. Pierre
39c81b399d Remove gnomecc.directory
gnome-menus now ships its own directory file.
2013-02-15 20:50:44 -05:00
Jeremy Bicha
da2a8bd62e shell: Rename bash completion file so that it's recognized
Bash completion needs the file to be named gnome-control-center

https://bugzilla.gnome.org/show_bug.cgi?id=691924
2013-01-17 14:14:07 +01:00
Bastien Nocera
66808c2b3f screen: Remove screen panel
It's been replaced by the updated Power panel and the new Privacy panel.
2013-01-17 11:06:02 +01:00
Bastien Nocera
d6df12fa25 shell: Fix distcheck
No overriding EXTRA_DIST please.
2013-01-15 16:16:28 +01:00
Bastien Nocera
d2bfa254d3 Revert "shell: Remove unused gnome-menus helper files"
The files are used by gnome-shell to display the control-center
search resulst in the overview.

https://bugzilla.gnome.org/show_bug.cgi?id=690577

This reverts commit 10f292dc6b.

Conflicts:
	po/POTFILES.in
	shell/Makefile.am
2013-01-15 12:07:46 +01:00
Giovanni Campagna
eb3dfe9b77 shell: Use CcShellMode to do the panels filtering
https://bugzilla.gnome.org/show_bug.cgi?id=690577
2013-01-15 11:37:24 +01:00
Thomas Wood
b30d0133b9 Add initial implementation of the new Sharing panel
https://bugzilla.gnome.org/show_bug.cgi?id=687772
2013-01-14 18:06:20 +00:00
Thomas Wood
f3a35fb573 Add CcHostnameEntry widget and use it in the info panel
https://bugzilla.gnome.org/show_bug.cgi?id=687772
2013-01-14 18:06:20 +00:00
Bastien Nocera
ac4cefcd8b shell: Make search result descriptions dimmer
Using the dim-label class and libgd's styled text renderer

https://bugzilla.gnome.org/show_bug.cgi?id=676576
2013-01-11 16:21:26 +01:00
Cosimo Cecchi
d2cb481c54 shell: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 16:23:45 -05:00
Cosimo Cecchi
678bddbdad shell: fix distcheck
The generated bash completion files need cleaning, and those that aren't
generated need to be added to EXTRA_DIST.
2013-01-04 20:34:38 +01:00
Bastien Nocera
4ce6d0a7ab shell: Add bash completion file
Only completes the panel names for now.
2012-12-20 22:48:49 +01:00
Bastien Nocera
10f292dc6b shell: Remove unused gnome-menus helper files 2012-12-20 18:22:18 +01:00
Giovanni Campagna
e8cd35edce notifications: Add panel
Show applications using the message tray, and
allow configuring in what way the shell presents them.

The set of applications shown include all applications that ever
showed a notification in gnome-shell and all applications that have
a boolean X-GNOME-UsesNotifications key set to true in their desktop file.

https://bugzilla.gnome.org/show_bug.cgi?id=685928
2012-12-20 09:25:22 +01:00
Giovanni Campagna
0139f68416 shell: replace GMenu loading code with an hardcoded list of panels
Now that we don't allow or load external panels, using libgnome-menu is just
overengineering. We can get the same results with less code by keeping a static
list of function pointers.
This reduces the number of places one needs to patch to add a new panel.
Also, this way we avoid registering all types at startup, and if we want
we can switch to load panel desktop files in a separate thread.

https://bugzilla.gnome.org/show_bug.cgi?id=690165
2012-12-18 16:46:27 +01:00
Bastien Nocera
c735e4e689 shell: Remove custom marshallers 2012-12-11 17:09:05 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Bastien Nocera
e7d6514a11 shell: Only link to clutter-gtk with cheese support 2012-08-18 16:09:24 +01:00
Bastien Nocera
69b2a05b25 shell: Remove CcNotebook
https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:09:01 +01:00
Cosimo Cecchi
1b3e877ef2 shell: remove CcStrengthBar
Panels are all ported to GtkLevelBar instead.

https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:26 +01:00
William Jon McCann
e18742c90e Implement a new search results design
Search results aren't laid out evenly and they are packed together too tightly.
Also, panel descriptions are truncated. There is plenty of space available, we
might as well use it.

https://bugzilla.gnome.org/show_bug.cgi?id=654977
2012-05-22 11:43:13 -04:00
Bastien Nocera
19f2772107 shell: Rename search renderer
And cc- prefix it, like the rest of our widgets.
2012-05-18 11:48:29 +01:00
Bastien Nocera
74aa98b7c8 shell: Add animated notebook
Powered by gtk-clutter.
2012-05-09 16:50:21 +01:00
Richard Hughes
5d1b2d60a4 Add CcStrengthBar to display a smaller and neater progress bar
This will be used in the power and user-accounts panels.
2012-02-14 17:00:24 +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
Bastien Nocera
fed883bbec shell: Limit reading from our own apps directory
https://bugzilla.gnome.org/show_bug.cgi?id=657867
2011-09-02 14:30:44 +01:00
Bastien Nocera
22759b2116 Revert "shell: Only load desktop files from our dirs"
This reverts commit dde732b9a9.

https://bugzilla.gnome.org/show_bug.cgi?id=657867
2011-09-02 14:28:14 +01:00
Bastien Nocera
dde732b9a9 shell: Only load desktop files from our dirs
As we don't know how to load the extension points in the
other directories anyway. Stops system-wide desktop files
appearing in a prefixed build.
2011-08-26 11:35:27 +01:00
Bastien Nocera
d7e4369d40 shell: Add "-v" for verbose option to the shell
And remove it in the sound panel, so that all the panels
use the same verbose settings.

https://bugzilla.gnome.org/show_bug.cgi?id=645435
2011-03-23 18:39:05 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
bc65958e72 shell: Fix build from previous build changes
Thanks to Kjartan for the notice
2010-09-10 17:04:10 +01:00
Bastien Nocera
eadf35bf48 shell: Use $(AM_V_GEN) when generating marshal files
And remove outdated use of $(NULL)
2010-09-10 11:58:34 +01:00
Thomas Wood
eaa2c5f3d3 shell: remove redundant GConf schema
Remove the GConf schema since the GConf keys are no longer used by the
shell application.
2010-08-13 15:27:43 +01:00
Thomas Wood
95143ad4c7 Fix various issues raised by running distcheck 2010-05-21 14:48:34 +01:00
Thomas Wood
a4073bdb8e shell: initialise the panel extension point
Set up the extension point and load plugins that are available. If a plugin
implements a particular panel, then load the CcPanel implementation instead
of executing the application.
2010-05-19 16:53:15 +01:00
Thomas Wood
4ea04c81dc shell: add a new settings shell
The new shell provides an implementation of CcShell and also removes the
dependency on libslab.
2010-05-19 11:11:26 +01:00
Vincent Untz
480416907e Use external libslab when available 2009-10-24 14:19:30 +02:00
William Jon McCann
074ce4b16f Fix distcheck 2009-08-22 17:15:14 -04:00
Thomas Wood
5d882a3bdd Automatically generate .gitignore files with git.mk
Add git.mk and include it in all Makefiles to generate .gitignore files
2009-07-16 00:38:51 +01:00
Søren Sandmann
fab37a0965 Stop linking to the gnome libraries, except in the shell and in the font
Sun Oct 26 19:15:22 2008  Søren Sandmann  <sandmann@redhat.com>

	* configure.in: Stop linking to the gnome libraries, except in the
	shell and in the font viewer.


svn path=/trunk/; revision=9127
2008-10-26 23:15:42 +00:00
Denis Washington
25a40b9c02 New files. Needed to fix bug #402797.
2007-02-06  Denis Washington  <denisw@svn.gnome.org>

	* shell/gnomecc.menu:
	* shell/gnomecc.directory.in: New files. Needed to fix bug #402797.
	
	* shell/control-center.c: Use gnomecc.menu instead of settings.menu.	
	
	* shell/Makefile.am: Add rules for gnomecc.directory.in.
	* po/POTFILES.in: Add gnomecc.directory.in.

svn path=/trunk/; revision=7251
2007-02-06 16:11:13 +00:00
Christian Persch
59a4c03b80 Respect the --disable-schemas-install configure flag. Bug #401004.
2007-01-28  Christian Persch  <chpe@svn.gnome.org>

	* shell/Makefile.am: Respect the --disable-schemas-install configure
	flag. Bug #401004.

svn path=/trunk/; revision=7192
2007-01-28 17:32:06 +00:00
Rodrigo Moya
a6e6d88f8c added schemas for the new GConf prefix, and add common tasks.
2007-01-26  Rodrigo Moya <rodrigo@gnome-db.org>

	* control-center.schemas.in: added schemas for the new GConf prefix,
	and add common tasks.

	* Makefile.am: install schemas.

svn path=/trunk/; revision=7183
2007-01-26 13:12:54 +00:00
Rodrigo Moya
4c28ac2e4f updated for 2.17.3.
2006-12-04  Rodrigo Moya <rodrigo@novell.com>

	* configure.in:
	* NEWS: updated for 2.17.3.

	* autogen.sh: replaced check to look for really existing files.
2006-12-04 21:28:40 +00:00
Rodrigo Moya
72930c10f6 added missing file.
2006-11-13  Rodrigo Moya <rodrigo@novell.com>

	* gnomecc.desktop.in.in: added missing file.

	* Makefile.am: install .desktop file.
2006-11-13 17:28:58 +00:00
Rodrigo Moya
adb4a3a024 new control center shell.
2006-11-13  Rodrigo Moya <rodrigo@novell.com>

	* shell/*: new control center shell.

	* Makefile.am:
	* configure.in: added new directory to build.
2006-11-13 08:33:07 +00:00