Public Member Functions | |
| SmbShareDialog (Gtk.Window? parent, SmbShare? prefill=null) | |
Static Public Member Functions | |
| static ? SmbShare | run_dialog (Gtk.Window? parent, SmbShare? prefill=null) |
Public Attributes | |
| SmbShare? | result_share = null |
Private Member Functions | |
| void | build_ui () |
| Gtk.Entry | add_row (Gtk.Grid grid, int row, string label_text, string placeholder) |
| void | update_anonymous_state () |
| void | show_error (string text) |
| void | on_connect_clicked () |
| void | quit_loop () |
Private Attributes | |
| Gtk.Entry | entry_server |
| Gtk.Entry | entry_share |
| Gtk.Entry | entry_subpath |
| Gtk.Entry | entry_user |
| Gtk.Entry | entry_password |
| Gtk.Entry | entry_domain |
| Gtk.Entry | entry_label |
| Gtk.CheckButton | chk_anonymous |
| Gtk.CheckButton | chk_remember |
| Gtk.Label | lbl_status |
| Gtk.Button | btn_connect |
| Gtk.Button | btn_cancel |
| GLib.? MainLoop | loop = null |
| bool | ok_pressed = false |
Definition at line 25 of file SmbShareDialog.vala.
|
inline |
Definition at line 45 of file SmbShareDialog.vala.
References _, build_ui(), ok_pressed, quit_loop(), and update_anonymous_state().
Referenced by run_dialog().
|
inlineprivate |
Definition at line 183 of file SmbShareDialog.vala.
Referenced by build_ui().
|
inlineprivate |
Definition at line 78 of file SmbShareDialog.vala.
References _, add_row(), btn_cancel, btn_connect, chk_anonymous, chk_remember, entry_domain, entry_label, entry_password, entry_server, entry_share, entry_subpath, entry_user, lbl_status, ok_pressed, on_connect_clicked(), quit_loop(), and update_anonymous_state().
Referenced by SmbShareDialog().
|
inlineprivate |
Definition at line 216 of file SmbShareDialog.vala.
References _, chk_remember, entry_domain, entry_label, entry_password, entry_server, entry_share, entry_subpath, entry_user, TeeJee.GtkHelper.gtk_set_busy(), SmbMount.mount(), ok_pressed, quit_loop(), result_share, SmbMount.save_share(), and show_error().
Referenced by build_ui().
|
inlineprivate |
Definition at line 274 of file SmbShareDialog.vala.
References loop.
Referenced by build_ui(), on_connect_clicked(), and SmbShareDialog().
Convenience: opens the window modally and returns the resulting SmbShare (or null if the user cancelled / the mount failed).
Definition at line 285 of file SmbShareDialog.vala.
References SmbShareDialog().
Referenced by BackupDeviceBox.on_add_smb_share_clicked().
|
inlineprivate |
Definition at line 211 of file SmbShareDialog.vala.
Referenced by on_connect_clicked().
|
inlineprivate |
Definition at line 199 of file SmbShareDialog.vala.
References chk_anonymous.
Referenced by build_ui(), and SmbShareDialog().
|
private |
Definition at line 38 of file SmbShareDialog.vala.
Referenced by build_ui().
|
private |
Definition at line 37 of file SmbShareDialog.vala.
Referenced by build_ui().
|
private |
Definition at line 34 of file SmbShareDialog.vala.
Referenced by build_ui(), and update_anonymous_state().
|
private |
Definition at line 35 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 32 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 33 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 31 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 27 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 28 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 29 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 30 of file SmbShareDialog.vala.
Referenced by build_ui(), and on_connect_clicked().
|
private |
Definition at line 36 of file SmbShareDialog.vala.
Referenced by build_ui().
|
private |
Definition at line 42 of file SmbShareDialog.vala.
Referenced by quit_loop().
|
private |
Definition at line 43 of file SmbShareDialog.vala.
Referenced by build_ui(), on_connect_clicked(), and SmbShareDialog().
| SmbShare? SmbShareDialog.result_share = null |
Definition at line 40 of file SmbShareDialog.vala.
Referenced by on_connect_clicked().