diff options
Diffstat (limited to 'gncpmount.c')
-rw-r--r-- | gncpmount.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gncpmount.c b/gncpmount.c index e508918..001ec6e 100644 --- a/gncpmount.c +++ b/gncpmount.c @@ -9,6 +9,7 @@ #define HEIGHT -1 + /** * Load savet options to GUI */ @@ -35,6 +36,7 @@ set_gui_from_cmdparams () } + /** * Save options set in GUI by user to cmd_params */ @@ -52,6 +54,7 @@ save_gui_to_cmdparams() } + /** * Check length of all entry and if they are filled enables mount button */ @@ -79,6 +82,7 @@ void enable_mount_button () } + /** * Create Open folder dialog and let user select folder * for mount point @@ -105,6 +109,7 @@ open_folder (GtkWidget *wid, GtkWidget *win) } + /** * Call ncpmount command */ @@ -116,6 +121,7 @@ call_ncpmount (GtkWidget *wid, GtkWidget *win) } + /** * Set if -P (password) is used or not */ @@ -141,6 +147,7 @@ passwd_usage (GtkWidget *wid, GtkWidget *win) } + /** * Open Options dialog */ @@ -151,6 +158,7 @@ run_options_dialog ( GtkWidget *w, gpointer data ) } + /** * Open Show command dialog */ @@ -162,6 +170,7 @@ run_command_dialog ( GtkWidget *w, gpointer data ) } + /** Menu, an array of GtkItemFactoryEntry structures that defines each menu item */ static GtkItemFactoryEntry menu_items[] = { @@ -179,10 +188,12 @@ static GtkItemFactoryEntry menu_items[] = }; + /** Menu items count */ static gint nmenu_items = sizeof (menu_items) / sizeof (menu_items[0]); + /** * Returns a menubar widget made from the above menu */ @@ -205,6 +216,7 @@ get_menubar_menu( GtkWidget *window ) } + int main (int argc, char *argv[]) { GtkWidget *label = NULL; |