contectmenu now works on banner
This commit is contained in:
parent
026c8f0bc0
commit
d17c42cbcb
|
@ -269,9 +269,8 @@ class Chat:
|
||||||
|
|
||||||
return menu
|
return menu
|
||||||
|
|
||||||
def on_banner_button_press_event(self, widget, event):
|
def on_banner_eventbox_button_press_event(self, widget, event):
|
||||||
'''If right-clicked, show popup'''
|
'''If right-clicked, show popup'''
|
||||||
print 'banner button press' #NEVER GETS CALLED!
|
|
||||||
if event.button == 3: # right click
|
if event.button == 3: # right click
|
||||||
self.popup_is_shown = True
|
self.popup_is_shown = True
|
||||||
menu = self.prepare_context_menu()
|
menu = self.prepare_context_menu()
|
||||||
|
|
|
@ -10074,13 +10074,13 @@ topic</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="visible_window">True</property>
|
<property name="visible_window">True</property>
|
||||||
<property name="above_child">False</property>
|
<property name="above_child">False</property>
|
||||||
|
<signal name="button_press_event" handler="on_banner_eventbox_button_press_event" last_modification_time="Mon, 08 Aug 2005 10:39:20 GMT"/>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkHBox" id="banner_hbox">
|
<widget class="GtkHBox" id="banner_hbox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="homogeneous">False</property>
|
<property name="homogeneous">False</property>
|
||||||
<property name="spacing">0</property>
|
<property name="spacing">0</property>
|
||||||
<signal name="button_press_event" handler="on_banner_button_press_event" last_modification_time="Sun, 07 Aug 2005 15:06:55 GMT"/>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<widget class="GtkImage" id="banner_status_image">
|
<widget class="GtkImage" id="banner_status_image">
|
||||||
|
|
Loading…
Reference in New Issue