After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695126 - workspacesView: Always zoom out switcher when using static workspaces
workspacesView: Always zoom out switcher when using static workspaces
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-03-04 14:51 UTC by Florian Müllner
Modified: 2013-03-04 14:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
workspacesView: Always zoom out switcher when using static workspaces (1.84 KB, patch)
2013-03-04 14:51 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2013-03-04 14:51:23 UTC
A minor patch I wrote while working on classic mode, and forgot about later ...
Comment 1 Florian Müllner 2013-03-04 14:51:31 UTC
Created attachment 237994 [details] [review]
workspacesView: Always zoom out switcher when using static workspaces

We always leave the workspace switcher zoomed out when we can assume
that the user is actually making use of workspaces. For the default
dynamic workspace behavior, we make this assumption when more than
two workspaces are in use (e.g. at least two workspaces contain windows
plus an empty one at the end). However this test does not make sense
when using static workspaces - in that case, not using workspaces
would be indicated by a workspace number of 1 (in which case the
entire switcher is hidden completely), so add a check for dynamic
workspaces to the condition.
Comment 2 Rui Matos 2013-03-04 14:54:03 UTC
Review of attachment 237994 [details] [review]:

Makes sense
Comment 3 Florian Müllner 2013-03-04 14:58:30 UTC
Attachment 237994 [details] pushed as 6d011a3 - workspacesView: Always zoom out switcher when using static workspaces