[Xfce4-commits] <postler:master> Use MenuAction everywhere, not ViewAction
Christian Dywan
noreply at xfce.org
Sat May 29 01:58:01 CEST 2010
Updating branch refs/heads/master
to 2f3988646324e0688a278d0bcedb63a7f15b7eb3 (commit)
from 9c66b06990cd4949d9c6eaacf6a4cbd6d2d978de (commit)
commit 2f3988646324e0688a278d0bcedb63a7f15b7eb3
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat May 29 01:56:16 2010 +0200
Use MenuAction everywhere, not ViewAction
postler/postler-bureau.vala | 2 +-
postler/postler-menuaction.vala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index 979c97c..239243c 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -163,7 +163,7 @@ public class Postler.Bureau : Gtk.Window {
actions.set_translation_domain (Config.GETTEXT_PACKAGE);
actions.add_actions (action_entries, this);
actions.add_toggle_actions (toggle_entries, this);
- actions.add_action (new Postler.ViewAction ("View",
+ actions.add_action (new Postler.MenuAction ("View",
_("_View"), _("View"), Gtk.STOCK_PREFERENCES));
ui.insert_action_group (actions, 0);
try {
diff --git a/postler/postler-menuaction.vala b/postler/postler-menuaction.vala
index 21af59a..74d2a39 100644
--- a/postler/postler-menuaction.vala
+++ b/postler/postler-menuaction.vala
@@ -14,7 +14,7 @@ const string GETTEXT_PACKAGE_MENUACTION = Config.GETTEXT_PACKAGE;
public class Postler.MenuAction : Gtk.Action {
Gtk.ToolItem toolitem;
- public ViewAction (string? name, string? label, string? tooltip,
+ public MenuAction (string? name, string? label, string? tooltip,
string? stock_id) {
Object (name: name, label: label, tooltip: tooltip, stock_id: stock_id);
}
More information about the Xfce4-commits
mailing list