Commit graph

524 commits

Author SHA1 Message Date
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
Giovanni Campagna
3911ef1c3a shell: add a way to compile the panel loader without GType functions
This will allow to use the panel loader in the search provider, which
is a separate executable and doesn't link all the panel modules.

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
Emanuele Aina
30144e58f3 shell: Do not forcibly suppress debug messages if --verbose not set
Only force G_MESSAGES_DEBUG=all on --verbose, and follow the usual
logging behaviour otherwise.

This fixes specifying log domains in G_MESSAGES_DEBUG and also
G_MESSAGES_DEBUG=all without setting --verbose.

https://bugzilla.gnome.org/show_bug.cgi?id=693732
2013-02-13 19:17:19 +01:00
Jeremy Bicha
2b830e0388 shell: Add additional arguments to bash completion file
https://bugzilla.gnome.org/show_bug.cgi?id=693397
2013-02-11 12:38:03 -05:00
Bastien Nocera
c580185f4e shell: Ensure completion is sorted by default 2013-02-11 09:37:55 +01:00
Bastien Nocera
d7dbcab34f shell: Add sound and user-accounts to the completion
https://bugzilla.gnome.org/show_bug.cgi?id=693398
2013-02-11 09:37:30 +01:00
Rui Matos
5357cdea8a shell: Fix search result activation on Return key press
'search_view' isn't a GtkIconView anymore and the row-activated
handler relies on having the selection set to the proper row to
activate it.

https://bugzilla.gnome.org/show_bug.cgi?id=692821
2013-01-30 11:18:20 +01:00
Rui Matos
75944f3ac5 shell: Remove unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=692821
2013-01-30 11:17:21 +01:00
Rui Matos
ac359b1d62 shell: Export our main window XID in an environment variable
This allows external tools to know that they are being called from
gnome-control-center and look like attached modal dialogs as per
design.

https://bugzilla.gnome.org/show_bug.cgi?id=691854
2013-01-21 15:37:46 +01:00
William Jon McCann
a98e81e1c3 shell: Activate items on single click
https://bugzilla.gnome.org/show_bug.cgi?id=692150
2013-01-21 08:32:18 +01: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
Rui Matos
6a3fec2521 shell: Fix a crash 2013-01-15 14:33:15 +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
b577e6a679 shell: Add support for navigating use left/right arrows
https://bugzilla.gnome.org/show_bug.cgi?id=409230
2013-01-14 17:40:11 +01:00
Bastien Nocera
81385c6350 shell: Add support for the "Back" keyboard key and Alt+Up
https://bugzilla.gnome.org/show_bug.cgi?id=691601
2013-01-14 15:32:35 +01: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
Bastien Nocera
082cd72df8 shell: Rename keynav-failed handler 2013-01-11 16:03:48 +01:00
Bastien Nocera
7c3d27f3a0 shell: Add --list command-line option
https://bugzilla.gnome.org/show_bug.cgi?id=655418
2013-01-10 17:15:56 +01:00
Bastien Nocera
502569cc89 shell: Add --search command-line option
To set a particular search option in the search entry.
2013-01-08 09:49:49 +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
Bastien Nocera
48e6fd2967 shell: Fix keyboard navigation in the search results 2013-01-07 16:34:21 +01:00
Bastien Nocera
974b0ca5b6 shell: Remove prelight from search results
We don't follow the state in the main icon view, so we shouldn't
either in the search results.
2013-01-07 16:09:04 +01:00
Bastien Nocera
d48ba2d566 shell: Don't search in desktop description
We use keywords instead.

https://bugzilla.gnome.org/show_bug.cgi?id=674061
2013-01-07 16:08:21 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01: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
45d4944b6d user-accounts: Fix crash when built with cheese support
The cheese support needs clutter, GStreamer and clutter-gst initialised.
Call cheese_gtk_init() for that.

https://bugzilla.gnome.org/show_bug.cgi?id=690760
2013-01-02 16:54:23 +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
Giovanni Campagna
5e37aecdbb shell: fix refcounting in GMenu code (2/2)
gmenu_tree_entry_get_root_directory() returns a new reference.
2012-12-13 15:42:30 +01:00
Giovanni Campagna
68bfa875cf shell: fix refcounting in GMenu code (1/2)
gmenu_tree_entry_get_app_info() does not return a new reference

https://bugzilla.gnome.org/show_bug.cgi?id=690117
2012-12-13 15:41:43 +01:00
Bastien Nocera
c735e4e689 shell: Remove custom marshallers 2012-12-11 17:09:05 +01:00
Bastien Nocera
4dd36b4279 shell: Simplify desktop file loading
By using known patterns for the desktop file name.
2012-12-11 17:09:04 +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
80dc7c83cb shell: Remove the unused "Other" section of the shell 2012-12-11 17:07:38 +01:00
Cosimo Cecchi
867fff4f4c shell: use the "view" style class for the main viewport
Currently, gnome-themes-standard sets a white background on all
GtkViewport widgets.
We want to stop rendering one by default, so add a style class to the
main viewport that ensures it gets the same background as the icon
views it packs inside.

https://bugzilla.gnome.org/show_bug.cgi?id=689700
2012-12-07 10:50:59 -05:00
Bastien Nocera
1e2f8202ae shell: Fix alignment of home button in RTL languages
https://bugzilla.gnome.org/show_bug.cgi?id=689533
2012-12-06 10:08:14 +01:00
Bastien Nocera
ae24773740 shell: Print the name of the missing icon 2012-12-03 14:57:42 +01:00
Bastien Nocera
d52ff9e8b2 shell: Better help for panel and panel args
https://bugzilla.gnome.org/show_bug.cgi?id=669283
2012-12-03 08:23:06 +01:00
Cosimo Cecchi
2dee0fd591 build: Import egg-list-box as a git submodule
https://bugzilla.gnome.org/show_bug.cgi?id=687490
2012-11-27 11:32:11 +01:00
Thomas Wood
174776a7c0 shell: Ensure the home button is the correct height
To allow the home button to have the correct height, the aspect frame it is
inside has to be given enough horizontal space to allow the button to be
square. The home button also needs to be in a size group with the
"search-entry" widget rather than the "entry-alignment" widget, since the
latter is resized when the search entry is shown or hidden.

https://bugzilla.gnome.org/show_bug.cgi?id=681510
2012-11-06 16:35:16 +00:00
Bastien Nocera
c21640fa6b shell: Rename to "Settings"
"System" settings seem like the wrong thing to tweak to get
to things like background, and a number of other preferences.

Rename the desktop file and the window "Settings"

https://bugzilla.gnome.org/show_bug.cgi?id=681543
2012-11-06 10:14:23 +01:00
Jeremy Bicha
da1754961a shell: Add F1 accelerator to show help
https://bugzilla.gnome.org/show_bug.cgi?id=687485
2012-11-02 21:00:42 -04:00