[gnome-software/wip/installed_updates: 11/16] app widget: Don't reserve space for buttons in the update viewing mode
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/installed_updates: 11/16] app widget: Don't reserve space for buttons in the update viewing mode
- Date: Sun, 11 May 2014 17:42:36 +0000 (UTC)
commit 9113f6e69ba505db9830a87abccb336ce3183c9d
Author: Kalev Lember <kalevlember gmail com>
Date: Wed May 7 17:20:23 2014 +0200
app widget: Don't reserve space for buttons in the update viewing mode
There are no buttons in that mode and we can put the recovered screen
estate to better use.
src/gs-app-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app-widget.c b/src/gs-app-widget.c
index dd19f9a..c97be66 100644
--- a/src/gs-app-widget.c
+++ b/src/gs-app-widget.c
@@ -249,6 +249,8 @@ gs_app_widget_refresh (GsAppWidget *app_widget)
break;
}
+ gtk_widget_set_visible (priv->button_box, !priv->show_update);
+
if (priv->selectable) {
if (gs_app_get_id_kind (priv->app) == GS_APP_ID_KIND_DESKTOP ||
gs_app_get_id_kind (priv->app) == GS_APP_ID_KIND_WEBAPP)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]