~umang/indicator-stickynotes/trunk

« back to all changes in this revision

Viewing changes to indicator-stickynotes.py

  • Committer: Umang Varma
  • Date: 2015-07-02 03:04:30 UTC
  • Revision ID: git-v1:f5bb0c835fc23a3aa7565829ccb18941cdb13126
Made comment in .desktop file shorter and simpler

(hopefully this is easier to translate)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python3
2
2
3
 
# Copyright © 2012-2015 Umang Varma <umang.me@gmail.com>
 
3
# Copyright © 2012-2013 Umang Varma <umang.me@gmail.com>
4
4
5
5
# This file is part of indicator-stickynotes.
6
6
22
22
import stickynotes.info
23
23
from stickynotes.info import MO_DIR, LOCALE_DOMAIN
24
24
 
25
 
import gi
26
 
gi.require_version('Gtk', '3.0')
27
 
gi.require_version('GtkSource', '3.0')
28
 
gi.require_version('AppIndicator3', '0.1')
29
25
from gi.repository import Gtk, Gdk
30
26
from gi.repository import AppIndicator3 as appindicator
31
27
 
65
61
                    Gtk.ButtonsType.NONE, err)
66
62
            winError.add_buttons(Gtk.STOCK_CANCEL, Gtk.ResponseType.REJECT,
67
63
                    _("Backup"), Gtk.ResponseType.ACCEPT)
68
 
            winError.set_title(_("Indicator Stickynotes"))
69
64
            resp = winError.run()
70
65
            winError.hide()
71
66
            if resp == Gtk.ResponseType.ACCEPT: