Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gtk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,126
Issues
1,126
List
Boards
Labels
Service Desk
Milestones
Merge Requests
152
Merge Requests
152
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gtk
Commits
d536cdde
Commit
d536cdde
authored
Aug 29, 2003
by
cinamod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some tooltips work -waiting for gtk 2.4
parent
879880e7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/ChangeLog.old
+1
-1
modules/engines/ms-windows/wimp_style.c
modules/engines/ms-windows/wimp_style.c
+10
-11
No files found.
modules/engines/ms-windows/ChangeLog.old
View file @
d536cdde
2003-08-29 Dom Lachowicz <cinamod@hotmail.com>
* src/*.c: Theme GTK toolbar arrows to XP chevrons, once my GTK patch is committed.
* src/wimp_style.c: Enable proper fonts/sizes for menus, status bars. Tooltips are
giving me grief
, though.
* src/wimp_style.c: Enable proper fonts/sizes for menus, status bars. Tooltips are
waiting for my GTK patches
, though.
2003-08-28 Dom Lachowicz <cinamod@hotmail.com>
...
...
modules/engines/ms-windows/wimp_style.c
View file @
d536cdde
...
...
@@ -305,24 +305,22 @@ setup_system_styles(GtkStyle *style)
(
font_ptr
?
font_ptr
:
" font name should go here"
));
gtk_rc_parse_string
(
buf
);
#if 0
/* enable tooltip fonts */
/* enable tooltip fonts - waiting for GTK 2.4 */
font_ptr
=
sys_font_to_pango_font
(
CAPTION_FONT
,
font_buf
);
sprintf(buf, "style \"wimp-tooltip-font\"\n"
"{%s = \"%s\"\n"
"}widget_class \"*GtkWindow.GtkLabel*\" style \"wimp-tooltip-font\"\n",
sprintf
(
buf
,
"style
\"
wimp-tooltips-caption
\"\n
"
"{fg[NORMAL] = { %d, %d, %d }
\n
"
"%s =
\"
%s
\"\n
"
"}widget
\"
gtk-tooltips-caption*
\"
style
\"
wimp-tooltips-caption
\"\n
"
,
tooltip_fore
.
red
,
tooltip_fore
.
green
,
tooltip_fore
.
blue
,
(
font_ptr
?
"font_name"
:
"#"
),
(
font_ptr
?
font_ptr
:
" font name should go here"
));
gtk_rc_parse_string
(
buf
);
#endif
sprintf
(
buf
,
"style
\"
wimp-tooltips
\"\n
"
"{fg[NORMAL] = { %d, %d, %d }
\n
"
"bg[NORMAL] = { %d, %d, %d }
\n
"
{
"bg[NORMAL] = { %d, %d, %d }
\n
"
"}widget
\"
gtk-tooltips*
\"
style
\"
wimp-tooltips
\"\n
"
,
tooltip_fore
.
red
,
tooltip_fore
.
green
,
tooltip_fore
.
blue
,
tooltip_back
.
red
,
tooltip_back
.
green
,
tooltip_back
.
blue
);
...
...
@@ -846,6 +844,7 @@ draw_arrow (GtkStyle *style,
}
else
{
/* draw the toolbar chevrons - waiting for GTK 2.4 */
if
(
name
&&
!
strcmp
(
name
,
"gtk-toolbar-arrow"
))
{
if
(
xp_theme_draw
(
window
,
XP_THEME_ELEMENT_CHEVRON
,
style
,
x
,
y
,
width
,
height
,
state
))
...
...
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