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
xfwm4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
438
Issues
438
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
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
xfwm4
Commits
65c168ab
Commit
65c168ab
authored
Nov 21, 2020
by
Olivier Fourdan
🛠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings: Add a UI option for desktop zooming
Signed-off-by:
Olivier Fourdan
<
fourdan@xfce.org
>
parent
bb4a8db7
Pipeline
#4133
passed with stages
in 2 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
11 deletions
+32
-11
settings-dialogs/tweaks-settings.c
settings-dialogs/tweaks-settings.c
+5
-0
settings-dialogs/xfwm4-tweaks-dialog.glade
settings-dialogs/xfwm4-tweaks-dialog.glade
+27
-11
No files found.
settings-dialogs/tweaks-settings.c
View file @
65c168ab
...
...
@@ -215,6 +215,7 @@ wm_tweaks_dialog_configure_widgets (GtkBuilder *builder)
GtkWidget
*
show_frame_shadow_check
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"show_frame_shadow_check"
));
GtkWidget
*
show_popup_shadow_check
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"show_popup_shadow_check"
));
GtkWidget
*
show_dock_shadow_check
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"show_dock_shadow_check"
));
GtkWidget
*
zoom_desktop_check
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"zoom_desktop_check"
));
GtkWidget
*
zoom_pointer_check
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"zoom_pointer_check"
));
GtkWidget
*
frame_opacity_scale
=
GTK_WIDGET
(
gtk_builder_get_object
(
builder
,
"frame_opacity_scale"
));
...
...
@@ -425,6 +426,10 @@ wm_tweaks_dialog_configure_widgets (GtkBuilder *builder)
"/general/show_dock_shadow"
,
G_TYPE_BOOLEAN
,
(
GObject
*
)
show_dock_shadow_check
,
"active"
);
xfconf_g_property_bind
(
xfwm4_channel
,
"/general/zoom_desktop"
,
G_TYPE_BOOLEAN
,
(
GObject
*
)
zoom_desktop_check
,
"active"
);
xfconf_g_property_bind
(
xfwm4_channel
,
"/general/zoom_pointer"
,
G_TYPE_BOOLEAN
,
...
...
settings-dialogs/xfwm4-tweaks-dialog.glade
View file @
65c168ab
...
...
@@ -977,6 +977,22 @@ when switching via keyboard shortcuts</property>
<property
name=
"position"
>
5
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"zoom_desktop_check"
>
<property
name=
"label"
translatable=
"yes"
>
Zoom desktop with mouse wheel
</property>
<property
name=
"use_action_appearance"
>
False
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
False
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"draw_indicator"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
6
</property>
</packing>
</child>
<child>
<object
class=
"GtkCheckButton"
id=
"zoom_pointer_check"
>
<property
name=
"label"
translatable=
"yes"
>
Zoom pointer along with the desktop
</property>
...
...
@@ -990,7 +1006,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
6
</property>
<property
name=
"position"
>
7
</property>
</packing>
</child>
<child>
...
...
@@ -1005,7 +1021,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
7
</property>
<property
name=
"position"
>
8
</property>
</packing>
</child>
<child>
...
...
@@ -1066,7 +1082,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
8
</property>
<property
name=
"position"
>
9
</property>
</packing>
</child>
<child>
...
...
@@ -1081,7 +1097,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
9
</property>
<property
name=
"position"
>
10
</property>
</packing>
</child>
<child>
...
...
@@ -1142,7 +1158,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
0
</property>
<property
name=
"position"
>
1
1
</property>
</packing>
</child>
<child>
...
...
@@ -1157,7 +1173,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
1
</property>
<property
name=
"position"
>
1
2
</property>
</packing>
</child>
<child>
...
...
@@ -1218,7 +1234,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
2
</property>
<property
name=
"position"
>
1
3
</property>
</packing>
</child>
<child>
...
...
@@ -1233,7 +1249,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
3
</property>
<property
name=
"position"
>
1
4
</property>
</packing>
</child>
<child>
...
...
@@ -1294,7 +1310,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
4
</property>
<property
name=
"position"
>
1
5
</property>
</packing>
</child>
<child>
...
...
@@ -1309,7 +1325,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
5
</property>
<property
name=
"position"
>
1
6
</property>
</packing>
</child>
<child>
...
...
@@ -1370,7 +1386,7 @@ when switching via keyboard shortcuts</property>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
False
</property>
<property
name=
"position"
>
1
5
</property>
<property
name=
"position"
>
1
7
</property>
</packing>
</child>
</object>
...
...
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