Commit graph

156 commits

Author SHA1 Message Date
Bastien Nocera
39a7520db1 info: Check for GtkBuilder error properly 2012-10-15 16:41:50 +02:00
Bastien Nocera
e556a38af3 info: Add error output to warning 2012-10-15 16:41:49 +02:00
Giovanni Campagna
4d80e47776 system info: set related mime types when changing preferred apps
Setting the preferred music or video app only changed the handler
for ogg audio/video, leaving an inconsistent state where the previous
(system default) app would be used for other images, audio and video
formats.
Instead make it so that when the user changes his preferences,
the application becomes the default for all mime types in the same
group that it supports.
Nothing changes if configuration is modified externally (e.g.
by hand or through nautilus): expose as preferred app the one that
is configured to handle the primary content type.

https://bugzilla.gnome.org/show_bug.cgi?id=674084
2012-08-24 19:50:21 +02: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
Matthias Clasen
637bd5183b info: change 'other media action' mnemonic
Use the A instead of the o. There are no conflicts, and using
the first character as mnemonic is better.

https://bugzilla.gnome.org/show_bug.cgi?id=681211
2012-08-07 21:56:07 -04:00
Matthias Clasen
5fc4b1809b info: Fix mnemonic activation for 'other media action'
The mnemonic was pointing at a box, which is not activatable.

https://bugzilla.gnome.org/show_bug.cgi?id=681211
2012-08-07 21:56:06 -04:00
Matthias Clasen
34caef89ef info: replace one GtkTable instance by GtkGrid
https://bugzilla.gnome.org/show_bug.cgi?id=681211
2012-08-07 21:56:05 -04:00
Matthias Clasen
a8662e4261 info: Use GtkBox instead of GtkHBox/GtkVBox
https://bugzilla.gnome.org/show_bug.cgi?id=681211
2012-08-07 21:56:03 -04:00
Matthias Clasen
5366d1188e info: Check PackageKit version at runtime
The previous patch made use use PackageKit 0.8 API. This patch
adds a version check that keeps the info panel from crashing
when it finds an older PackageKit at runtime.
2012-07-22 13:00:18 -04:00
Matthias Clasen
76add03e25 info: Adapt to PackageKit API breakage
PackageKit 0.8.x has broken several APIs that we are using here.
2012-07-22 12:59:15 -04:00
Sebastien Bacher
6e8ddbaeea info: Add software media to "other media" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=671358
2012-06-14 18:44:38 +01:00
Sebastien Bacher
cb35970192 info: Add title for the "other media" dialog
https://bugzilla.gnome.org/show_bug.cgi?id=671374
2012-06-14 18:44:19 +01:00
Bastien Nocera
07866aa933 info: Ignore removable mounts
That used to be in /media and are now in /run/media/$USERNAME/
2012-04-19 14:26:11 +01:00
Bastien Nocera
3d063ebaf7 info: Update from gnome-settings-daemon 2012-04-19 14:25:55 +01:00
Bastien Nocera
9c56a95358 info: Ignore NFS mounts when calculating disk size
https://bugzilla.gnome.org/show_bug.cgi?id=674356
2012-04-19 12:01:35 +01:00
Bastien Nocera
18524ddb9d info: Add code to update disk space helper 2012-04-19 12:01:30 +01:00
Bastien Nocera
27d917458d info: Update from gnome-settings-daemon 2012-04-19 12:01:25 +01:00
Richard Hughes
460d257483 info: Fix the updates state machine
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=671393
2012-03-05 19:00:22 +00:00
Bastien Nocera
bdb09755c8 info: Remove unused icons
In GNOME 3.2, the icons were hidden. Some changes in GTK+ mean
that the icons are now visible. As we don't use them, remove them
altogether.

https://bugzilla.gnome.org/show_bug.cgi?id=671376
2012-03-05 18:29:28 +00:00
Bastien Nocera
7e5c60a818 info: Avoid empty entries in "Other types" dialogue
https://bugzilla.gnome.org/show_bug.cgi?id=671358
2012-03-05 14:15:16 +00:00
Matthias Clasen
c5157bb545 info: handle dialog closing consistently
The 'Other media' dialog is just hidden when the close button is
clicked (so that it can be shown again), but when closing it with
the Escape key, it gets destroyed and an attempt to bring it up
again just shows a sad empty little square.

https://bugzilla.gnome.org/show_bug.cgi?id=659948
2012-03-05 14:01:44 +00:00
Bastien Nocera
dc7abc26c0 info: Remove unnecessary and non-portable include
https://bugzilla.gnome.org/show_bug.cgi?id=668946
2012-01-30 11:18:11 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Rodrigo Moya
d708660eb0 Rename 'System info' panel to Details
https://bugzilla.gnome.org/show_bug.cgi?id=661696
2011-11-29 10:04:37 +01:00
Cosimo Cecchi
1dd7d8fef8 info: use dim-label style and right align for description labels
gnome-control-center (inconsistently) uses right-aligned dim-label
widgets for description labels (for example, in the System Info,
User Accounts and Printer panels)
Use them in the whole System Info panel here as well.

