Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NetworkManager-l2tp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CeRiAl
NetworkManager-l2tp
Commits
72de138f
Commit
72de138f
authored
Oct 21, 2012
by
Сергей Прохоров
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied Debian patches for pptp plugin
parent
53078bcc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
vpn-password-dialog.c
auth-dialog/vpn-password-dialog.c
+6
-7
nm-l2tp-dialog.ui
properties/nm-l2tp-dialog.ui
+1
-1
No files found.
auth-dialog/vpn-password-dialog.c
View file @
72de138f
...
@@ -124,8 +124,8 @@ add_row (GtkWidget *table, int row, const char *label_text, GtkWidget *entry)
...
@@ -124,8 +124,8 @@ add_row (GtkWidget *table, int row, const char *label_text, GtkWidget *entry)
label
=
gtk_label_new_with_mnemonic
(
label_text
);
label
=
gtk_label_new_with_mnemonic
(
label_text
);
gtk_misc_set_alignment
(
GTK_MISC
(
label
),
0
.
0
,
0
.
5
);
gtk_misc_set_alignment
(
GTK_MISC
(
label
),
0
.
0
,
0
.
5
);
gtk_
table_attach_defaults
(
GTK_TABLE
(
table
),
label
,
0
,
1
,
row
,
row
+
1
);
gtk_
grid_attach
(
GTK_GRID
(
table
),
label
,
0
,
row
,
1
,
1
);
gtk_
table_attach_defaults
(
GTK_TABLE
(
table
),
entry
,
1
,
2
,
row
,
row
+
1
);
gtk_
grid_attach
(
GTK_GRID
(
table
),
entry
,
1
,
row
,
1
,
1
);
gtk_label_set_mnemonic_widget
(
GTK_LABEL
(
label
),
entry
);
gtk_label_set_mnemonic_widget
(
GTK_LABEL
(
label
),
entry
);
}
}
...
@@ -154,7 +154,7 @@ add_table_rows (VpnPasswordDialog *dialog)
...
@@ -154,7 +154,7 @@ add_table_rows (VpnPasswordDialog *dialog)
if
(
priv
->
show_password_secondary
)
if
(
priv
->
show_password_secondary
)
add_row
(
priv
->
table
,
row
++
,
priv
->
secondary_password_label
,
priv
->
password_entry_secondary
);
add_row
(
priv
->
table
,
row
++
,
priv
->
secondary_password_label
,
priv
->
password_entry_secondary
);
gtk_
table_attach_defaults
(
GTK_TABLE
(
priv
->
table
),
priv
->
show_passwords_checkbox
,
1
,
2
,
row
,
row
+
1
);
gtk_
grid_attach
(
GTK_GRID
(
priv
->
table
),
priv
->
show_passwords_checkbox
,
1
,
row
,
1
,
1
);
gtk_widget_show_all
(
priv
->
table
);
gtk_widget_show_all
(
priv
->
table
);
}
}
...
@@ -228,9 +228,9 @@ vpn_password_dialog_new (const char *title,
...
@@ -228,9 +228,9 @@ vpn_password_dialog_new (const char *title,
priv
->
group
=
gtk_size_group_new
(
GTK_SIZE_GROUP_HORIZONTAL
);
priv
->
group
=
gtk_size_group_new
(
GTK_SIZE_GROUP_HORIZONTAL
);
priv
->
table
=
gtk_
table_new
(
4
,
2
,
FALSE
);
priv
->
table
=
gtk_
grid_new
(
);
gtk_
table_set_col_spacings
(
GTK_TABLE
(
priv
->
table
),
12
);
gtk_
grid_set_column_spacing
(
GTK_GRID
(
priv
->
table
),
12
);
gtk_
table_set_row_spacings
(
GTK_TABLE
(
priv
->
table
),
6
);
gtk_
grid_set_row_spacing
(
GTK_GRID
(
priv
->
table
),
6
);
gtk_container_add
(
GTK_CONTAINER
(
priv
->
table_alignment
),
priv
->
table
);
gtk_container_add
(
GTK_CONTAINER
(
priv
->
table_alignment
),
priv
->
table
);
priv
->
password_entry
=
gtk_entry_new
();
priv
->
password_entry
=
gtk_entry_new
();
...
@@ -458,4 +458,3 @@ void vpn_password_dialog_set_password_secondary_label (VpnPasswordDialog *dialog
...
@@ -458,4 +458,3 @@ void vpn_password_dialog_set_password_secondary_label (VpnPasswordDialog *dialog
if
(
priv
->
show_password_secondary
)
if
(
priv
->
show_password_secondary
)
add_table_rows
(
dialog
);
add_table_rows
(
dialog
);
}
}
properties/nm-l2tp-dialog.ui
View file @
72de138f
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hscrollbar_policy"
>
never
</property>
<property
name=
"hscrollbar_policy"
>
never
</property>
<property
name=
"shadow_type"
>
in
</property>
<property
name=
"shadow_type"
>
in
</property>
<property
name=
"min_content_height"
>
8
0
</property>
<property
name=
"min_content_height"
>
12
0
</property>
<child>
<child>
<object
class=
"GtkTreeView"
id=
"ppp_auth_methods"
>
<object
class=
"GtkTreeView"
id=
"ppp_auth_methods"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"visible"
>
True
</property>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment