Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
yad
Commits
b496e017
Commit
b496e017
authored
Jan 27, 2018
by
step-
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ellipsize always START and no ellipsize-cols
before this fix --ellipsize=END/MIDDLE turned into START and --ellipsize-cols=... was ignored (all columns were ellipsized).
parent
af3b2040
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
list.c
src/list.c
+2
-1
No files found.
src/list.c
View file @
b496e017
...
...
@@ -351,7 +351,8 @@ add_columns (gint n_columns)
column
=
gtk_tree_view_column_new_with_attributes
(
col
->
name
,
renderer
,
"text"
,
i
,
NULL
);
else
column
=
gtk_tree_view_column_new_with_attributes
(
col
->
name
,
renderer
,
"markup"
,
i
,
NULL
);
g_object_set
(
G_OBJECT
(
renderer
),
"ellipsize"
,
col
->
ellipsize
,
NULL
);
if
(
col
->
ellipsize
)
g_object_set
(
G_OBJECT
(
renderer
),
"ellipsize"
,
options
.
list_data
.
ellipsize
,
NULL
);
if
(
col
->
wrap
)
{
g_object_set
(
G_OBJECT
(
renderer
),
"wrap-width"
,
options
.
list_data
.
wrap_width
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment