Репозитории ALT
S: | 1.10.0-alt2 |
5.1: | 1.6.4-alt1 |
4.1: | 1.6.3-alt0.M41.1 |
4.0: | 1.4.1-alt1 |
3.0: | 0.10.0-alt1 |
Группа :: Графические оболочки/XFce
Пакет: xfce4-notes-plugin
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: xfce4-notes-plugin-1.10.0-alt2.patch
Скачать
Скачать
lib/hypertextview.vala | 6 +++---
lib/note.vala | 2 +-
lib/window-monitor.vala | 2 +-
lib/window.vala | 4 ++--
po/ru.po | 2 +-
src/main-status-icon.vala | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/lib/hypertextview.vala b/lib/hypertextview.vala
index de82b4e..4f1aa03 100644
--- a/lib/hypertextview.vala
+++ b/lib/hypertextview.vala
@@ -201,13 +201,13 @@ namespace Xnp {
Source.remove (this.undo_timeout);
this.undo_timeout = 0;
}
- this.undo_timeout = Timeout.add_seconds (2, undo_snapshot);
+ this.undo_timeout = GLib.Timeout.add_seconds (2, undo_snapshot);
/* Reinit tag_timeout as long as the buffer is under constant changes */
if (this.tag_timeout > 0) {
Source.remove (this.tag_timeout);
this.tag_timeout = 0;
- this.tag_timeout = Timeout.add_seconds (2, tag_timeout_cb);
+ this.tag_timeout = GLib.Timeout.add_seconds (2, tag_timeout_cb);
}
}
@@ -399,7 +399,7 @@ namespace Xnp {
this.tag_timeout = 0;
}
- this.tag_timeout = Timeout.add_seconds (2, tag_timeout_cb);
+ this.tag_timeout = GLib.Timeout.add_seconds (2, tag_timeout_cb);
}
/**
diff --git a/lib/note.vala b/lib/note.vala
index 148d470..1f3e47c 100644
--- a/lib/note.vala
+++ b/lib/note.vala
@@ -42,7 +42,7 @@ namespace Xnp {
this.save_timeout = 0;
}
else {
- this.save_timeout = Timeout.add_seconds (60, save_cb);
+ this.save_timeout = GLib.Timeout.add_seconds (60, save_cb);
}
}
}
diff --git a/lib/window-monitor.vala b/lib/window-monitor.vala
index 416e0fc..ed9a048 100644
--- a/lib/window-monitor.vala
+++ b/lib/window-monitor.vala
@@ -69,7 +69,7 @@ namespace Xnp {
if (monitor_timeout != 0) {
Source.remove (monitor_timeout);
}
- monitor_timeout = Timeout.add_seconds (5, () => {
+ monitor_timeout = GLib.Timeout.add_seconds (5, () => {
window_updated (window);
monitor_timeout = 0;
return false;
diff --git a/lib/window.vala b/lib/window.vala
index 9a55d8a..eab6c71 100644
--- a/lib/window.vala
+++ b/lib/window.vala
@@ -751,11 +751,11 @@ namespace Xnp {
mi = new Gtk.SeparatorMenuItem ();
menu.append (mi);
- mi = new Gtk.MenuItem.with_mnemonic ("_Properties");
+ mi = new Gtk.MenuItem.with_mnemonic (_("_Properties"));
mi.activate.connect (() => { action ("properties"); });
menu.append (mi);
- mi = new Gtk.MenuItem.with_mnemonic ("_About");
+ mi = new Gtk.MenuItem.with_mnemonic (_("_About"));
mi.activate.connect (() => { action ("about"); });
menu.append (mi);
diff --git a/po/ru.po b/po/ru.po
index 841c4d0..8e9fed0 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -165,7 +165,7 @@ msgstr "_п║п╡п╬п╧я│я┌п╡п╟"
#: ../src/main-status-icon.vala:64
msgid "_About"
-msgstr "п·_п©я─п╬пЁя─п╟п╪п╪п╣"
+msgstr "п· _п©я─п╬пЁя─п╟п╪п╪п╣"
#: ../src/main-status-icon.vala:71
msgid "_Remove"
diff --git a/src/main-status-icon.vala b/src/main-status-icon.vala
index 6c385ac..a524ef6 100644
--- a/src/main-status-icon.vala
+++ b/src/main-status-icon.vala
@@ -32,7 +32,7 @@ static void build_plugin () {
application = new Xnp.Application (save_location);
status_icon = new Gtk.StatusIcon.from_icon_name ("xfce4-notes-plugin");
status_icon.set_tooltip_text (_("Notes"));
- Timeout.add_seconds (60, () => {
+ GLib.Timeout.add_seconds (60, () => {
if (!status_icon.is_embedded ()) {
warning ("Status Icon is not embedded");
Gtk.main_quit ();