Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529880 | Differences between
and this patch

Collapse All | Expand All

(-)a/gnome-extra/cinnamon/files/cinnamon-2.2.16-set-wheel.patch (-6 / +6 lines)
Lines 1-11 Link Here
1
--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
1
--- a/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
2
+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
2
+++ b/files/usr/lib/cinnamon-settings-users/cinnamon-settings-users.py
3
@@ -144,12 +144,11 @@ class EditableEntry (Gtk.Notebook):
3
@@ -145,12 +145,11 @@
4
 
4
 
5
 class PasswordDialog(Gtk.Dialog):
5
 class PasswordDialog(Gtk.Dialog):
6
 
6
 
7
-    def __init__ (self, user, password_mask, group_mask):            
7
-    def __init__ (self, user, password_mask, group_mask):            
8
+    def __init__ (self, user, password_mask):
8
+    def __init__ (self, user, password_mask):            
9
         super(PasswordDialog, self).__init__()
9
         super(PasswordDialog, self).__init__()
10
 
10
 
11
         self.user = user
11
         self.user = user
Lines 14-20 Link Here
14
 
14
 
15
         self.set_modal(True)
15
         self.set_modal(True)
16
         self.set_skip_taskbar_hint(True)
16
         self.set_skip_taskbar_hint(True)
17
@@ -215,12 +214,6 @@ class PasswordDialog(Gtk.Dialog):
17
@@ -216,12 +215,6 @@
18
     def change_password(self):        
18
     def change_password(self):        
19
         newpass = self.new_password.get_text()
19
         newpass = self.new_password.get_text()
20
         self.user.set_password(newpass, "")
20
         self.user.set_password(newpass, "")
Lines 27-33 Link Here
27
         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
27
         self.password_mask.set_text(u'\u2022\u2022\u2022\u2022\u2022\u2022')
28
         self.destroy()  
28
         self.destroy()  
29
 
29
 
30
@@ -515,7 +508,7 @@ class Module:
30
@@ -516,7 +509,7 @@
31
         model, treeiter = self.users_treeview.get_selection().get_selected()
31
         model, treeiter = self.users_treeview.get_selection().get_selected()
32
         if treeiter != None:
32
         if treeiter != None:
33
             user = model[treeiter][INDEX_USER_OBJECT]       
33
             user = model[treeiter][INDEX_USER_OBJECT]       
Lines 36-42 Link Here
36
             response = dialog.run()
36
             response = dialog.run()
37
 
37
 
38
     def _on_groups_button_clicked(self, widget): 
38
     def _on_groups_button_clicked(self, widget): 
39
@@ -745,11 +738,11 @@ class Module:
39
@@ -746,11 +739,11 @@
40
             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
40
             pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size("/usr/share/cinnamon/faces/user-generic.png", 48, 48)
41
             description = "<b>%s</b>\n%s" % (fullname, username)
41
             description = "<b>%s</b>\n%s" % (fullname, username)
42
             piter = self.users.append(None, [new_user, pixbuf, description])
42
             piter = self.users.append(None, [new_user, pixbuf, description])
Lines 50-53 Link Here
50
+                os.system("usermod %s -G %s" % (username, username))
50
+                os.system("usermod %s -G %s" % (username, username))
51
             self.load_groups()
51
             self.load_groups()
52
         dialog.destroy()
52
         dialog.destroy()
53
          
53
 

Return to bug 529880