/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to annotate/config.py

  • Committer: Curtis Hovey
  • Date: 2011-07-31 15:52:43 UTC
  • mto: This revision was merged to the branch mainline in revision 741.
  • Revision ID: sinzui.is@verizon.net-20110731155243-ln8istmxbryhb4pz
Mechanical changes made by pygi.convert.sh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import os
18
18
 
19
 
import gtk.gdk
 
19
import Gtk.gdk
20
20
 
21
21
from bzrlib import config
22
22
try:
74
74
        self.pane.connect("notify", self._save_pane_props)
75
75
 
76
76
    def _save_window_props(self, w, e, *args):
77
 
        if e.window.get_state() & gtk.gdk.WINDOW_STATE_MAXIMIZED:
 
77
        if e.window.get_state() & Gdk.WINDOW_STATE_MAXIMIZED:
78
78
            maximized = True
79
79
        else:
80
80
            self["window"]["width"], self["window"]["height"] = w.get_size()