Commit graph

19 commits

Author SHA1 Message Date
Kalev Lember
4859ae9b30 bgo#629299 - Prefix key constants with _KEY
In GTK+ 3 key constants have gained _KEY prefix.
2010-09-10 15:00:13 -05:00
Kalev Lember
af28fbb0bd bgo#629299 - Remove deprecated use of gtk_icon_view_set_orientation
gtk_icon_view_set_orientation() was deprecated in GTK+ 2.22 and removed
in GTK+ 3 in favour of gtk_icon_view_set_item_orientation().
2010-09-10 15:00:07 -05:00
Thomas Wood
31dab0416b shell: change the fixed width to 675 pixels 2010-08-25 19:18:48 +01:00
Thomas Wood
84d07fee7a shell: use a fixed width for the main window
Use a fixed width for the shell, since resizing horizontally is more
awkward for the user than resizing vertically.
2010-07-22 17:48:18 +01:00
Thomas Wood
b7ab940c78 shell: make sure the background colours are updated if the style changes
Make sure the background of the main vbox uses base/text colour
combinations and is updated if the style changes
2010-07-22 17:29:47 +01:00
Thomas Wood
554e23aaf2 shell: allow the shell to shrink smaller than it's initial size
Reset the size request when opening a panel so that the new size can be
smaller than the size of the main view.
2010-07-16 15:18:07 +01:00
Thomas Wood
2e47f04fc9 shell: free the menu directory contents list 2010-07-16 14:44:14 +01:00
Thomas Wood
a1bf960a75 shell: resize the window to the size of the panel being opened
Resize the shell window when a panel is activated so that it is at the
natural size of the panel.
2010-07-14 16:22:06 +01:00
Thomas Wood
ce2f25082a shell: Fix build with recent GTK+ deprecations
GtkNotebookPage has been deprecated and the prototype of the
GtkNotebook::switch-page signal has changed.
2010-07-14 12:02:03 +01:00
Jonh Wendell
91c5e26bcf Make build works with GSEAL 2010-06-30 14:01:39 +01:00
Thomas Wood
6f7d9d9364 shell: don't call gtk_widget_show_all on the new panel
Don't call gtk_widget_show_all when loading a panel as there may be widgets
that the panel does not want to be visible initially.
2010-06-04 16:34:52 +01:00
Thomas Wood
b8d094cad7 shell: load the X-GNOME-Settings-Panel ID into the data model
Load the panel id from the .desktop file into the model so that it does not
need to be loaded again later.
2010-06-04 16:34:52 +01:00
Thomas Wood
d36df5e3e4 shell: Use X-GNOME-Settings-Panel key value for the command line parameter
Read the X-GNOME-Settings-Panel key from the desktop file to start the
correct panel from the command line parameter.
2010-06-02 17:53:42 +01:00
Thomas Wood
d91e466f93 shell: Use the X-GNOME-Settings-Panel value to identify panels
Use the custom .desktop file field to identify panels and make sure the
panel implementations use the name to identify themselves.
2010-06-02 16:20:45 +01:00
Matthias Clasen
e14803b391 shell: Improve keyboard navigation
When using keynav in the category views, the fact that the categories are
separate icon views leads to confusion, because each category will end up
with its own selected icon, so that you can end up with multiple selected
items (and the difference between focused/non-focused is not visually
obvious here). Also, since the category views appear visually as a single
unit, it is irritating that arrow keynav stops at category borders.

This commit arranges things so that only one category will ever have a
selected item by unselecting on focus-out. Furthermore, it uses the
keynav-failed signal and some new GTK+ api to make arrow up/down work across
category borders, in the expected way.
2010-06-02 10:58:40 +01:00
Thomas Wood
27bf283683 shell: set the window name and icon when opening an embedded settings panel
This involves storing the default window title and icon name and resetting
the title and icon name when an embedded settings panel is closed.

The icon name and title for each panel is retrieved from the desktop file
information and stored in the CcShellModel.
2010-05-25 14:38:36 +01:00
Thomas Wood
4fcc633a36 shell: remove unused title label and ensure padding around each panel
Make sure there is always 6 pixels padding around the embedded settings
panel.

Remove the unused title label and alignment.
2010-05-25 14:22:25 +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