~ubuntu-branches/ubuntu/oneiric/gnome-system-monitor/oneiric-proposed

« back to all changes in this revision

Viewing changes to src/procman.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-21 16:49:23 UTC
  • mto: (2.1.7 sid) (1.1.59 upstream)
  • mto: This revision was merged to the branch mainline in revision 78.
  • Revision ID: james.westby@ubuntu.com-20110621164923-o6titd2srek1uh84
Tags: upstream-3.0.1
ImportĀ upstreamĀ versionĀ 3.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <glibmm/refptr.h>
24
24
#include <gdk-pixbuf/gdk-pixbuf.h>
25
25
#include <glib.h>
 
26
#include <gio/gio.h>
26
27
#include <gtk/gtk.h>
27
 
#include <gconf/gconf-client.h>
28
28
#include <glibtop/cpu.h>
29
29
 
30
30
#include <time.h>
40
40
#include "smooth_refresh.h"
41
41
#include "prettytable.h"
42
42
 
 
43
#define GSM_GSETTINGS_SCHEMA "org.gnome.gnome-system-monitor"
 
44
 
43
45
enum
44
46
{
45
47
        ALL_PROCESSES,
72
74
{
73
75
        gint            width;
74
76
        gint            height;
75
 
        gboolean        show_kill_warning;
76
 
        gboolean        show_tree;
 
77
        gboolean        show_kill_warning;
 
78
        gboolean        show_tree;
77
79
        gboolean        show_all_fs;
78
80
        int             update_interval;
79
81
        int             graph_update_interval;
206
208
 
207
209
        PrettyTable     pretty_table;
208
210
 
209
 
        GConfClient     *client;
 
211
        GSettings       *settings;
210
212
        GtkWidget       *app;
211
213
        GtkUIManager    *menu;
212
214
 
224
226
};
225
227
 
226
228
void            procman_save_config (ProcData *data);
227
 
void            procman_save_tree_state (GConfClient *client, GtkWidget *tree, const gchar *prefix);
228
 
gboolean        procman_get_tree_state (GConfClient *client, GtkWidget *tree, const gchar *prefix);
 
229
void            procman_save_tree_state (GSettings *settings, GtkWidget *tree, const gchar *prefix);
 
230
gboolean        procman_get_tree_state (GSettings *settings, GtkWidget *tree, const gchar *prefix);
229
231
 
230
232
 
231
233