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_ftp_client.c File Reference

Go to the source code of this file.

Data Structures

struct  _RemminaCellRendererPixbuf
 
struct  _RemminaCellRendererPixbufClass
 

Typedefs

typedef struct _RemminaCellRendererPixbuf RemminaCellRendererPixbuf
 
typedef struct _RemminaCellRendererPixbufClass RemminaCellRendererPixbufClass
 

Enumerations

enum  {
  OPEN_DIR_SIGNAL, NEW_TASK_SIGNAL, CANCEL_TASK_SIGNAL, DELETE_FILE_SIGNAL,
  LAST_SIGNAL
}
 

Functions

GType remmina_cell_renderer_pixbuf_get_type (void)
 
static gboolean remmina_cell_renderer_pixbuf_activate (GtkCellRenderer *renderer, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags)
 
static void remmina_cell_renderer_pixbuf_class_init (RemminaCellRendererPixbufClass *klass)
 
static void remmina_cell_renderer_pixbuf_init (RemminaCellRendererPixbuf *renderer)
 
static GtkCellRenderer * remmina_cell_renderer_pixbuf_new (void)
 
 G_DEFINE_TYPE (RemminaFTPClient, remmina_ftp_client, GTK_TYPE_GRID)
 
static void remmina_ftp_client_class_init (RemminaFTPClientClass *klass)
 
static void remmina_ftp_client_destroy (RemminaFTPClient *client, gpointer data)
 
