Commit graph

653 commits

Author SHA1 Message Date
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
Bastien Nocera
4f8ac6639e shell: Don't remove old panel if new one is broken
If a valid panel fails to load (outdated library, file missing, etc.)
don't remove the old panel, but keep it around instead.
2012-11-02 17:26:45 +01:00
Giovanni Campagna
e178a200c1 Remove previous panel widget when switching to a new one
If we don't remove it, it intereferes with the layout of the new panel
and cause weird overallocation effects.

https://bugzilla.gnome.org/show_bug.cgi?id=687232
2012-11-02 17:26:45 +01:00
Bastien Nocera
b3287e1b97 shell: Fix entering the same panel twice
Manually this time.

https://bugzilla.gnome.org/show_bug.cgi?id=684812
2012-09-25 21:25:19 +02:00
Bastien Nocera
876d41b141 shell: Pass args to existing panels
When re-activating the same panel, we could destroy and recreate the
panel, or better reuse the panel, and set the new argv
(usually to switch pages).

Since we're changing the "argv" property of panels to not be construct-
only anymore, we reviewed the panels for potential memory leaks as well.

https://bugzilla.gnome.org/show_bug.cgi?id=684490
2012-09-20 22:58:32 +02:00
Bastien Nocera
ab435aa9e1 shell: Rename current_panel to current_panel_box
So that we can use current_panel for the current panel, not
for the container parent of the panel.

https://bugzilla.gnome.org/show_bug.cgi?id=684490
2012-09-20 22:58:32 +02:00
Matthias Clasen
a955ec4152 Switch files created by me to GPLv2+
This matches the rest of the control-center code base.
https://bugzilla.gnome.org/show_bug.cgi?id=683420
2012-09-06 19:07:09 -04:00
Matthias Clasen
41a79d6a35 Fix big editable labels
The code we used to match the entry and label font size and
weight broke down with the latest CSS improvements in GTK+.
Use a new GtkEntry api for this instead.
The GTK+ requirement has been bumped to 3.5.13.
2012-08-31 15:12:05 -04:00
Ray Strode
b0e7a5efa8 panels: add register macro
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.

This commit does that.
2012-08-21 14:32:33 -04: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
Bastien Nocera
10c00125f4 shell: Drop panel transitions
They're not finished and don't match what the designers would want.

https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:03:19 +01:00
Bastien Nocera
72fd5636e5 shell: Add GtkNotebook helper functions
https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:02:39 +01:00
Bastien Nocera
ee32c358f1 shell: Don't handle shortcuts with excess modifiers
Ctrl+Alt+W shouldn't be handled the same way as Ctrl+W.

https://bugzilla.gnome.org/show_bug.cgi?id=675475
2012-07-16 18:05:04 +01:00
Bastien Nocera
3b4f577652 shell: Fix not being able to assign Ctrl+Q to a shortcut
Because the shell window was capturing it before the key editing
cell had a change to get to it.

s/g_signal_connect/g_signal_connect_after/

https://bugzilla.gnome.org/show_bug.cgi?id=671448
2012-07-16 17:05:48 +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
Bastien Nocera
4db7021513 shell: Fix search results not appearing
Introduced in commit d382c42e5c by
some overeager code removal.

https://bugzilla.gnome.org/show_bug.cgi?id=678514
2012-06-21 10:36:08 +01:00
Jasper St. Pierre
fd3afa8d4f shell: Handle non-existant panels more gracefully
If we're at the overview screen and try to launch a non-existant panel,
we shouldn't remove the scroll view.

https://bugzilla.gnome.org/show_bug.cgi?id=677980
2012-06-20 19:17:36 +01:00
Matthias Clasen
8c9a1eec33 Be robust against extraneous signal emissions
It seems that we are occasionally get duplicate ClutterTimeline::completed
emissions. Make the code robust against that.

https://bugzilla.gnome.org/show_bug.cgi?id=677946
2012-06-20 19:14:04 +01:00
Jasper St. Pierre
d382c42e5c shell: Remove reparenting hacks
Now that CcNotebook is buildable, we don't need to do these ugly hacks.
2012-06-12 13:58:17 -04:00
Jasper St. Pierre
f8da96e425 shell: Make CcNotebook buildable 2012-06-12 13:58:17 -04:00
Jasper St. Pierre
54d24f0574 shell: Remove unnecessary tabs 2012-06-12 13:58:15 -04:00