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
Files
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
430
Issues
430
List
Boards
Labels
Service Desk
Milestones
Merge Requests
25
Merge Requests
25
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
Files
Commits
75c39c67
Commit
75c39c67
authored
Dec 15, 1999
by
Elliot Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix size_allocate.
* libnautilus/gtkscrollframe.c: Fix size_allocate.
parent
ee886b63
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
10 deletions
+34
-10
ChangeLog-20000414
ChangeLog-20000414
+4
-0
libnautilus-extensions/gtkscrollframe.c
libnautilus-extensions/gtkscrollframe.c
+6
-2
libnautilus-extensions/nautilus-scroll-frame.c
libnautilus-extensions/nautilus-scroll-frame.c
+6
-2
libnautilus-private/gtkscrollframe.c
libnautilus-private/gtkscrollframe.c
+6
-2
libnautilus-private/nautilus-scroll-frame.c
libnautilus-private/nautilus-scroll-frame.c
+6
-2
libnautilus/gtkscrollframe.c
libnautilus/gtkscrollframe.c
+6
-2
No files found.
ChangeLog-20000414
View file @
75c39c67
1999-12-15 Elliot Lee <sopwith@redhat.com>
* libnautilus/gtkscrollframe.c: Fix size_allocate.
1999-12-14 Maciej Stachowiak <mjs@eazel.com>
* src/ntl-uri-map.c (nautilus_navinfo_new): a const char* can't be
...
...
libnautilus-extensions/gtkscrollframe.c
View file @
75c39c67
...
...
@@ -686,6 +686,8 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
guint
count
=
0
;
do
{
gint16
possible_new_size
;
compute_relative_allocation
(
widget
,
&
relative_allocation
);
priv
->
frame_x
=
relative_allocation
.
x
+
allocation
->
x
;
...
...
@@ -695,8 +697,10 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
child_allocation
.
x
=
priv
->
frame_x
+
xthickness
;
child_allocation
.
y
=
priv
->
frame_y
+
ythickness
;
child_allocation
.
width
=
MAX
(
1
,
priv
->
frame_w
-
2
*
xthickness
);
child_allocation
.
height
=
MAX
(
1
,
priv
->
frame_h
-
2
*
ythickness
);
possible_new_size
=
priv
->
frame_w
-
2
*
xthickness
;
child_allocation
.
width
=
MAX
(
1
,
possible_new_size
);
possible_new_size
=
priv
->
frame_h
-
2
*
ythickness
;
child_allocation
.
height
=
MAX
(
1
,
possible_new_size
);
previous_hvis
=
priv
->
hsb_visible
;
previous_vvis
=
priv
->
vsb_visible
;
...
...
libnautilus-extensions/nautilus-scroll-frame.c
View file @
75c39c67
...
...
@@ -686,6 +686,8 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
guint
count
=
0
;
do
{
gint16
possible_new_size
;
compute_relative_allocation
(
widget
,
&
relative_allocation
);
priv
->
frame_x
=
relative_allocation
.
x
+
allocation
->
x
;
...
...
@@ -695,8 +697,10 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
child_allocation
.
x
=
priv
->
frame_x
+
xthickness
;
child_allocation
.
y
=
priv
->
frame_y
+
ythickness
;
child_allocation
.
width
=
MAX
(
1
,
priv
->
frame_w
-
2
*
xthickness
);
child_allocation
.
height
=
MAX
(
1
,
priv
->
frame_h
-
2
*
ythickness
);
possible_new_size
=
priv
->
frame_w
-
2
*
xthickness
;
child_allocation
.
width
=
MAX
(
1
,
possible_new_size
);
possible_new_size
=
priv
->
frame_h
-
2
*
ythickness
;
child_allocation
.
height
=
MAX
(
1
,
possible_new_size
);
previous_hvis
=
priv
->
hsb_visible
;
previous_vvis
=
priv
->
vsb_visible
;
...
...
libnautilus-private/gtkscrollframe.c
View file @
75c39c67
...
...
@@ -686,6 +686,8 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
guint
count
=
0
;
do
{
gint16
possible_new_size
;
compute_relative_allocation
(
widget
,
&
relative_allocation
);
priv
->
frame_x
=
relative_allocation
.
x
+
allocation
->
x
;
...
...
@@ -695,8 +697,10 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
child_allocation
.
x
=
priv
->
frame_x
+
xthickness
;
child_allocation
.
y
=
priv
->
frame_y
+
ythickness
;
child_allocation
.
width
=
MAX
(
1
,
priv
->
frame_w
-
2
*
xthickness
);
child_allocation
.
height
=
MAX
(
1
,
priv
->
frame_h
-
2
*
ythickness
);
possible_new_size
=
priv
->
frame_w
-
2
*
xthickness
;
child_allocation
.
width
=
MAX
(
1
,
possible_new_size
);
possible_new_size
=
priv
->
frame_h
-
2
*
ythickness
;
child_allocation
.
height
=
MAX
(
1
,
possible_new_size
);
previous_hvis
=
priv
->
hsb_visible
;
previous_vvis
=
priv
->
vsb_visible
;
...
...
libnautilus-private/nautilus-scroll-frame.c
View file @
75c39c67
...
...
@@ -686,6 +686,8 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
guint
count
=
0
;
do
{
gint16
possible_new_size
;
compute_relative_allocation
(
widget
,
&
relative_allocation
);
priv
->
frame_x
=
relative_allocation
.
x
+
allocation
->
x
;
...
...
@@ -695,8 +697,10 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
child_allocation
.
x
=
priv
->
frame_x
+
xthickness
;
child_allocation
.
y
=
priv
->
frame_y
+
ythickness
;
child_allocation
.
width
=
MAX
(
1
,
priv
->
frame_w
-
2
*
xthickness
);
child_allocation
.
height
=
MAX
(
1
,
priv
->
frame_h
-
2
*
ythickness
);
possible_new_size
=
priv
->
frame_w
-
2
*
xthickness
;
child_allocation
.
width
=
MAX
(
1
,
possible_new_size
);
possible_new_size
=
priv
->
frame_h
-
2
*
ythickness
;
child_allocation
.
height
=
MAX
(
1
,
possible_new_size
);
previous_hvis
=
priv
->
hsb_visible
;
previous_vvis
=
priv
->
vsb_visible
;
...
...
libnautilus/gtkscrollframe.c
View file @
75c39c67
...
...
@@ -686,6 +686,8 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
guint
count
=
0
;
do
{
gint16
possible_new_size
;
compute_relative_allocation
(
widget
,
&
relative_allocation
);
priv
->
frame_x
=
relative_allocation
.
x
+
allocation
->
x
;
...
...
@@ -695,8 +697,10 @@ gtk_scroll_frame_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
child_allocation
.
x
=
priv
->
frame_x
+
xthickness
;
child_allocation
.
y
=
priv
->
frame_y
+
ythickness
;
child_allocation
.
width
=
MAX
(
1
,
priv
->
frame_w
-
2
*
xthickness
);
child_allocation
.
height
=
MAX
(
1
,
priv
->
frame_h
-
2
*
ythickness
);
possible_new_size
=
priv
->
frame_w
-
2
*
xthickness
;
child_allocation
.
width
=
MAX
(
1
,
possible_new_size
);
possible_new_size
=
priv
->
frame_h
-
2
*
ythickness
;
child_allocation
.
height
=
MAX
(
1
,
possible_new_size
);
previous_hvis
=
priv
->
hsb_visible
;
previous_vvis
=
priv
->
vsb_visible
;
...
...
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