Philipp Hörist pushed to branch master at gajim / gajim

Commits:
2872405f by André Apitzsch at 2017-10-07T21:01:27+02:00
Fix deprecation warnings

- - - - -
c4c08ad6 by Philipp Hörist at 2017-10-08T00:42:47+02:00
Merge branch 'deprecated' into 'master'

Fix deprecation warnings

See merge request !143
- - - - -


3 changed files:

- gajim/dialogs.py
- gajim/emoticons.py
- gajim/plugins/gui.py


Changes:

=====================================
gajim/dialogs.py
=====================================
--- a/gajim/dialogs.py
+++ b/gajim/dialogs.py
@@ -422,7 +422,7 @@ class ChangeActivityDialog:
                 hbox = Gtk.HBox(homogeneous=False, spacing=5)
                 hbox.pack_start(gtkgui_helpers.load_activity_icon(category,
                         activity), False, False, 0)
-                hbox.pack_start(Gtk.Label(pep.ACTIVITIES[category][activity]),
+                
hbox.pack_start(Gtk.Label(label=pep.ACTIVITIES[category][activity]),
                         False, False, 0)
                 rbtns[act].connect('toggled', self.on_rbtn_toggled,
                         [category, activity])


=====================================
gajim/emoticons.py
=====================================
--- a/gajim/emoticons.py
+++ b/gajim/emoticons.py
@@ -212,7 +212,7 @@ class EmoticonPopover(Gtk.Popover):
                         widget = Gtk.Image()
                         widget.set_from_pixbuf(pix)
                     else:
-                        widget = Gtk.Label(pix)
+                        widget = Gtk.Label(label=pix)
                 flowbox.add(widget)
 
         notebook.show_all()
@@ -226,7 +226,7 @@ class EmoticonPopover(Gtk.Popover):
             button.get_child().set_from_pixbuf(pixbuf_list[0])
         else:
             button.remove(button.get_child())
-            label = Gtk.Label(pixbuf_list[0])
+            label = Gtk.Label(label=pixbuf_list[0])
             button.add(label)
 
         button.connect('button-press-event', self.on_modifier_press)
@@ -247,7 +247,7 @@ class EmoticonPopover(Gtk.Popover):
                 widget = Gtk.Image()
                 widget.set_from_pixbuf(pix)
             else:
-                widget = Gtk.Label(pix)
+                widget = Gtk.Label(label=pix)
             flowbox.add(widget)
 
         flowbox.show_all()


=====================================
gajim/plugins/gui.py
=====================================
--- a/gajim/plugins/gui.py
+++ b/gajim/plugins/gui.py
@@ -79,7 +79,6 @@ class PluginsWindow(object):
         self.installed_plugins_model = Gtk.ListStore(object, str, bool, bool,
             GdkPixbuf.Pixbuf)
         self.installed_plugins_treeview.set_model(self.installed_plugins_model)
-        self.installed_plugins_treeview.set_rules_hint(True)
 
         renderer = Gtk.CellRendererText()
         col = Gtk.TreeViewColumn(_('Plugin'))#, renderer, text=Column.NAME)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/3d76559b39187fbf701ac1fe57e0e9255f1fc86f...c4c08ad64546617ec411fa6661f785e5c3e23580

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/compare/3d76559b39187fbf701ac1fe57e0e9255f1fc86f...c4c08ad64546617ec411fa6661f785e5c3e23580
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to