[gnome-control-center/T20771: 10/44] display: adjust output thumbnail to bottom panel
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/T20771: 10/44] display: adjust output thumbnail to bottom panel
- Date: Tue, 23 Jan 2018 21:07:24 +0000 (UTC)
commit a0aa84847dac5d7e9adabb44bc4ebfef97dd8232
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Fri Jun 13 15:36:15 2014 -0700
display: adjust output thumbnail to bottom panel
[endlessm/eos-shell#2741]
panels/display/cc-display-panel.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 66b2166..0249c13 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -474,12 +474,8 @@ paint_output (CcDisplayPanel *panel,
priv->thumbnail_factory,
gdk_screen_get_default (), width, height);
- if (cc_display_monitor_is_primary (output)
- || cc_display_config_is_cloning (configuration))
- {
- y += TOP_BAR_HEIGHT;
- height -= TOP_BAR_HEIGHT;
- }
+ if (cc_display_monitor_is_primary (output) || cc_display_config_is_cloning (configuration))
+ height -= TOP_BAR_HEIGHT;
if (pixbuf)
gdk_cairo_set_source_pixbuf (cr, pixbuf, x + 1, y + 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]