Commit graph

84 commits

Author SHA1 Message Date
Matthias Clasen
6ca822940a info: Add distro information
This shows the name of the release in addition to 32/64-bit.
https://bugzilla.gnome.org/show_bug.cgi?id=688957
2012-11-27 11:24:32 +01:00
Bastien Nocera
7889482576 info: Set the transient hostname too
As we need that to get the right name from "hostname".
2012-11-16 19:59:49 +01:00
Thomas Wood
6528b4d789 info: remove the use of the deprecated GtkTable class
GtkTable was deprecated in GTK+ 3.4.

https://bugzilla.gnome.org/show_bug.cgi?id=688254
2012-11-13 14:12:09 +00:00
Bastien Nocera
cae3bc20a4 info: "Don't translate it"
Then don't mark it for translation. Duh.
2012-11-13 07:27:59 +01:00
Bastien Nocera
967b8b51ef info: Remove force fallback switch
As fallback is going away. #fallback

https://bugzilla.gnome.org/show_bug.cgi?id=682863
2012-11-09 16:54:05 +01:00
Thomas Wood
8a2d00f436 info-panel: fix the hostname permission debug message 2012-11-09 13:13:18 +00:00
Thomas Wood
53d06c7085 info-panel: Set the hostname only after a small delay
Avoid setting the hostname from the entry on every single key press and
instead wait for a second after the last key press.

https://bugzilla.gnome.org/show_bug.cgi?id=679284
2012-11-06 11:55:26 +00:00
Bastien Nocera
aecd7c860d info: Detect and display Virtualisation method used
Using systemd's "Virtualization" property on the systemd manager
object. We translate the raw names (as detected by systemd-detect-virt)
into (barely) human readable strings.

https://bugzilla.gnome.org/show_bug.cgi?id=685531
2012-10-17 09:40:23 +02:00
Bastien Nocera
c395e9ac23 info: Use g_clear_* in finalize() 2012-10-17 09:39:25 +02:00
Bastien Nocera
d294951433 info: Don't block for PackageKit
Hanging for 30 seconds when PackageKit doesn't work properly
isn't cool, so do this async.
2012-10-15 16:41:50 +02:00
Bastien Nocera
80f7c38137 info: Split out updates checking 2012-10-15 16:41:50 +02:00
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
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
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
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
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
Bastien Nocera
9770f2a332 info: Avoid re-using a non-NULL error 2011-10-24 17:22:34 +01: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
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
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
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
Bastien Nocera
0188486890 info: Set the StaticHostname
when changing the PrettyHostname

https://bugzilla.gnome.org/show_bug.cgi?id=650044
2011-05-13 16:07:55 +01:00
Bastien Nocera
a089d7e710 info: Implement setting of "PrettyHostname"
This property can be used to name services running on the machine
such as media sharing, device sharing, or externally visible
services such as the Bluetooth name.

We don't set the statis hostname yet though, this will need
to be done to follow the recommendations from systemd.

https://bugzilla.gnome.org/show_bug.cgi?id=650044
2011-05-13 13:35:37 +01:00
Bastien Nocera
b8c2826e3d info: Simplify WID() macro 2011-05-12 18:45:58 +01:00
Bastien Nocera
c22a98dcb7 info: Make free space checking async
https://bugzilla.gnome.org/show_bug.cgi?id=647125
2011-04-10 18:40:49 +01:00
Bastien Nocera
6233c7d20f info: Use correct destructor for GUnixMountEntry 2011-04-08 13:00:38 +01:00