/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 olive/bookmark.py

  • Committer: Daniel Schierbeck
  • Date: 2008-01-23 16:36:21 UTC
  • mto: (423.1.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 429.
  • Revision ID: daniel.schierbeck@gmail.com-20080123163621-x8kublc38ojipnly
Made the revision popup menu correctly add tags.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
import gtk
24
24
 
25
25
from olive import Preferences
26
 
from bzrlib.plugins.gtk import _i18n
27
26
from bzrlib.plugins.gtk.dialog import error_dialog
28
27
 
29
28
 
43
42
        self.selected = selected
44
43
        
45
44
        # Create widgets
46
 
        self._label_location = gtk.Label(_i18n("Location:"))
47
 
        self._label_title = gtk.Label(_i18n("Title:"))
 
45
        self._label_location = gtk.Label(_("Location:"))
 
46
        self._label_title = gtk.Label(_("Title:"))
48
47
        self._entry_location = gtk.Entry()
49
48
        self._entry_title = gtk.Entry()
50
49
        self._button_save = gtk.Button(stock=gtk.STOCK_SAVE)
79
78
    def _on_save_clicked(self, button):
80
79
        """ Save button clicked handler. """
81
80
        if self._entry_title.get_text() == '':
82
 
            error_dialog(_i18n('No title given'),
83
 
                         _i18n('Please specify a title to continue.'))
 
81
            error_dialog(_('No title given'),
 
82
                         _('Please specify a title to continue.'))
84
83
            return
85
84
        
86
85
        self.pref.set_bookmark_title(self._entry_location.get_text(),