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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Weblate
gajim
Commits
15597f8b
Commit
15597f8b
authored
17 years ago
by
roidelapluie
Browse files
Options
Downloads
Patches
Plain Diff
In features window, show description on select, not on double-click. See #2783.
parent
4c1fdb1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/glade/features_window.glade
+1
-1
1 addition, 1 deletion
data/glade/features_window.glade
src/features_window.py
+3
-1
3 additions, 1 deletion
src/features_window.py
with
4 additions
and
2 deletions
data/glade/features_window.glade
+
1
−
1
View file @
15597f8b
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"events"
>
GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
</property>
<property
name=
"headers_clickable"
>
True
</property>
<property
name=
"headers_clickable"
>
True
</property>
<signal
name=
"
row_activat
ed"
handler=
"on_features_treeview_
row_activat
ed"
/>
<signal
name=
"
cursor_chang
ed"
handler=
"on_features_treeview_
cursor_chang
ed"
/>
</widget>
</widget>
</child>
</child>
</widget>
</widget>
...
...
This diff is collapsed.
Click to expand it.
src/features_window.py
+
3
−
1
View file @
15597f8b
...
@@ -100,7 +100,9 @@ class FeaturesWindow:
...
@@ -100,7 +100,9 @@ class FeaturesWindow:
def
on_close_button_clicked
(
self
,
widget
):
def
on_close_button_clicked
(
self
,
widget
):
self
.
window
.
destroy
()
self
.
window
.
destroy
()
def
on_features_treeview_row_activated
(
self
,
widget
,
path
,
col
):
def
on_features_treeview_cursor_changed
(
self
,
widget
):
selection
=
widget
.
get_selection
()
path
=
selection
.
get_selected_rows
()[
1
][
0
]
available
=
self
.
model
[
path
][
1
]
available
=
self
.
model
[
path
][
1
]
feature
=
self
.
model
[
path
][
0
]
feature
=
self
.
model
[
path
][
0
]
if
os
.
name
==
'
nt
'
:
if
os
.
name
==
'
nt
'
:
...
...
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