Commit 84fa668c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add icon to the context menu for the history table.

parent e828ab23
......@@ -37,7 +37,7 @@ is_dbui = (ctrl == "plugin_dbui") and \
if is_dbui:
dbui.Dbui.define_paths(
app_about="static/plugin_event/ABOUT.html",
app_css="static/plugin_event/resources/css/event.css",
app_css=None,
app_changelog="static/plugin_event/CHANGELOG",
app_db_schema="static/plugin_event/docs/database.png",
app_debug=None,
......
......@@ -28,7 +28,7 @@ class Event(object):
dbui = PluginManager("dbui").dbui
dbui.plugins_paths["event"] = {
"css": "static/plugin_event/resources/css/event.css",
"css": "static/plugin_event/resources/css/",
"debug": None,
"lg": "static/plugin_event/locale/event-lang-%s.js" % lg,
"libmin": "static/plugin_event/event-min.js"}
/*
* KDE 4.4.5 style oxygen
* Icon copy from /usr/share/icons/oxygen/16x16
*
*/
.xaction-event-close {
background-image: url(../icons/kde-oxygen/16x16/format-remove-node.png);
background-repeat: no-repeat;
}
.xaction-event-split {
background-image: url(../icons/kde-oxygen/16x16/format-break-node.png);
background-repeat: no-repeat;
}
......@@ -59,31 +59,33 @@ Ext.define("Event.grid.plugin.HistoryContextMenu", {
me.menu = {
items: [{
text: me.textNew,
iconCls: "xaction-create",
handler: rowEditor.onAddRow,
iconCls: "xaction-create",
scope: rowEditor
}, "-", {
text: me.textSplit,
handler: me.onSplitEvent,
iconCls: "xaction-event-split",
scope: me
}, {
text: me.textClose,
handler: me.onCloseEvent,
iconCls: "xaction-event-close",
scope: me
}, "-", {
text: me.textDuplicate,
iconCls: "xaction-duplicate",
handler: rowEditor.onDuplicateRow,
iconCls: "xaction-duplicate",
scope: rowEditor
}, {
text: me.textUpdate,
iconCls: "xaction-update",
handler: rowEditor.onEditRow,
iconCls: "xaction-update",
scope: rowEditor
}, "-", {
text: me.textDestroy,
iconCls: "xaction-destroy",
handler: rowEditor.onDeleteRow,
iconCls: "xaction-destroy",
scope: rowEditor
}]
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment