Bastien Nocera
f023200b8d
shell: Be centred by default
...
https://bugzilla.gnome.org/show_bug.cgi?id=647260
2011-04-11 11:29:27 +01:00
Matthias Clasen
cbecb18788
Shell: fix handling of commandlines
...
With HANDLES_COMMANDLINE, the commandline is handled in the primary
instance. That means two things:
- We cannot let GOption handle --help, since it calls exit() after
printing out the help
- The static booleans need to be reset to FALSE for each handled
commandline
This commit adds a new string, 'Show help options'. It also includes
existing translations for this string that were taken from GLib.
2011-04-08 15:53:34 -04:00
Bastien Nocera
bd69290c46
shell: Turn off spinner cursor when launched
...
Startup notification should be stopped when the window appears.
https://bugzilla.gnome.org/show_bug.cgi?id=646045
2011-03-29 16:39:40 +01:00
Colin Walters
0b25f5a45e
gnome-control-center.desktop: Ensure we're in the menu
...
If we're not categorized, the shell won't pick us up, and that's
a problem for application tracking. Per IRC discussion, go
into System Settings for now.
2011-03-25 10:34:34 -04:00
Bastien Nocera
d7e4369d40
shell: Add "-v" for verbose option to the shell
...
And remove it in the sound panel, so that all the panels
use the same verbose settings.
https://bugzilla.gnome.org/show_bug.cgi?id=645435
2011-03-23 18:39:05 +00:00
Gerd Kohlberger
0a918a27aa
shell: Fix resizing when switching from panel to panel
...
set_active_panel_from_id doesn't remove the active
panel from the notebook before adding a new one. After that the shell
window can't shrink below the size of the original panel.
This might also cause crashers as some parts of the panel are left
alive, behind another notebook tab, ready to receive signals.
https://bugzilla.gnome.org/show_bug.cgi?id=636596
2011-03-17 11:51:19 +00:00
William Jon McCann
b86c55cf47
shell: oops gmenu_tree isn't a gobject
...
So don't unref it like one.
2011-03-07 16:20:11 -05:00
Bastien Nocera
6653f3276e
shell: Fix warning in renderer
2011-03-07 17:55:20 +00:00
Cosimo Cecchi
c96cc69102
shell: add primary-toolbar style class to the toolbar
2011-03-07 10:42:54 -05:00
William Jon McCann
307f81e419
Reload the list of panels when the menu changes
...
https://bugzilla.gnome.org/show_bug.cgi?id=630902
2011-03-06 05:02:19 -05:00
Kjartan Maraas
d441df289c
Avoid null pointer dereference and remove unused variable
2011-03-02 20:06:20 +01:00
Kjartan Maraas
916e4d2f16
shell: GCC 4.6 warning fixes
...
https://bugzilla.gnome.org/show_bug.cgi?id=642810
2011-03-02 18:09:17 +00:00
Thomas Wood
e2f944a66a
configure: Group pkg-config checks based on how they are used
...
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.
https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
367daae2e4
shell: Fix searching for anything hiding widgets
...
When searching, don't hide the search entry...
2011-02-14 15:57:13 +00:00
Thomas Wood
7172bc2b06
shell: make sure the search entry doesn't appear when in a panel
...
Prevent the search entry appearing when opening a panel from another panel.
2011-02-12 19:37:27 +00:00
Thomas Wood
fe7b2212cc
shell: remove debugging output
2011-02-12 19:23:57 +00:00
Thomas Wood
6c0cbc9d40
shell: sort the icons alphabetically
2011-02-12 19:21:43 +00:00
Bastien Nocera
19082e16ac
shell: Use symbolic icons in the search entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=642167
2011-02-12 14:47:59 +00:00
Christian Persch
ace6fb9309
shell: Don't pass invalid option flags
...
G_OPTION_FLAG_OPTIONAL_ARG is only valid for callback options.
Bug #641290 .
2011-02-03 14:30:03 +01:00
Bastien Nocera
b009d6875b
shell: Add shortcuts to focus search entry
...
Ctrl+S and Ctrl+F are used in overview mode to focus the search entry.
https://bugzilla.gnome.org/show_bug.cgi?id=409230
2011-02-02 11:38:02 +00:00
Matthias Clasen
62e2bd6e75
Correct a comment
2011-01-27 08:16:03 -05:00
Bastien Nocera
c274f914cd
shell: Avoid windows with no icons
...
Set the default icon for child windows as well, when setting the
panel's icon.
2011-01-24 13:49:37 +00:00
Bastien Nocera
4b80e08055
shell: Reload icons when icon theme changes
...
https://bugzilla.gnome.org/show_bug.cgi?id=639268
2011-01-14 17:04:10 +00:00
Dan Winship
94aeba51e3
shell: make the .desktop file pass "--overview"
...
Opening the shell via the main gnome-control-center.desktop file
should display it in overview mode. In particular, if the shell is
already open, then "launching" it again via the main .desktop file
should switch the existing window to the overview rather than just
raising it but leaving it pointing to whatever panel it was pointing
to before.
https://bugzilla.gnome.org/show_bug.cgi?id=639180
2011-01-14 14:00:07 +00:00
Thomas Wood
d50dadc8ac
shell: only include items identified as settings panels in the list
...
Simplify the category requirements and do not include items that are not
settings panels.
2010-12-20 21:04:49 +00:00
Thomas Wood
70604ba458
Remove the "Internet and Network" category
...
Remove this category as there is only one item in it and move the network
panel to the "Hardware" category.
2010-12-20 14:52:15 +00:00
Bastien Nocera
e92fba97a7
shell: Set wrap mode to "word" for the icon text
...
https://bugzilla.gnome.org/show_bug.cgi?id=637035
2010-12-13 14:03:10 +00:00
Matthias Clasen
01f8f489d2
Shell: fix initial window size
...
The code is setting the min-content-height out of a ::size-allocate
handler, so the resulting size request is ignored. Doing a separate
size request in an idle has the desired effect.
2010-12-03 21:22:26 -05:00
Bastien Nocera
fbbb9c35a9
shell: Add -o parameter to show the overview
...
Instead of just presenting the main window.
2010-12-02 19:17:38 +00:00
William Jon McCann
d51d16fddf
various: use a consistent and slightly larger border width for panels
2010-11-21 19:33:34 -05:00
Thomas Wood
aac24399f8
shell: ensure the background and foreground colours are consistent
...
Modify the colours of the viewport and category view widgets so that
they are consistent with the icon view.
2010-11-20 17:13:29 +00:00
Matthias Clasen
d7b2e3144d
shell: start in the right size
...
When starting up with a single panel, we don't want to show the full-height
window initially.
2010-11-19 15:08:23 -05:00
Matthias Clasen
aef8513752
shell: Add keyword search
...
This commit makes search look at the X-GNOME-Keywords key. The key
is expected to hold a list of strings, and is translatable.
http://bugzilla.gnome.org/show_bug.cgi?id=634926
2010-11-15 18:04:57 -05:00
Matthias Clasen
b85950d807
shell: Don't change casedness when displaying matches
...
While we do want to match case-insensitively, we don't want to
display the search result in all-lowercase. This patch is probably
not quite utf8-ly correct.
http://bugzilla.gnome.org/show_bug.cgi?id=634923
2010-11-15 17:55:26 -05:00
William Jon McCann
93f6035425
shell: subtract a hacky constant from the screen height for dialog height
...
Since the window also has a titlebar and toolbar. Should probably
try to get the size of those somehow.
2010-11-13 11:46:41 -05:00
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