Remmina - The GTK+ Remote Desktop Client  1.2.0
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
remmina_main.c File Reference

Go to the source code of this file.

Enumerations

enum  {
  PROTOCOL_COLUMN, NAME_COLUMN, GROUP_COLUMN, SERVER_COLUMN,
  PLUGIN_COLUMN, DATE_COLUMN, FILENAME_COLUMN, N_COLUMNS
}
 

Functions

static void remmina_main_save_size (void)
 
static void remmina_main_save_expanded_group_func (GtkTreeView *tree_view, GtkTreePath *path, gpointer user_data)
 
static void remmina_main_save_expanded_group (void)
 
void remmina_main_save_before_destroy ()
 
static gboolean remmina_main_dexit (gpointer data)
 
gboolean remmina_main_on_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data)
 
void remmina_main_destroy ()
 
static void remmina_main_clear_selection_data (void)
 
static void remmina_main_show_snap_welcome ()
 
static gboolean remmina_main_selection_func (GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer user_data)
 
static void remmina_main_load_file_list_callback (RemminaFile *remminafile, gpointer user_data)
 
static gboolean remmina_main_load_file_tree_traverse (GNode *node, GtkTreeStore *store, GtkTreeIter *parent)
 
static void remmina_main_load_file_tree_group (GtkTreeStore *store)
 
static void remmina_main_expand_group_traverse (GtkTreeIter *iter)
 
static void remmina_main_expand_group (void)
 
static gboolean remmina_main_load_file_tree_find (GtkTreeModel *tree, GtkTreeIter *iter, const gchar *match_group)
 
static void remmina_main_load_file_tree_callback (RemminaFile *remminafile, gpointer user_data)
 
static void remmina_main_file_model_on_sort (GtkTreeSortable *sortable, gpointer user_data)
 
