Opened 10 years ago

Closed 9 years ago

#2248 closed task (fixed)

Require GTK/PyGTK 2.8 instead of 2.6 (means ability to use new cool Glade3 features and new pygtk api)

Reported by: nk Owned by: asterix
Priority: low Milestone: 0.12
Component: None Version:
Severity: minor Keywords: glade dependencies
Cc: liori.gajim@… Blocked By:
Blocking: OS: All



  • foo.set_text('bar') becomes foo.props.text = 'bar' and that's C0000L
  • glade3 which is c00000000l reqs 2.8+
  • because GTK/Pygtk 2.8 is one year old GTK (PyGTK), that means we can remove some old code about GTK 2.6

I'm more than happy to assist in glade-ing our code, and in rm'ing the legacy code, but I won't do it if you guys think it's too soon (eventhough it is not, because I think .11 will be out in Xmas?)

Change History (12)

comment:1 Changed 10 years ago by dkirov

Some advantages are that glade-3 supports working with multiple files and

makes files smaller, which influence on less memory usage. The problem is gajim on win32, which is stable only with gtk+2.6. AFAIK (not sure) this gtk version is incompatible with glade-3 generated files.

comment:2 Changed 10 years ago by nk

not only that, but glade-3 exposes a lot of properties and attributes

(notably the show_all) which will reduce the code dramatically.

I think that GTK 2.8 (from without the win32trayicon is stable enough. Windows users please comment.

comment:3 Changed 10 years ago by asterix

  • Milestone set to 0.11 =>

this won't add too much for 0.11, let's wait we release it

comment:4 Changed 10 years ago by liori

  • Keywords glade dependencies added

comment:5 Changed 10 years ago by nk

  • Milestone set to 0.12
  • Owner changed from asterix to nk

comment:6 Changed 10 years ago by nk

OMG, at last Glade3 uses ONE WINDOW. I bet they finally discovered IDE of 1998

comment:7 Changed 10 years ago by nk

(In [a0f2073cd807a27414e25ca0e23d1c8132e519fb]) clean code and update to using GTK/PyGTK 2.8; see #2248

comment:8 Changed 9 years ago by roidelapluie

  • OS set to All

note that moving tabs is improved in svn with gtk2.10

comment:9 Changed 9 years ago by asterix

  • Owner changed from nk to asterix
  • Status changed from assigned to new

only use the no_show_all from glade instead of code remains

comment:10 Changed 9 years ago by asterix

  • Resolution set to fixed
  • Status changed from new to closed

(In [27f1485c00fc2d555596007e96e889c335fca67d]) use set_no_show_all from glade when possible instead of code. fixes #2248

comment:11 Changed 9 years ago by steve-e

  • Resolution fixed deleted
  • Status changed from closed to reopened

Please update the README.html and comment on

Can we no officially use glade-3?

comment:12 Changed 9 years ago by asterix

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [c01652cb46f9820c27fa2b342b3870183c843c58]) we now depend on gtk2.8. fixes #2248

Note: See TracTickets for help on using tickets.