[med-svn] [aghermann] 13/23: complete e44f65354b

andrei zavada hmmr-guest at moszumanska.debian.org
Wed Jan 4 22:59:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

hmmr-guest pushed a commit to tag 1.1.2
in repository aghermann.

commit 47b1d431567a52b78f0b6f5302097f7cfabf6490
Author: Andrei Zavada <hmmr at frdg>
Date:   Tue Jan 3 05:50:31 2017 +0200

    complete e44f65354b
---
 upstream/src/aghermann/ui/dirlevel-storable-adapter.ii | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii b/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
index 2892361..8bf671a 100644
--- a/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
+++ b/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
@@ -154,9 +154,9 @@ set_profile_manage_buttons_visibility()
         bool    is_immutable = have_active && current_profile->level == agh::TExpDirLevel::system;
         // printf( "active %d %s %d\n", have_active, have_active ? agh::exp_dir_level_s(current_profile->level) : "-", have_active ? not (*current_profile == Pp2) : -1);
         // printf( "%s\n-vs-\n%s\n", have_active ? current_profile->serialize().c_str() : "??", Pp2.serialize().c_str());
-        gtk_widget_set_visible( (GtkWidget*)bXProfileSave, have_active);
-        gtk_widget_set_visible( (GtkWidget*)bXProfileRevert, have_active and not is_transient and is_modified);
-        gtk_widget_set_visible( (GtkWidget*)bXProfileDiscard, have_active and not is_transient and not is_immutable);
+        gtk_widget_set_sensitive( (GtkWidget*)bXProfileSave, have_active);
+        gtk_widget_set_sensitive( (GtkWidget*)bXProfileRevert, have_active and not is_transient and is_modified);
+        gtk_widget_set_sensitive( (GtkWidget*)bXProfileDiscard, have_active and not is_transient and not is_immutable);
         gtk_widget_set_sensitive( (GtkWidget*)eXProfileList, not is_modified);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list