static gboolean remmina_main_filter_visible_func (GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_main_select_file (const gchar *filename)
 
static void remmina_main_load_files ()
 
void remmina_main_load_files_cb ()
 
void remmina_main_on_action_connection_connect (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_connection_external_tools (GtkAction *action, gpointer user_data)
 
static void remmina_main_file_editor_destroy (GtkWidget *widget, gpointer user_data)
 
void remmina_main_on_action_application_mpchange (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_connections_new (GtkAction *action, gpointer user_data)
 
void remmina_main_on_search_toggle ()
 
void remmina_main_on_view_toggle ()
 
void remmina_main_on_action_connection_copy (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_connection_edit (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_connection_delete (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_application_preferences (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_application_quit (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_view_statusbar (GtkToggleAction *action, gpointer user_data)
 
void remmina_main_on_date_column_sort_clicked ()
 
static void remmina_main_import_file_list (GSList *files)
 
static void remmina_main_action_tools_import_on_response (GtkDialog *dialog, gint response_id, gpointer user_data)
 
void remmina_main_on_action_tools_import (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_tools_export (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_application_plugins (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_help_homepage (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_help_wiki (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_help_gplus (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_help_donations (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_help_debug (GtkAction *action, gpointer user_data)
 
void remmina_main_on_action_application_about (GtkAction *action, gpointer user_data)
 
static gboolean remmina_main_quickconnect (void)
 
gboolean remmina_main_quickconnect_on_click (GtkWidget *widget, gpointer user_data)
 
void remmina_main_quick_search_enter (GtkWidget *widget, gpointer user_data)
 
void remmina_main_file_list_on_row_activated (GtkTreeView *tree, GtkTreePath *path, GtkTreeViewColumn *column, gpointer user_data)
 
gboolean remmina_main_file_list_on_button_press (GtkWidget *widget, GdkEventButton *event, gpointer user_data)
 
gboolean remmina_main_file_list_on_key_press (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
 
void remmina_main_quick_search_on_icon_press (GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkEvent *event, gpointer user_data)
 
void remmina_main_quick_search_on_changed (GtkEditable *editable, gpointer user_data)
 
void remmina_main_on_drag_data_received (GtkWidget *widget, GdkDragContext *drag_context, gint x, gint y, GtkSelectionData *data, guint info, guint time, gpointer user_data)
 
static gboolean remmina_main_add_tool_plugin (gchar *name, RemminaPlugin *plugin, gpointer user_data)
 
gboolean remmina_main_on_window_state_event (GtkWidget *widget, GdkEventWindowState *event, gpointer user_data)
 
static void remmina_main_init (void)
 
void remmina_main_on_show (GtkWidget *w, gpointer user_data)
 
void remmina_main_on_click_ustat_yes (GtkWidget *w, gpointer user_data)
 
void remmina_main_on_click_ustat_no (GtkWidget *w, gpointer user_data)
 
GtkWidget * remmina_main_new (void)
 
GtkWindow * remmina_main_get_window ()
 
void remmina_main_update_file_datetime (RemminaFile *file)
 
void remmina_main_show_warning_dialog (const gchar *message)
 

Variables

static RemminaMainremminamain
 
static GtkTargetEntry remmina_drop_types []
 
static char * quick_connect_plugin_list []
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
PROTOCOL_COLUMN 
NAME_COLUMN 
GROUP_COLUMN 
SERVER_COLUMN 
PLUGIN_COLUMN 
DATE_COLUMN 
FILENAME_COLUMN 
N_COLUMNS 

Definition at line 67 of file remmina_main.c.

Function Documentation

◆ remmina_main_action_tools_import_on_response()

static void remmina_main_action_tools_import_on_response ( GtkDialog *  dialog,
gint  response_id,
gpointer  user_data 
)
static

Definition at line 862 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_add_tool_plugin()

static gboolean remmina_main_add_tool_plugin ( gchar *  name,
RemminaPlugin plugin,
gpointer  user_data 
)
static

Definition at line 1092 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_clear_selection_data()

static void remmina_main_clear_selection_data ( void  )
static

Definition at line 181 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_destroy()

void remmina_main_destroy ( void  )

Definition at line 155 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_dexit()

static gboolean remmina_main_dexit ( gpointer  data)
static

Definition at line 135 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_expand_group()

static void remmina_main_expand_group ( void  )
static

Definition at line 371 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_expand_group_traverse()

static void remmina_main_expand_group_traverse ( GtkTreeIter *  iter)
static

Definition at line 341 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_file_editor_destroy()

static void remmina_main_file_editor_destroy ( GtkWidget *  widget,
gpointer  user_data 
)
static

Definition at line 640 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_file_list_on_button_press()

gboolean remmina_main_file_list_on_button_press ( GtkWidget *  widget,
GdkEventButton *  event,
gpointer  user_data 
)

Definition at line 1013 of file remmina_main.c.

◆ remmina_main_file_list_on_key_press()

gboolean remmina_main_file_list_on_key_press ( GtkWidget *  widget,
GdkEventKey *  event,
gpointer  user_data 
)

Definition at line 1030 of file remmina_main.c.

◆ remmina_main_file_list_on_row_activated()

void remmina_main_file_list_on_row_activated ( GtkTreeView *  tree,
GtkTreePath *  path,
GtkTreeViewColumn *  column,
gpointer  user_data 
)

Definition at line 995 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_file_model_on_sort()

static void remmina_main_file_model_on_sort ( GtkTreeSortable *  sortable,
gpointer  user_data 
)
static

Definition at line 439 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_filter_visible_func()

static gboolean remmina_main_filter_visible_func ( GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 451 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_get_window()

GtkWindow* remmina_main_get_window ( void  )

Definition at line 1293 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_import_file_list()

static void remmina_main_import_file_list ( GSList *  files)
static

Definition at line 819 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_init()

static void remmina_main_init ( void  )
static
Todo:
Set entry_quick_connect_server as default search entry. Weirdly. This does not work yet.

Definition at line 1111 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_load_file_list_callback()

static void remmina_main_load_file_list_callback ( RemminaFile remminafile,
gpointer  user_data 
)
static

Definition at line 282 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_load_file_tree_callback()

static void remmina_main_load_file_tree_callback ( RemminaFile remminafile,
gpointer  user_data 
)
static

Definition at line 409 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_load_file_tree_find()

static gboolean remmina_main_load_file_tree_find ( GtkTreeModel *  tree,
GtkTreeIter *  iter,
const gchar *  match_group 
)
static

Definition at line 381 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_load_file_tree_group()

static void remmina_main_load_file_tree_group ( GtkTreeStore *  store)
static

Definition at line 331 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_load_file_tree_traverse()

static gboolean remmina_main_load_file_tree_traverse ( GNode *  node,
GtkTreeStore *  store,
GtkTreeIter *  parent 
)
static

Definition at line 304 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_load_files()

static void remmina_main_load_files ( )
static

Definition at line 525 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_load_files_cb()

void remmina_main_load_files_cb ( )

Definition at line 605 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_new()

GtkWidget* remmina_main_new ( void  )

Definition at line 1214 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_on_action_application_about()

void remmina_main_on_action_application_about ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 952 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_application_mpchange()

void remmina_main_on_action_application_mpchange ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 646 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_application_plugins()

void remmina_main_on_action_application_plugins ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 916 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_application_preferences()

void remmina_main_on_action_application_preferences ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 775 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_application_quit()

void remmina_main_on_action_application_quit ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 783 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_connection_connect()

void remmina_main_on_action_connection_connect ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 611 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_on_action_connection_copy()

void remmina_main_on_action_connection_copy ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 714 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_connection_delete()

void remmina_main_on_action_connection_delete ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 753 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_connection_edit()

void remmina_main_on_action_connection_edit ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 734 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_on_action_connection_external_tools()

void remmina_main_on_action_connection_external_tools ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 631 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_connections_new()

void remmina_main_on_action_connections_new ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 674 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_help_debug()

void remmina_main_on_action_help_debug ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 946 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_help_donations()

void remmina_main_on_action_help_donations ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 940 of file remmina_main.c.

◆ remmina_main_on_action_help_gplus()

void remmina_main_on_action_help_gplus ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 934 of file remmina_main.c.

◆ remmina_main_on_action_help_homepage()

void remmina_main_on_action_help_homepage ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 922 of file remmina_main.c.

◆ remmina_main_on_action_help_wiki()

void remmina_main_on_action_help_wiki ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 928 of file remmina_main.c.

◆ remmina_main_on_action_tools_export()

void remmina_main_on_action_tools_export ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 886 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_tools_import()

void remmina_main_on_action_tools_import ( GtkAction *  action,
gpointer  user_data 
)

Definition at line 874 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_action_view_statusbar()

void remmina_main_on_action_view_statusbar ( GtkToggleAction *  action,
gpointer  user_data 
)

Definition at line 790 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_click_ustat_no()

void remmina_main_on_click_ustat_no ( GtkWidget *  w,
gpointer  user_data 
)

Definition at line 1204 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_click_ustat_yes()

void remmina_main_on_click_ustat_yes ( GtkWidget *  w,
gpointer  user_data 
)

Definition at line 1194 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_date_column_sort_clicked()

void remmina_main_on_date_column_sort_clicked ( )

Definition at line 809 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_delete_event()

gboolean remmina_main_on_delete_event ( GtkWidget *  widget,
GdkEvent *  event,
gpointer  user_data 
)

Definition at line 143 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_drag_data_received()

void remmina_main_on_drag_data_received ( GtkWidget *  widget,
GdkDragContext *  drag_context,
gint  x,
gint  y,
GtkSelectionData *  data,
guint  info,
guint  time,
gpointer  user_data 
)

Definition at line 1073 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_search_toggle()

void remmina_main_on_search_toggle ( )

Definition at line 686 of file remmina_main.c.

◆ remmina_main_on_show()

void remmina_main_on_show ( GtkWidget *  w,
gpointer  user_data 
)

Definition at line 1181 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_view_toggle()

void remmina_main_on_view_toggle ( )

Definition at line 695 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_on_window_state_event()

gboolean remmina_main_on_window_state_event ( GtkWidget *  widget,
GdkEventWindowState *  event,
gpointer  user_data 
)

Definition at line 1104 of file remmina_main.c.

◆ remmina_main_quick_search_enter()

void remmina_main_quick_search_enter ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 988 of file remmina_main.c.

◆ remmina_main_quick_search_on_changed()

void remmina_main_quick_search_on_changed ( GtkEditable *  editable,
gpointer  user_data 
)

Definition at line 1053 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_quick_search_on_icon_press()

void remmina_main_quick_search_on_icon_press ( GtkEntry *  entry,
GtkEntryIconPosition  icon_pos,
GdkEvent *  event,
gpointer  user_data 
)

Definition at line 1045 of file remmina_main.c.

◆ remmina_main_quickconnect()

static gboolean remmina_main_quickconnect ( void  )
static

Definition at line 958 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_quickconnect_on_click()

gboolean remmina_main_quickconnect_on_click ( GtkWidget *  widget,
gpointer  user_data 
)

Definition at line 979 of file remmina_main.c.

Here is the call graph for this function:

◆ remmina_main_save_before_destroy()

void remmina_main_save_before_destroy ( void  )

Definition at line 126 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_save_expanded_group()

static void remmina_main_save_expanded_group ( void  )
static

Definition at line 113 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_save_expanded_group_func()

static void remmina_main_save_expanded_group_func ( GtkTreeView *  tree_view,
GtkTreePath *  path,
gpointer  user_data 
)
static

Definition at line 99 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_save_size()

static void remmina_main_save_size ( void  )
static

Definition at line 88 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_select_file()

static void remmina_main_select_file ( const gchar *  filename)
static

Definition at line 497 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_selection_func()

static gboolean remmina_main_selection_func ( GtkTreeSelection *  selection,
GtkTreeModel *  model,
GtkTreePath *  path,
gboolean  path_currently_selected,
gpointer  user_data 
)
static

Definition at line 246 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_show_snap_welcome()

static void remmina_main_show_snap_welcome ( )
static

Definition at line 195 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remmina_main_show_warning_dialog()

void remmina_main_show_warning_dialog ( const gchar *  message)

Definition at line 1311 of file remmina_main.c.

Here is the caller graph for this function:

◆ remmina_main_update_file_datetime()

void remmina_main_update_file_datetime ( RemminaFile file)

Definition at line 1304 of file remmina_main.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ quick_connect_plugin_list

char* quick_connect_plugin_list[]
static
Initial value:
=
{
"RDP", "VNC", "SSH", "NX", "SPICE"
}

Definition at line 83 of file remmina_main.c.

◆ remmina_drop_types

GtkTargetEntry remmina_drop_types[]
static
Initial value:
=
{
{ "text/uri-list", 0, 1 }
}

Definition at line 78 of file remmina_main.c.

◆ remminamain

RemminaMain* remminamain
static

Definition at line 63 of file remmina_main.c.