Commit graph

100 commits

Author SHA1 Message Date
Rui Matos
416de8af2b info: Don't leak a dialog
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:02 +02:00
Jonh Wendell
611eb34028 info: show disk info even if there's no /etc/fstab file
the g_unix_mount_points_get() function checks for entry mount
points. if there are none, it returns NULL and we end up showing
no information about disks.

if that's the case, this patch calls g_unix_mounts_get() which
checks for mounted filesystems in /etc/mtab.

also we need to update the list of ignored filesystems to
include rootfs, which is always present and is a duplicate of
an actual filesystem mount point.

https://bugzilla.gnome.org/show_bug.cgi?id=704702
2013-07-23 09:05:42 -03:00
Kalev Lember
1c8609e2b3 info: Improve error handling for PackageKit version check
Fixes critical errors when PackageKit isn't installed.

https://bugzilla.gnome.org/show_bug.cgi?id=697821
2013-04-15 17:14:40 +02:00
Kalev Lember
4956af4a70 info: Use g_clear_object() 2013-04-15 15:37:16 +02:00
Tim Lunn
dfe066cdac info: Fix display of graphic driver name.
Use XCreateWindow to ensure we are using the same X VisualInfo on
both the config and window. This avoids a BadMatch error on nvidia
glx implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=697881
2013-04-15 18:32:41 +10:00
Tim Lunn
006e1d3367 plug leak of log_contents 2013-04-11 12:00:54 +10:00
Bastien Nocera
a9af8d10db info: Remove unused "is_fallback" variable
We never use fallback now.
2013-02-18 19:13:34 +01:00
Giovanni Campagna
c60221e0b4 Don't use glxinfo to access the graphic driver name
glxinfo is part of mesa-demos, and installing it pulls a lot of unnecessary
programs. We can get the same informations by querying the driver directly.

https://bugzilla.gnome.org/show_bug.cgi?id=691613
2013-01-15 17:47:15 +01:00
Thomas Wood
f3a35fb573 Add CcHostnameEntry widget and use it in the info panel
https://bugzilla.gnome.org/show_bug.cgi?id=687772
2013-01-14 18:06:20 +00:00
Cosimo Cecchi
214b514fcc info: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Bastien Nocera
5b5f2d01e2 info: Remove obsolete Graphics section
https://bugzilla.gnome.org/show_bug.cgi?id=691242
2013-01-07 09:22:59 +01:00
Cosimo Cecchi
8ae20f45c1 info: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-04 20:34:38 +01:00
Bastien Nocera
1af3a03ca3 info: Add debug to the default app setting 2012-12-20 09:20:48 +01:00
Bastien Nocera
3686cf7eb8 shell: Make all control-center plugins static
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.

By the same token, it will stop external panels from being
created, and loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Robert Roth
97ba46c837 info: Avoid adding phantom "Unknown model" CPU on PPC64
Ported from gnome-system-monitor:
https://bugzilla.gnome.org/show_bug.cgi?id=619733

https://bugzilla.gnome.org/show_bug.cgi?id=649909
2012-12-06 11:06:01 +01:00
Robert Roth
d914b2fa7b info: Fix to show CPU model on ARM
Ported from System Monitor's original bug:
https://bugzilla.gnome.org/show_bug.cgi?id=606769

https://bugzilla.gnome.org/show_bug.cgi?id=649909
2012-12-06 11:05:38 +01:00
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