/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 tags.py

  • Committer: Curtis Hovey
  • Date: 2012-02-09 03:43:01 UTC
  • mto: This revision was merged to the branch mainline in revision 776.
  • Revision ID: sinzui.is@verizon.net-20120209034301-0uwkobbb0d64ugrw
Switched from Gtk.VPaned to Gtk.Paned.new(Gtk.Orientation.VERTICAL).

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# along with this program; if not, write to the Free Software
16
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
 
18
 
from gi.repository import GObject
19
18
from gi.repository import Gtk
20
19
 
21
20
from bzrlib.plugins.gtk.dialog import error_dialog
47
46
        self._vbox_buttons = Gtk.VBox()
48
47
        self._vbox_buttons_top = Gtk.VBox()
49
48
        self._vbox_buttons_bottom = Gtk.VBox()
50
 
        self._vpaned = Gtk.VPaned()
 
49
        self._vpaned = Gtk.Paned.new(Gtk.Orientation.VERTICAL)
51
50
 
52
51
        # Set callbacks
53
52
        self._button_add.connect('clicked', self._on_add_clicked)
198
197
        # Refresh RevisionView only if there are tags available
199
198
        if not self._no_tags:
200
199
            (path, col) = self._treeview_tags.get_cursor()
 
200
            if path is None:
 
201
                return  # The widget is being destroyed.
201
202
            revision = self._model[path][1]
202
203
            self._revisionview.set_revision(self.branch.repository.get_revision(revision))
203
204