summaryrefslogtreecommitdiff
path: root/capplet/gsm-properties-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/gsm-properties-dialog.c')
-rw-r--r--capplet/gsm-properties-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c
index 3f7a816..bde8999 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -181,6 +181,10 @@ append_app (GsmPropertiesDialog *dialog,
GspApp *app)
{
GtkTreeIter iter;
+ if (find_by_app (GTK_TREE_MODEL (dialog->list_store),
+ &iter, app)) {
+ return;
+ }
gtk_list_store_append (dialog->list_store, &iter);
_fill_iter_from_app (dialog->list_store, &iter, app);