[gnome-control-center/gnome-3-10] sharing: Make it possible to add new folders
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-10] sharing: Make it possible to add new folders
- Date: Thu, 14 Nov 2013 23:02:05 +0000 (UTC)
commit 40d672cce3b700f08baa36da7f2c7f00f322e30f
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 14 09:25:30 2013 +0100
sharing: Make it possible to add new folders
The media panel wouldn't let you add more folder because the
test for equality was reversed.
https://bugzilla.gnome.org/show_bug.cgi?id=710580
panels/sharing/cc-sharing-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index a5d4235..1782180 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -445,7 +445,7 @@ cc_sharing_panel_add_folder (GtkWidget *button,
gchar *string;
gtk_tree_model_get (GTK_TREE_MODEL (store), &iter, 0, &string, -1);
- matching = (g_strcmp0 (string, folder) != 0);
+ matching = (g_strcmp0 (string, folder) == 0);
g_free (string);
if (matching)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]