repo.or.cz
/
learning-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
del net-oscar
[learning-git.git]
/
pgworksheet_yvesf
/
plugins
/
resultView
/
ResultViewNull.py
blob
6607512ded63731fc6860dd30c2d913e4e50a976
1
import
pygtk
;
2
import
gtk
;
3
import
pgw
;
4
import
pgw
.
Plugin
;
5
6
import
gettext
7
8
_
=
gettext
.
gettext
9
10
class
ResultViewNull
(
pgw
.
Plugin
.
ResultViewPlugin
):
11
name
=
_
(
'Null View'
)
12
def
__init__
(
self
,
app
,
result
):
13
pgw
.
Plugin
.
ResultViewPlugin
.__
init
__
(
self
,
app
)
14
15
self
.
add
(
gtk
.
Button
(
result
.
sql
))
16
self
.
show_all
()
17
18
19
EXPORTS
=[
ResultViewNull
]