aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-05 19:44:30 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-05 19:44:30 +0800
commitbeae7d25b600079c3f71c7dcc35cfa0f3e6d34fc (patch)
tree49b0bfbd2f8d3e985fc61aa3e6a8f28a76d72d59 /src
parentcf118e67c08e1d50b456a7127b0c879740d30e85 (diff)
downloadgsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar.gz
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar.bz2
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar.lz
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar.xz
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.tar.zst
gsoc2013-empathy-beae7d25b600079c3f71c7dcc35cfa0f3e6d34fc.zip
Remove Meego specific code
It's not used any more by Intel.
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 8f5397912..9a07325f0 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1391,24 +1391,6 @@ accounts_dialog_button_remove_clicked_cb (GtkWidget *button,
accounts_dialog_remove_account_iter (dialog, &iter);
}
-#ifdef HAVE_MEEGO
-static void
-accounts_dialog_view_delete_activated_cb (EmpathyCellRendererActivatable *cell,
- const gchar *path_string,
- EmpathyAccountsDialog *dialog)
-{
- EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog);
- GtkTreeModel *model;
- GtkTreeIter iter;
-
- model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->treeview));
- if (!gtk_tree_model_get_iter_from_string (model, &iter, path_string))
- return;
-
- accounts_dialog_remove_account_iter (dialog, &iter);
-}
-#endif /* HAVE_MEEGO */
-
static void
accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
{
@@ -1460,20 +1442,6 @@ accounts_dialog_model_add_columns (EmpathyAccountsDialog *dialog)
G_CALLBACK (accounts_dialog_name_editing_started_cb),
dialog);
g_object_set (priv->name_renderer, "ypad", 4, NULL);
-
-#ifdef HAVE_MEEGO
- /* Delete column */
- cell = empathy_cell_renderer_activatable_new ();
- gtk_tree_view_column_pack_start (column, cell, FALSE);
- g_object_set (cell,
- "icon-name", GTK_STOCK_DELETE,
- "show-on-select", TRUE,
- NULL);
-
- g_signal_connect (cell, "path-activated",
- G_CALLBACK (accounts_dialog_view_delete_activated_cb),
- dialog);
-#endif /* HAVE_MEEGO */
}
static EmpathyAccountSettings *
@@ -2480,11 +2448,6 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog));
-#ifdef HAVE_MEEGO
- gtk_widget_hide (action_area);
- gtk_widget_hide (priv->button_remove);
-#endif /* HAVE_MEEGO */
-
/* Display loading page */
priv->loading = TRUE;