static void remmina_ftp_client_cell_data_filetype_pixbuf (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_ftp_client_cell_data_progress_pixbuf (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static gchar * remmina_ftp_client_size_to_str (gfloat size)
 
static void remmina_ftp_client_cell_data_size (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_ftp_client_cell_data_permission (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_ftp_client_cell_data_size_progress (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_ftp_client_cell_data_progress (GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, GtkTreeIter *iter, gpointer user_data)
 
static void remmina_ftp_client_open_dir (RemminaFTPClient *client, const gchar *dir)
 
static void remmina_ftp_client_dir_on_activate (GtkWidget *widget, RemminaFTPClient *client)
 
static void remmina_ftp_client_dir_on_changed (GtkWidget *widget, RemminaFTPClient *client)
 
static void remmina_ftp_client_set_file_action_sensitive (RemminaFTPClient *client, gboolean sensitive)
 
static void remmina_ftp_client_file_selection_on_changed (GtkTreeSelection *selection, RemminaFTPClient *client)
 
static gchar * remmina_ftp_client_get_download_dir (RemminaFTPClient *client)
 
static void remmina_ftp_client_download (RemminaFTPClient *client, GtkTreeIter *piter, const gchar *localdir)
 
static gboolean remmina_ftp_client_task_list_on_query_tooltip (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, GtkTooltip *tooltip, RemminaFTPClient *client)
 
static void remmina_ftp_client_action_parent (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_action_home (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_action_refresh (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_action_download (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_action_delete (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_upload_folder_on_toggled (GtkToggleButton *togglebutton, GtkWidget *widget)
 
static void remmina_ftp_client_action_upload (GObject *object, RemminaFTPClient *client)
 
static void remmina_ftp_client_popup_menu (RemminaFTPClient *client, GdkEventButton *event)
 
static gboolean remmina_ftp_client_file_list_on_button_press (GtkWidget *widget, GdkEventButton *event, RemminaFTPClient *client)
 
static void remmina_ftp_client_task_list_cell_on_activate (GtkCellRenderer *renderer, gchar *path, RemminaFTPClient *client)
 
static GtkWidget * remmina_ftp_client_create_toolbar (RemminaFTPClient *client)
 
void remmina_ftp_client_set_show_hidden (RemminaFTPClient *client, gboolean show_hidden)
 
static gboolean remmina_ftp_client_filter_visible_func (GtkTreeModel *model, GtkTreeIter *iter, RemminaFTPClient *client)
 
void remmina_ftp_client_set_overwrite_status (RemminaFTPClient *client, gboolean status)
 
gboolean remmina_ftp_client_get_overwrite_status (RemminaFTPClient *client)
 
static void remmina_ftp_client_init (RemminaFTPClient *client)
 
GtkWidget * remmina_ftp_client_new (void)
 
void remmina_ftp_client_save_state (RemminaFTPClient *client, RemminaFile *remminafile)
 
void remmina_ftp_client_load_state (RemminaFTPClient *client, RemminaFile *remminafile)
 
void remmina_ftp_client_clear_file_list (RemminaFTPClient *client)
 
void remmina_ftp_client_add_file (RemminaFTPClient *client,...)
 
void remmina_ftp_client_set_dir (RemminaFTPClient *client, const gchar *dir)
 
gchar * remmina_ftp_client_get_dir (RemminaFTPClient *client)
 
RemminaFTPTaskremmina_ftp_client_get_waiting_task (RemminaFTPClient *client)
 
void remmina_ftp_client_update_task (RemminaFTPClient *client, RemminaFTPTask *task)
 
void remmina_ftp_task_free (RemminaFTPTask *task)
 

Variables

static gint remmina_ftp_client_taskid = 1
 
static guint remmina_ftp_client_signals [LAST_SIGNAL]
 

Typedef Documentation

◆ RemminaCellRendererPixbuf

◆ RemminaCellRendererPixbufClass

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPEN_DIR_SIGNAL 
NEW_TASK_SIGNAL 
CANCEL_TASK_SIGNAL 
DELETE_FILE_SIGNAL 
LAST_SIGNAL 

Definition at line 158 of file remmina_ftp_client.c.

Function Documentation

◆ G_DEFINE_TYPE()

G_DEFINE_TYPE ( RemminaFTPClient  ,
remmina_ftp_client  ,
GTK_TYPE_GRID   
)

Definition at line 120 of file remmina_ftp_client.c.

◆ remmina_cell_renderer_pixbuf_activate()

static gboolean remmina_cell_renderer_pixbuf_activate ( GtkCellRenderer *  renderer,
GdkEvent *  event,
GtkWidget *  widget,
const gchar *  path,
const GdkRectangle *  background_area,
const GdkRectangle *  cell_area,
GtkCellRendererState  flags 
)
static

Definition at line 82 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_cell_renderer_pixbuf_class_init()

static void remmina_cell_renderer_pixbuf_class_init ( RemminaCellRendererPixbufClass klass)
static

Definition at line 91 of file remmina_ftp_client.c.

Here is the call graph for this function:

◆ remmina_cell_renderer_pixbuf_get_type()

GType remmina_cell_renderer_pixbuf_get_type ( void  )

Definition at line 74 of file remmina_ftp_client.c.

◆ remmina_cell_renderer_pixbuf_init()

static void remmina_cell_renderer_pixbuf_init ( RemminaCellRendererPixbuf renderer)
static

Definition at line 103 of file remmina_ftp_client.c.

◆ remmina_cell_renderer_pixbuf_new()

static GtkCellRenderer* remmina_cell_renderer_pixbuf_new ( void  )
static

Definition at line 110 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_action_delete()

static void remmina_ftp_client_action_delete ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 506 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_action_download()

static void remmina_ftp_client_action_download ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 474 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_action_home()

static void remmina_ftp_client_action_home ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 462 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_action_parent()

static void remmina_ftp_client_action_parent ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 456 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_action_refresh()

static void remmina_ftp_client_action_refresh ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 468 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_action_upload()

static void remmina_ftp_client_action_upload ( GObject *  object,
RemminaFTPClient client 
)
static

Definition at line 570 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_add_file()

void remmina_ftp_client_add_file ( RemminaFTPClient client,
  ... 
)

Definition at line 1086 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_cell_data_filetype_pixbuf()

static void remmina_ftp_client_cell_data_filetype_pixbuf ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 191 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_cell_data_permission()

static void remmina_ftp_client_cell_data_permission ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 259 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_cell_data_progress()

static void remmina_ftp_client_cell_data_progress ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 309 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_cell_data_progress_pixbuf()

static void remmina_ftp_client_cell_data_progress_pixbuf ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 210 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_cell_data_size()

static void remmina_ftp_client_cell_data_size ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 244 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_cell_data_size_progress()

static void remmina_ftp_client_cell_data_size_progress ( GtkTreeViewColumn *  col,
GtkCellRenderer *  renderer,
GtkTreeModel *  model,
GtkTreeIter *  iter,
gpointer  user_data 
)
static

Definition at line 283 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_class_init()

static void remmina_ftp_client_class_init ( RemminaFTPClientClass klass)
static

Definition at line 165 of file remmina_ftp_client.c.

Here is the call graph for this function:

◆ remmina_ftp_client_clear_file_list()

void remmina_ftp_client_clear_file_list ( RemminaFTPClient client)

Definition at line 1077 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_create_toolbar()

static GtkWidget* remmina_ftp_client_create_toolbar ( RemminaFTPClient client)
static

Definition at line 736 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_destroy()

static void remmina_ftp_client_destroy ( RemminaFTPClient client,
gpointer  data 
)
static

Definition at line 182 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_dir_on_activate()

static void remmina_ftp_client_dir_on_activate ( GtkWidget *  widget,
RemminaFTPClient client 
)
static

Definition at line 341 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_dir_on_changed()

static void remmina_ftp_client_dir_on_changed ( GtkWidget *  widget,
RemminaFTPClient client 
)
static

Definition at line 347 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_download()

static void remmina_ftp_client_download ( RemminaFTPClient client,
GtkTreeIter *  piter,
const gchar *  localdir 
)
static

Definition at line 403 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_file_list_on_button_press()

static gboolean remmina_ftp_client_file_list_on_button_press ( GtkWidget *  widget,
GdkEventButton *  event,
RemminaFTPClient client 
)
static

Definition at line 674 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_file_selection_on_changed()

static void remmina_ftp_client_file_selection_on_changed ( GtkTreeSelection *  selection,
RemminaFTPClient client 
)
static

Definition at line 370 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_filter_visible_func()

static gboolean remmina_ftp_client_filter_visible_func ( GtkTreeModel *  model,
GtkTreeIter *  iter,
RemminaFTPClient client 
)
static

Definition at line 809 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_get_dir()

gchar* remmina_ftp_client_get_dir ( RemminaFTPClient client)

Definition at line 1144 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_get_download_dir()

static gchar* remmina_ftp_client_get_download_dir ( RemminaFTPClient client)
static

Definition at line 381 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_get_overwrite_status()

gboolean remmina_ftp_client_get_overwrite_status ( RemminaFTPClient client)

Definition at line 834 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_get_waiting_task()

RemminaFTPTask* remmina_ftp_client_get_waiting_task ( RemminaFTPClient client)

Definition at line 1153 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_init()

static void remmina_ftp_client_init ( RemminaFTPClient client)
static

Definition at line 840 of file remmina_ftp_client.c.

Here is the call graph for this function:

◆ remmina_ftp_client_load_state()

void remmina_ftp_client_load_state ( RemminaFTPClient client,
RemminaFile remminafile 
)

Definition at line 1061 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_new()

GtkWidget* remmina_ftp_client_new ( void  )

Definition at line 1042 of file remmina_ftp_client.c.

◆ remmina_ftp_client_open_dir()

static void remmina_ftp_client_open_dir ( RemminaFTPClient client,
const gchar *  dir 
)
static

Definition at line 333 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_popup_menu()

static void remmina_ftp_client_popup_menu ( RemminaFTPClient client,
GdkEventButton *  event 
)
static

Definition at line 639 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_save_state()

void remmina_ftp_client_save_state ( RemminaFTPClient client,
RemminaFile remminafile 
)

Definition at line 1052 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_set_dir()

void remmina_ftp_client_set_dir ( RemminaFTPClient client,
const gchar *  dir 
)

Definition at line 1113 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_set_file_action_sensitive()

static void remmina_ftp_client_set_file_action_sensitive ( RemminaFTPClient client,
gboolean  sensitive 
)
static

Definition at line 360 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_set_overwrite_status()

void remmina_ftp_client_set_overwrite_status ( RemminaFTPClient client,
gboolean  status 
)

Definition at line 827 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_set_show_hidden()

void remmina_ftp_client_set_show_hidden ( RemminaFTPClient client,
gboolean  show_hidden 
)

Definition at line 802 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_size_to_str()

static gchar* remmina_ftp_client_size_to_str ( gfloat  size)
static

Definition at line 237 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_task_list_cell_on_activate()

static void remmina_ftp_client_task_list_cell_on_activate ( GtkCellRenderer *  renderer,
gchar *  path,
RemminaFTPClient client 
)
static

Definition at line 714 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_task_list_on_query_tooltip()

static gboolean remmina_ftp_client_task_list_on_query_tooltip ( GtkWidget *  widget,
gint  x,
gint  y,
gboolean  keyboard_tip,
GtkTooltip *  tooltip,
RemminaFTPClient client 
)
static

Definition at line 429 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_client_update_task()

void remmina_ftp_client_update_task ( RemminaFTPClient client,
RemminaFTPTask task 
)

Definition at line 1197 of file remmina_ftp_client.c.

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

◆ remmina_ftp_client_upload_folder_on_toggled()

static void remmina_ftp_client_upload_folder_on_toggled ( GtkToggleButton *  togglebutton,
GtkWidget *  widget 
)
static

Definition at line 561 of file remmina_ftp_client.c.

Here is the caller graph for this function:

◆ remmina_ftp_task_free()

void remmina_ftp_task_free ( RemminaFTPTask task)

Definition at line 1228 of file remmina_ftp_client.c.

Here is the caller graph for this function:

Variable Documentation

◆ remmina_ftp_client_signals

guint remmina_ftp_client_signals[LAST_SIGNAL]
static
Initial value:
=
{ 0 }

Definition at line 162 of file remmina_ftp_client.c.

◆ remmina_ftp_client_taskid

gint remmina_ftp_client_taskid = 1
static

Definition at line 156 of file remmina_ftp_client.c.