Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Shkenev
gajim
Commits
c0ece2bf
Commit
c0ece2bf
authored
19 years ago
by
nkour
Browse files
Options
Downloads
Patches
Plain Diff
make it work for GC too
parent
8622fc1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/chat.py
+2
-3
2 additions, 3 deletions
src/chat.py
with
2 additions
and
3 deletions
src/chat.py
+
2
−
3
View file @
c0ece2bf
...
...
@@ -358,13 +358,12 @@ def on_compact_view_menuitem_activate(self, widget):
def
on_actions_button_clicked
(
self
,
widget
):
'''
popup action menu
'''
#FIXME: BUG http://bugs.gnome.org/show_bug.cgi?id=316786
self
.
button_clicked
=
widget
menu
=
self
.
prepare_context_menu
()
menu
.
popup
(
None
,
None
,
self
.
position_menu_under_button
,
1
,
0
)
menu
.
show_all
()
menu
.
popup
(
None
,
None
,
self
.
position_menu_under_button
,
1
,
0
)
def
on_emoticons_button_clicked
(
self
,
widget
):
'''
popup emoticons menu
'''
...
...
@@ -396,7 +395,7 @@ def position_menu_under_button(self, menu):
# now move the menu above the button
y
-=
menu_height
# push_in is True so all
menu is
always inside screen
# push_in is True so all
the menuitems are
always inside screen
push_in
=
True
return
(
x
,
y
,
push_in
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment