Author: benny
Date: 2006-07-31 00:00:29 +0000 (Mon, 31 Jul 2006)
New Revision: 22585

Modified:
   thunar/trunk/ChangeLog
   thunar/trunk/thunar/thunar-permissions-chooser.c
Log:
2006-07-31      Benedikt Meurer <[EMAIL PROTECTED]>

        * thunar/thunar-permissions-chooser.c
          (thunar_permissions_chooser_file_changed): Make sure that the file's
          group is included in the "Group" box. Bug #1838.




Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog      2006-07-30 23:14:26 UTC (rev 22584)
+++ thunar/trunk/ChangeLog      2006-07-31 00:00:29 UTC (rev 22585)
@@ -1,5 +1,11 @@
 2006-07-31     Benedikt Meurer <[EMAIL PROTECTED]>
 
+       * thunar/thunar-permissions-chooser.c
+         (thunar_permissions_chooser_file_changed): Make sure that the file's
+         group is included in the "Group" box. Bug #1838.
+
+2006-07-31     Benedikt Meurer <[EMAIL PROTECTED]>
+
        * thunar-vfs/thunar-vfs-transfer-job.c, thunar/thunar-dialogs.c:
          Add "No to all" response to the transfer progress dialog, which
          allows to skip all further overwrite dialogs. Bug #1666.

Modified: thunar/trunk/thunar/thunar-permissions-chooser.c
===================================================================
--- thunar/trunk/thunar/thunar-permissions-chooser.c    2006-07-30 23:14:26 UTC 
(rev 22584)
+++ thunar/trunk/thunar/thunar-permissions-chooser.c    2006-07-31 00:00:29 UTC 
(rev 22585)
@@ -883,6 +883,10 @@
               g_list_foreach (groups, (GFunc) g_object_ref, NULL);
             }
 
+          /* make sure that the group list includes the file group */
+          if (G_UNLIKELY (g_list_find (groups, group) == NULL))
+            groups = g_list_prepend (groups, g_object_ref (G_OBJECT (group)));
+
           /* sort the groups according to group_compare() */
           groups = g_list_sort_with_data (groups, group_compare, group);
 

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to