Gerd Kohlberger
9b985450f1
Add a get_toplevel accessor to CcShell
...
Can be used to parent dialogs in CcPanel implementations.
https://bugzilla.gnome.org/show_bug.cgi?id=621940
2010-11-05 00:42:55 +00:00
William Jon McCann
7d50b3787c
[shell] Don't use window before it is realized
2010-11-01 16:58:40 -04:00
William Jon McCann
b2dc1dffa1
Do a better job of automatically sizing the window to fit contents
...
Try our best to avoid scrollbars.
2010-10-31 17:55:20 -04:00
William Jon McCann
b9b2767d33
Tighten up the spacing of the category views
2010-10-31 13:32:14 -04:00
Bastien Nocera
d0d96529f2
shell: Correct "command-line" callback retval
2010-10-29 15:55:40 +01:00
Bastien Nocera
07552b5d7f
shell: Fix warning in search renderer
2010-10-22 15:17:20 +01:00
Florian Müllner
ebc7a9ef72
shell: Adjust to API change in GApplicationCommandLine
2010-10-22 16:16:44 +02:00
Bastien Nocera
93ee44fe43
shell: Make it build and work against new GApplication
2010-10-22 14:08:11 +01:00
Bastien Nocera
f3b74b019b
shell: Make sure the shell doesn't show up in itself
...
Spotted by Matthias Clasen <mclasen@redhat.com>
2010-10-07 18:06:44 +01:00
Bastien Nocera
611ed2ffcf
shell: Fix compile time warning
...
And make the arguments match the expect ones.
2010-10-06 11:49:12 +01:00
Bastien Nocera
cdffa4f46b
shell: handle GtkSizeRequest removal
2010-10-06 11:45:33 +01:00
William Jon McCann
533b044dc9
A couple more updates use the GTK3 drawing APIs
2010-10-02 17:45:40 -04:00
William Jon McCann
4828b97c79
Fix .desktop file to work correctly in gnome-shell
...
NoDisplay=true makes the shell ignore it. Also fix the application name and icon.
2010-10-02 17:29:14 -04:00
Javier Jardón
0df3b03247
Use gtk_widget_get_preferred_size() instead gtk_size_request_get_size()
...
As GtkSizeRequest was moved into GtkWidget
2010-09-30 19:42:23 +02:00
Bastien Nocera
4ec7801cbb
shell: Show settings without a panel in Other
...
Add the X-GNOME-Settings-Panel category. You need a control-center
panel to add this to your desktop file. Desktop entries with this
category but that aren't actually panels will be ignored (no cheating).
If the desktop file for your settings isn't a panel, it will show in the
"Other" section of the control-center shell
https://bugzilla.gnome.org/show_bug.cgi?id=630998
2010-09-30 13:48:29 +01:00
Bastien Nocera
0ae5a7b8cc
shell: Make search entry single-iconed
...
As per Jakub's request.
2010-09-28 16:49:17 +01:00
Bastien Nocera
9c8da4525f
shell: Fix compile-time warning
2010-09-20 17:44:43 +01:00
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
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
31dab0416b
shell: change the fixed width to 675 pixels
2010-08-25 19:18:48 +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
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
5147efce71
shell: use the icon naming specification icon names
...
Fixes bug 616049 - Use correct icon names from the spec
2010-07-16 16:04:11 +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
Thomas Wood
1204832568
shell: use the correct command line argument during panel activation
...
Use the second argument from the argv list in the activation callback to
make sure the correct panel is loaded, since the first argument is the
application binary name.
2010-07-12 18:42:54 +01:00
Ryan Lortie
c3c00a7b4a
GVariant API adjustment: byte_array -> bytestring
2010-07-07 22:38:53 -04:00
Jonh Wendell
91c5e26bcf
Make build works with GSEAL
2010-06-30 14:01:39 +01:00
Richard Hughes
ae7944a0c8
Convert from libunique to GtkApplication to remove the final gtk-2.0 library
2010-06-21 16:30:44 +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
William Jon McCann
6dfe986044
shell: Don't include both Personal and Look & Feel
...
It isn't really clear what the distinction is.
2010-05-25 10:19:48 +01:00
Thomas Wood
8a9c632975
shell: ensure translations are enabled
...
Make sure gettext is initialised correctly and make sure strings in the
GtkBuilder file are marked for translation.
2010-05-24 22:48:34 +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
Scott Reeves
65ab7d7270
Fix issue with g-c-c shell and YaST shell having same unique identifier
2010-04-30 15:15:51 -06:00
Thomas Wood
b7ce86ecec
Automatically create the ChangeLog file from VCS history
...
Added a dist-hook rule to create the ChangeLog file from the git log.
2009-11-14 15:17:28 +00: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