Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
xfce4-panel-plugin-weather
xfce4-panel-plugin-weather-fix-panel-icon-size....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfce4-panel-plugin-weather-fix-panel-icon-size.patch of Package xfce4-panel-plugin-weather
From d1f9e9ab06231f876a1d6b607660d36d8a0fb902 Mon Sep 17 00:00:00 2001 From: Harald Judt <h.judt@gmx.at> Date: Mon, 25 Feb 2013 22:52:08 +0100 Subject: Fix panel icon size. Since the toggle button has been added, or maybe even before that, the icon is cut off at the borders. Fix this by subtracting two pixels from the icon size. diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c index 4a2e3c3..2e15565 100644 --- a/panel-plugin/weather.c +++ b/panel-plugin/weather.c @@ -295,6 +295,8 @@ update_icon(plugin_data *data) data->size != data->panel_size) size *= 2; #endif + /* take into account the border of the toggle button */ + size -= 2; /* set panel icon according to current weather conditions */ conditions = get_current_conditions(data->weatherdata); -- cgit v0.10.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor