diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2010-03-03 22:33:35 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2010-03-03 23:18:45 +0800 |
commit | 4f990cd2192a39f0b6111fc9aad1848aaeda11c4 (patch) | |
tree | a3213757c8c651d10bc326ab47dbc8d8350b0642 /libempathy-gtk/empathy-ui-utils.h | |
parent | e99f234b1e90869d04a17e300662b4be8c353bfe (diff) | |
download | gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar.gz gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar.bz2 gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar.lz gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar.xz gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.tar.zst gsoc2013-empathy-4f990cd2192a39f0b6111fc9aad1848aaeda11c4.zip |
Reorganize code in empathy-ui-utils.ch to group related code
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.h')
-rw-r--r-- | libempathy-gtk/empathy-ui-utils.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h index 05033f30f..097976ad6 100644 --- a/libempathy-gtk/empathy-ui-utils.h +++ b/libempathy-gtk/empathy-ui-utils.h @@ -109,15 +109,18 @@ void empathy_window_present (GtkWindow *windo void empathy_window_iconify (GtkWindow *window, GtkStatusIcon *status_icon); GtkWindow * empathy_get_toplevel_window (GtkWidget *widget); + +/* URL */ +gchar * empathy_make_absolute_url (const gchar *url); + +gchar * empathy_make_absolute_url_len (const gchar *url, + guint len); void empathy_url_show (GtkWidget *parent, const char *url); -void empathy_toggle_button_set_state_quietly (GtkWidget *widget, - GCallback callback, - gpointer user_data, - gboolean active); GtkWidget * empathy_link_button_new (const gchar *url, const gchar *title); +/* File transfer */ void empathy_send_file (EmpathyContact *contact, GFile *file); void empathy_send_file_from_uri_list (EmpathyContact *contact, @@ -125,9 +128,11 @@ void empathy_send_file_from_uri_list (EmpathyContact *conta void empathy_send_file_with_file_chooser (EmpathyContact *contact); void empathy_receive_file_with_file_chooser (EmpathyFTHandler *handler); -gchar * empathy_make_absolute_url (const gchar *url); -gchar * empathy_make_absolute_url_len (const gchar *url, - guint len); +/* Misc */ +void empathy_toggle_button_set_state_quietly (GtkWidget *widget, + GCallback callback, + gpointer user_data, + gboolean active); G_END_DECLS |