commit gitg for openSUSE:Factory
Hello community, here is the log from the commit of package gitg for openSUSE:Factory checked in at 2015-01-30 17:49:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gitg (Old) and /work/SRC/openSUSE:Factory/.gitg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gitg" Changes: -------- --- /work/SRC/openSUSE:Factory/gitg/gitg.changes 2014-12-16 14:48:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.gitg.new/gitg.changes 2015-01-30 17:49:16.000000000 +0100 @@ -1,0 +2,6 @@ +Wed Jan 28 23:53:58 UTC 2015 - zaitor@opensuse.org + +- Add gitg-Show-correct-header-bars-buttons.patch: Show the correct + header bars buttons depending on the state. + +------------------------------------------------------------------- New: ---- gitg-Show-correct-header-bars-buttons.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gitg.spec ++++++ --- /var/tmp/diff_new_pack.uSaWlA/_old 2015-01-30 17:49:20.000000000 +0100 +++ /var/tmp/diff_new_pack.uSaWlA/_new 2015-01-30 17:49:20.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gitg # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Development/Tools/Version Control Url: http://trac.novowork.com/gitg/ Source0: http://download.gnome.org/sources/gitg/3.14/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gitg-Show-correct-header-bars-buttons.patch zaitor@opensuse.org -- Show the correct header bars buttons depending on the state. Patch from upstream git, stable branch. +Patch0: gitg-Show-correct-header-bars-buttons.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: translation-update-upstream @@ -129,6 +131,7 @@ %lang_package %prep %setup -q +%patch0 -p1 # Fixup build with WebKit2-4.0 see bgo#735299 sed -i 's:include name="WebKit2" version="3.0":include name="WebKit2" version="4.0":' Gitg-1.0.gir translation-update-upstream ++++++ gitg-Show-correct-header-bars-buttons.patch ++++++
From ff5b8ba8dd775c764e0ad898fe2e2e3586a42c89 Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro <icq@gnome.org> Date: Fri, 12 Dec 2014 12:52:47 +0100 Subject: Show the correct header bars buttons depending on the state
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala index 026407a..b00f054 100644 --- a/gitg/gitg-window.vala +++ b/gitg/gitg-window.vala @@ -854,13 +854,14 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable } var issel = (d_selectable_mode == GitgExt.SelectionMode.SELECTION); + var searchable = current_activity as GitgExt.Searchable; d_header_bar.show_close_button = !issel; - d_search_button.visible = !issel; + d_search_button.visible = !issel && searchable != null; d_gear_menu.visible = !issel; d_select_button.visible = !issel; d_dash_button.visible = !issel; - d_activities_switcher.visible = !issel; + d_activities_switcher.visible = !issel && d_repository != null; d_select_cancel_button.visible = issel; d_select_button.active = issel; -- cgit v0.10.1 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de