Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xfce4-settings
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
197
Issues
197
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xfce
xfce4-settings
Commits
2e0cd84a
Commit
2e0cd84a
authored
Jun 11, 2020
by
Sean Davis
🕶
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lastonestanding/xfce4-settings-issue-141'
parents
8bb5979b
e4017692
Pipeline
#675
passed with stages
in 3 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
33 deletions
+2
-33
xfce4-settings-manager/xfce-settings-manager-dialog.c
xfce4-settings-manager/xfce-settings-manager-dialog.c
+2
-33
No files found.
xfce4-settings-manager/xfce-settings-manager-dialog.c
View file @
2e0cd84a
...
...
@@ -160,7 +160,6 @@ xfce_settings_manager_queue_resize (XfceSettingsManagerDialog *dialog)
{
GList
*
li
;
DialogCategory
*
category
;
GdkWindow
*
window
=
gtk_widget_get_window
(
GTK_WIDGET
(
dialog
));
for
(
li
=
dialog
->
categories
;
li
!=
NULL
;
li
=
li
->
next
)
{
...
...
@@ -168,36 +167,6 @@ xfce_settings_manager_queue_resize (XfceSettingsManagerDialog *dialog)
gtk_widget_queue_resize
(
GTK_WIDGET
(
category
->
iconview
));
}
if
(
window
==
NULL
)
return
FALSE
;
gdk_window_invalidate_rect
(
window
,
NULL
,
TRUE
);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gdk_window_process_updates
(
window
,
TRUE
);
G_GNUC_END_IGNORE_DEPRECATIONS
return
FALSE
;
}
/* FIXME: This is a hacky patch to ensure the embedded icon views resize on change. */
static
gboolean
xfce_settings_manager_queue_redraw
(
XfceSettingsManagerDialog
*
dialog
)
{
GdkWindow
*
window
=
gtk_widget_get_window
(
GTK_WIDGET
(
dialog
));
gint
h
,
w
;
if
(
window
==
NULL
)
return
FALSE
;
h
=
gdk_window_get_height
(
window
);
w
=
gdk_window_get_width
(
window
);
gdk_window_resize
(
window
,
w
,
h
+
1
);
gdk_window_resize
(
window
,
w
,
h
);
return
FALSE
;
}
...
...
@@ -750,7 +719,7 @@ xfce_settings_manager_dialog_entry_changed (GtkWidget *entry,
gtk_widget_set_visible
(
category
->
box
,
n_children
>
0
);
}
g_idle_add
((
GSourceFunc
)
xfce_settings_manager_queue_re
draw
,
dialog
);
g_idle_add
((
GSourceFunc
)
xfce_settings_manager_queue_re
size
,
dialog
);
}
else
{
...
...
@@ -1343,7 +1312,7 @@ xfce_settings_manager_dialog_menu_reload (XfceSettingsManagerDialog *dialog)
g_error_free
(
error
);
}
g_idle_add
((
GSourceFunc
)
xfce_settings_manager_queue_re
draw
,
dialog
);
g_idle_add
((
GSourceFunc
)
xfce_settings_manager_queue_re
size
,
dialog
);
}
...
...
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