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
cea946c1
Commit
cea946c1
authored
Jan 03, 2021
by
Victor Ananjevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix in settings window icon name. a slightly modified patch from…
fix in settings window icon name. a slightly modified patch from
https://sourceforge.net/p/yad-dialog/tickets/325/
parent
0b5f82e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
html.c
src/html.c
+1
-1
main.c
src/main.c
+2
-0
option.c
src/option.c
+1
-1
No files found.
src/html.c
View file @
cea946c1
...
...
@@ -348,7 +348,7 @@ html_create_widget (GtkWidget * dlg)
g_signal_connect
(
view
,
"context-menu"
,
G_CALLBACK
(
menu_cb
),
NULL
);
if
(
!
options
.
data
.
dialog_title
)
g_signal_connect
(
view
,
"notify::title"
,
G_CALLBACK
(
title_cb
),
dlg
);
if
(
strcmp
(
options
.
data
.
window_icon
,
"yad"
)
==
0
)
if
(
!
options
.
data
.
window_icon
)
g_signal_connect
(
view
,
"notify::favicon"
,
G_CALLBACK
(
icon_cb
),
dlg
);
}
else
...
...
src/main.c
View file @
cea946c1
...
...
@@ -367,6 +367,8 @@ create_dialog (void)
else
gtk_window_set_icon_name
(
GTK_WINDOW
(
dlg
),
options
.
data
.
window_icon
);
}
else
gtk_window_set_icon_name
(
GTK_WINDOW
(
dlg
),
"yad"
);
/* set window borders */
if
(
options
.
data
.
borders
<
0
)
...
...
src/option.c
View file @
cea946c1
...
...
@@ -1497,7 +1497,7 @@ yad_options_init (void)
/* Initialize general data */
options
.
data
.
dialog_title
=
NULL
;
options
.
data
.
window_icon
=
"yad"
;
options
.
data
.
window_icon
=
NULL
;
#ifndef STANDALONE
options
.
data
.
width
=
g_settings_get_int
(
settings
,
"width"
);
options
.
data
.
height
=
g_settings_get_int
(
settings
,
"height"
);
...
...
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