Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
84fa668c
Commit
84fa668c
authored
Dec 19, 2016
by
LE GAC Renaud
Browse files
Add icon to the context menu for the history table.
parent
e828ab23
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
6 deletions
+23
-6
models/common_settings.py
models/common_settings.py
+1
-1
modules/plugin_event/event.py
modules/plugin_event/event.py
+1
-1
static/plugin_event/resources/css/kde-oxygen.css
static/plugin_event/resources/css/kde-oxygen.css
+15
-0
static/plugin_event/resources/icons/kde-oxygen/16x16/format-break-node.png
...nt/resources/icons/kde-oxygen/16x16/format-break-node.png
+0
-0
static/plugin_event/resources/icons/kde-oxygen/16x16/format-remove-node.png
...t/resources/icons/kde-oxygen/16x16/format-remove-node.png
+0
-0
static/plugin_event/src/grid/plugin/HistoryContextMenu.js
static/plugin_event/src/grid/plugin/HistoryContextMenu.js
+6
-4
No files found.
models/common_settings.py
View file @
84fa668c
...
...
@@ -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
,
...
...
modules/plugin_event/event.py
View file @
84fa668c
...
...
@@ -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"
}
static/plugin_event/resources/css/kde-oxygen.css
0 → 100644
View file @
84fa668c
/*
* 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
;
}
static/plugin_event/resources/icons/kde-oxygen/16x16/format-break-node.png
0 → 100644
View file @
84fa668c
407 Bytes
static/plugin_event/resources/icons/kde-oxygen/16x16/format-remove-node.png
0 → 100644
View file @
84fa668c
460 Bytes
static/plugin_event/src/grid/plugin/HistoryContextMenu.js
View file @
84fa668c
...
...
@@ -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
}]
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment