[gnome-flashback] polkit: don't show empty users combobox



commit 9ddbeb28772a523c8ced7e663c0c9c72374a799c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Sep 6 01:50:25 2015 +0300

    polkit: don't show empty users combobox

 .../libpolkit/flashback-polkit-dialog.c            |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libpolkit/flashback-polkit-dialog.c 
b/gnome-flashback/libpolkit/flashback-polkit-dialog.c
index 92b5d7c..40042b7 100644
--- a/gnome-flashback/libpolkit/flashback-polkit-dialog.c
+++ b/gnome-flashback/libpolkit/flashback-polkit-dialog.c
@@ -389,6 +389,7 @@ static void
 setup_users_combobox (FlashbackPolkitDialog *dialog)
 {
   gtk_widget_hide (dialog->users_combobox);
+  gtk_widget_set_no_show_all (dialog->users_combobox, TRUE);
 
   if (dialog->users == NULL)
     return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]