Commit graph

339 commits

Author SHA1 Message Date
Bastien Nocera
56008765c8 shell: Handle the usual "Alt+Left" key binding
For left-to-right languages, and Alt+Right to RTL.
2013-02-19 11:27:22 +01:00
Bastien Nocera
6cb6404e7e shell: Make the "home" button act as a "previous" button
Keep history of the visited panels, when navigating between
them through links, or activated through the shell's menu items,
and go back to the overview when the history is empty.

https://bugzilla.gnome.org/show_bug.cgi?id=643322
2013-02-19 11:27:22 +01:00
William Jon McCann
91924726f1 shell: Use a go-previous icon instead of grid
This is what we do everywhere else.

https://bugzilla.gnome.org/show_bug.cgi?id=681530
2013-02-19 11:27:19 +01:00
Jeremy Bicha
dd73671c24 shell: build fix (clutter-gtk includes)
Building without cheese broke with commit 64467d7

https://bugzilla.gnome.org/show_bug.cgi?id=694118
2013-02-18 15:20:44 -05:00
William Jon McCann
73a5b5ce45 Fix build 2013-02-18 14:09:24 -05:00
Bastien Nocera
5f4e140078 shell: Remove unused gnomecc.menu file
Searching for Settings is now handled through a search provider
in gnome-control-center, for which the display is special-cased in
gnome-shell.
2013-02-18 19:24:48 +01:00
Cosimo Cecchi
92765b97c0 cc-window: don't render a frame around scrolled windows
The header bar will now render one.
2013-02-18 12:55:55 -05:00
Cosimo Cecchi
e160e43f23 cc-window: Fix style of home button 2013-02-18 11:32:45 -05:00
Bastien Nocera
4edf2ed16f shell: Remove extraneous gtk_window_set_title() call
As the window title doesn't change anymore.
2013-02-18 16:45:09 +01:00
William Jon McCann
b0cfa3f08c shell: Put the panel title in the header
Instead of in the window title

https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
William Jon McCann
8bee6c9461 shell: Use GdHeaderBar in the shell
https://bugzilla.gnome.org/show_bug.cgi?id=692174
2013-02-18 16:40:44 +01:00
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
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
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
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