[gnome-software] trivial: compress two conditionals
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: compress two conditionals
- Date: Mon, 30 Jun 2014 03:07:26 +0000 (UTC)
commit 590b3c6d38a979c1e84545b1a3c24003f935c94c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Jun 29 22:06:32 2014 -0500
trivial: compress two conditionals
src/gs-shell-updates.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index 11da685..bc9c109 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -478,9 +478,7 @@ gs_shell_updates_refresh (GsShellUpdates *shell_updates,
if (gs_shell_get_mode (priv->shell) == GS_SHELL_MODE_UPDATES) {
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "buttonbox_main"));
gtk_widget_show (widget);
- }
- if (gs_shell_get_mode (priv->shell) == GS_SHELL_MODE_UPDATES) {
widget = GTK_WIDGET (gtk_builder_get_object (priv->builder, "button_refresh"));
gtk_widget_set_visible (widget, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]