https://bugzilla.gnome.org/show_bug.cgi?id=665059
2011-11-28 10:27:10 -05:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Matthias Clasen
d1f38fed35 info: Add labelling relations
This lets ATs such as orca know what label belongs to what
data field, and makes the text read by orca much more useful.
2011-11-03 08:48:41 -04:00
Bastien Nocera
9770f2a332 info: Avoid re-using a non-NULL error 2011-10-24 17:22:34 +01:00
Cosimo Cecchi
281136faee info: really use x-content/unix-software for the Software combobox
The content-type property is actually set in the UI file, not in the C
source.

https://bugzilla.gnome.org/show_bug.cgi?id=660803
2011-10-03 15:44:11 -04:00
Cosimo Cecchi
4a02849325 info: use x-content/unix-software as mime for the Software combobox
Instead of x-content/software, as the nautilus autorun handler only
claims the x-content/unix-software mimetype now.
2011-10-03 12:11:44 -04:00
Ryan Lortie
20fa921090 info: continue on filesystem query info
When calculating the total size of all filesystems, failure to query a
single filesystem results in the iteration being cancelled and a
"Calculating..." message being left on the UI.  Instead, just ignore the
filesystem that failed and move on to the next.

https://bugzilla.gnome.org/show_bug.cgi?id=654563
2011-09-21 12:07:50 -04:00
Bastien Nocera
429b0b47be info: Don't warn if PackageKit isn't around
https://bugzilla.gnome.org/show_bug.cgi?id=659367
2011-09-20 02:38:01 +01:00
Bastien Nocera
32106ffbe6 info: Don't crash when systemd isn't used
It's possible to have systemd installed, including hostnamed,
but have it not be the init system, in which case it will fail
to auto-start. Handle that case instead of crashing.

https://bugzilla.gnome.org/show_bug.cgi?id=659367
2011-09-20 02:38:01 +01:00
Bastien Nocera
2442c44015 info: Add some debug output
Before setting the hostname properties.
2011-09-18 14:15:09 +01:00
Bastien Nocera
1ce23f44d5 info: Split the hostname setting
Into a separate function.
2011-09-18 14:14:59 +01:00
Bastien Nocera
97af2049fd info: Do fallback correctly when reading hostnames
We need to read the hostname when the pretty hostname is
undefined, as it would be on default installations.
2011-09-18 13:19:53 +01:00
Bastien Nocera
5377825ade info: Don't warn when the hostname is empty 2011-09-18 13:19:53 +01:00
Bastien Nocera
c93bf71405 info: Use new GtkAppChooserButton API
gtk_app_chooser_button_set_show_default_item() was
added so that we could show the default application
for the content-type at the top, and selected, without
hacks.

https://bugzilla.gnome.org/show_bug.cgi?id=658693
2011-09-12 23:04:28 +01:00
Bastien Nocera
9b817795bb info: Merge media panel into info panel
https://bugzilla.gnome.org/show_bug.cgi?id=657859
2011-09-09 11:04:02 +01:00
Bastien Nocera
2d975bd678 info: Make "updates" button labels clearer
"System Up-To-Date" when there's nothing to update,
"Install Updates" when there is something to install,
"Checking for Updates" when, well, doing that.

https://bugzilla.gnome.org/show_bug.cgi?id=657007
2011-08-26 16:17:59 +01:00
Bastien Nocera
faf5f630ea info: Always show the "Updates" button
https://bugzilla.gnome.org/show_bug.cgi?id=645274
2011-08-26 16:15:26 +01:00
Javier Jardón
48b111bd5e cc-info-panel: Use the new g_format_size() glib function
To format the memory and disks sizes
2011-07-22 17:13:55 +02:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Alexandre Rostovtsev
16ac093def Fix https scheme handler app setting (bug #653211)
default_app_changed() contains a typo: we need to set the https
handler app when the user changes the http app chooser, not the
(non-existent) https app chooser.
2011-06-23 11:26:07 +02:00
Bastien Nocera
1b183a5fa2 info: Fix disk space showing free space
An error in porting to async code in
c22a98dcb7 made the info panel
report the free space rather than the disk space.

https://bugzilla.gnome.org/show_bug.cgi?id=639376
2011-06-10 16:37:14 +01:00
Frédéric Péters
1e064c8b96 [info] skip test-hostnames if en_US.UTF-8 is not available 2011-06-01 17:57:33 +02:00
Matthias Clasen
0ad983ebff info: add padding to the list
For consistency with sidebar lists in other panels. Almost like
this was a designed application, and not just a grabbag of panels...
2011-05-20 12:43:51 -04:00
Bastien Nocera
4ca492bc26 info: Work-around test failing in some locales
https://bugzilla.gnome.org/show_bug.cgi?id=650342
2011-05-18 13:47:02 +01:00
Bastien Nocera
11571bf609 info: Split test cases into separate file
This fixes errors when run in non-UTF-8 locales.
2011-05-17 15:19:46 +01:00
Matthias Clasen
f783f3cfdc Fix a11y/keynav issues in info panel
Add mnemonics for all active controls.

Part of bug 650132
2011-05-15 18:53:24 -04:00