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
5959f512
Commit
5959f512
authored
Feb 14, 2019
by
Victor Ananjevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add --simple-tips option to list dialog
parent
61b2d405
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
1 deletion
+8
-1
yad.1
data/yad.1
+3
-0
ru.po
po/ru.po
+0
-0
uk.po
po/uk.po
+0
-0
list.c
src/list.c
+1
-1
option.c
src/option.c
+3
-0
yad.h
src/yad.h
+1
-0
No files found.
data/yad.1
View file @
5959f512
...
...
@@ -678,6 +678,9 @@ Autoscroll to the end of the list when a new row will be added.
Use IEC (base 1024) units with for size values. With this option values will have suffixes KiB, MiB, GiB.
.TP
Sending FormFeed character to list clears it. This symbol may be sent as \fIecho \-e '\\f'\fP.
.TP
.B \-\-simple-tips
Don't use markup in tooltips even if text has a valid markup.
.SS Multi progress bars dialog options
.TP
...
...
po/ru.po
View file @
5959f512
This diff is collapsed.
Click to expand it.
po/uk.po
View file @
5959f512
This diff is collapsed.
Click to expand it.
src/list.c
View file @
5959f512
...
...
@@ -1089,7 +1089,7 @@ list_create_widget (GtkWidget * dlg)
/* add tooltip column */
if
(
options
.
list_data
.
tooltip_column
>
0
)
{
if
(
options
.
data
.
no_markup
)
if
(
options
.
list_data
.
simple_tips
||
options
.
data
.
no_markup
)
{
gtk_widget_set_has_tooltip
(
list_view
,
TRUE
);
g_signal_connect
(
G_OBJECT
(
list_view
),
"query-tooltip"
,
G_CALLBACK
(
tooltip_cb
),
NULL
);
...
...
src/option.c
View file @
5959f512
...
...
@@ -453,6 +453,8 @@ static GOptionEntry list_options[] = {
N_
(
"Disable selection"
),
NULL
},
{
"add-on-top"
,
0
,
0
,
G_OPTION_ARG_NONE
,
&
options
.
list_data
.
add_on_top
,
N_
(
"Add new records on the top of a list"
),
NULL
},
{
"simple-tips"
,
0
,
0
,
G_OPTION_ARG_NONE
,
&
options
.
list_data
.
simple_tips
,
N_
(
"Don't use markup in tooltips"
),
NULL
},
{
NULL
}
};
...
...
@@ -1614,6 +1616,7 @@ yad_options_init (void)
options
.
list_data
.
clickable
=
TRUE
;
options
.
list_data
.
no_selection
=
FALSE
;
options
.
list_data
.
add_on_top
=
FALSE
;
options
.
list_data
.
simple_tips
=
FALSE
;
/* Initialize multiprogress data */
options
.
multi_progress_data
.
bars
=
NULL
;
...
...
src/yad.h
View file @
5959f512
...
...
@@ -363,6 +363,7 @@ typedef struct {
gboolean
clickable
;
gboolean
no_selection
;
gboolean
add_on_top
;
gboolean
simple_tips
;
}
YadListData
;
typedef
struct
{
...
...
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