| commit 22: | b40b5ce713bb |
| parent 21: | 7f1ef4d6b447 |
| branch: | default |
cleaning
- View xmonader's profile
-
xmonader's public repos »
- pyprayertime
- pygtkhelpers-main
- happytweet
- pyqplayer
- pyprayertime-db
- donbili
- mintNanny2
- netspeed-striky
- CSISOMounter
- pygoogleweather
- pytasker
- rfsindexer
- pygravatar
- happy-python-twitter
- pytextutils
- gfiler
- djapps
- gsum
- helloed
- gladizer
- simpleboard
- pida-xmon-main
- pybloomfilter
- pynetpbmparsers
- happypypackager
- pybasekit
- pynexodyne
- happymapper
- libmagicbindings
- prayertime
- pypcre
- shorturl
- Send message
9 months ago
Changed (Δ38 bytes):
raw changeset »
helloed6/src/hello.py (21 lines added, 21 lines removed)
Up to file-list helloed6/src/hello.py:
| … | … | @@ -150,38 +150,38 @@ class MainWindow(object): |
150 |
150 |
|
151 |
151 |
def on_menuitemfindreplace_activate(self, dialog, *args): |
152 |
152 |
self._dialogfindreplace.show_all() |
153 |
#self._dialogfindreplace.show_all() |
|
153 |
154 |
#resp=self._dialogfindreplace.run() |
154 |
155 |
#print resp.real |
155 |
156 |
|
156 |
157 |
|
157 |
def on_dialogfindreplace_response(self, dialog, respid): |
|
158 |
print "RESPID: ", respid |
|
159 |
#if respid in [gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
160 |
# dialog.hide_all() |
|
161 |
return respid |
|
162 |
#else: |
|
163 |
|
|
158 |
#def on_dialogfindreplace_response(self, dialog, respid): |
|
159 |
#print "RESPID: ", respid |
|
160 |
##if respid in [gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
161 |
## dialog.hide_all() |
|
162 |
#return respid |
|
163 |
##else: |
|
164 |
## return respid |
|
164 |
165 |
|
165 |
#if resp in [gtk.RESPONSE_OK, gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
166 |
# print "OK_CLOSE_DELETE" |
|
167 |
# buf=self._sv.get_buffer() |
|
168 |
# if buf.get_tag_table().lookup("search_results"): |
|
169 |
# buf.remove_tag_by_name("search_results", buf.get_start_iter(), buf.get_end_iter()) |
|
170 |
#self._dialogfindreplace.destroy() |
|
166 |
##if resp in [gtk.RESPONSE_OK, gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
167 |
## print "OK_CLOSE_DELETE" |
|
168 |
## buf=self._sv.get_buffer() |
|
169 |
## if buf.get_tag_table().lookup("search_results"): |
|
170 |
## buf.remove_tag_by_name("search_results", buf.get_start_iter(), buf.get_end_iter()) |
|
171 |
##self._dialogfindreplace.destroy() |
|
171 |
172 |
|
172 |
#res=self._dialogwc.run() |
|
173 |
#if res in [gtk.RESPONSE_OK, gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
174 |
# |
|
173 |
##res=self._dialogwc.run() |
|
174 |
##if res in [gtk.RESPONSE_OK, gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT]: |
|
175 |
## self._dialogwc.hide() |
|
175 |
176 |
|
176 |
177 |
def on_dialogfindreplace_delete_event(self, widget, *args): |
177 |
print "Called..." |
|
178 |
178 |
self._dialogfindreplace.hide_all() |
179 |
179 |
return True |
180 |
180 |
|
181 |
def on_dialogfindreplace_close(self, widget, *args): |
|
182 |
pass |
|
183 |
#print "Closing.." |
|
184 |
#self.on_btnfindreplaceclose_clicked(widget, *args) |
|
181 |
#def on_dialogfindreplace_close(self, widget, *args): |
|
182 |
#pass |
|
183 |
##print "Closing.." |
|
184 |
##self.on_btnfindreplaceclose_clicked(widget, *args) |
|
185 |
185 |
|
186 |
186 |
def on_btnfindreplaceclose_clicked(self, widget, *args): |
187 |
187 |
buf=self._sv.get_buffer() |
