~dylanmccall/ubuntu/oneiric/network-manager-applet/lp852961-disable-autostart-for-gnome-shell

« back to all changes in this revision

Viewing changes to src/connection-editor/nm-connection-editor.h

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-05-30 13:25:18 UTC
  • mto: This revision was merged to the branch mainline in revision 68.
  • Revision ID: james.westby@ubuntu.com-20110530132518-ya5i5mcrl8szsmoj
Tags: upstream-0.8.9997+git.20110529t170033.9ec4c5d
ImportĀ upstreamĀ versionĀ 0.8.9997+git.20110529t170033.9ec4c5d

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#ifndef NM_CONNECTION_EDITOR_H
23
23
#define NM_CONNECTION_EDITOR_H
24
24
 
25
 
#include "config.h"
26
 
 
27
25
#include <glib-object.h>
28
26
 
29
 
#include "nm-remote-settings-system.h"
 
27
#include <nm-client.h>
30
28
 
31
29
#define NM_TYPE_CONNECTION_EDITOR    (nm_connection_editor_get_type ())
32
30
#define NM_IS_CONNECTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_CONNECTION_EDITOR))
38
36
        GObject parent;
39
37
        gboolean disposed;
40
38
 
 
39
        NMClient *client;
 
40
        guint permission_id;
 
41
 
41
42
        /* private data */
42
43
        NMConnection *connection;
43
44
        NMConnection *orig_connection;
44
45
 
45
 
        NMConnectionScope orig_scope;
46
 
 
47
46
        GetSecretsInfo *secrets_call;
48
47
        GSList *pending_secrets_calls;
49
48
 
50
 
        GtkWidget *system_checkbutton;
51
 
        gboolean system_settings_can_modify;
 
49
        GtkWidget *all_checkbutton;
 
50
        NMClientPermissionResult can_modify;
52
51
 
53
52
        GSList *initializing_pages;
54
53
        GSList *pages;
70
69
 
71
70
GType               nm_connection_editor_get_type (void);
72
71
NMConnectionEditor *nm_connection_editor_new (NMConnection *connection,
73
 
                                              NMRemoteSettingsSystem *settings,
 
72
                                              NMClient *client,
74
73
                                              GError **error);
75
74
 
76
75
void                nm_connection_editor_present (NMConnectionEditor *editor);
77
76
void                nm_connection_editor_run (NMConnectionEditor *editor);
78
 
void                nm_connection_editor_save_vpn_secrets (NMConnectionEditor *editor);
79
77
NMConnection *      nm_connection_editor_get_connection (NMConnectionEditor *editor);
80
78
gboolean            nm_connection_editor_update_connection (NMConnectionEditor *editor, GError **error);
81
79
GtkWindow *         nm_connection_editor_get_window (NMConnectionEditor *editor);