[file-roller/wip/gtk4: 39/54] ask password dialog: fixed style




commit 4b3a8a8f9fac8d00783ab41681e2b716baccdbc0
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Oct 1 22:44:35 2022 +0200

    ask password dialog: fixed style

 src/dlg-ask-password.c | 1 +
 src/ui/ask-password.ui | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/dlg-ask-password.c b/src/dlg-ask-password.c
index d9720a1a..7025d085 100644
--- a/src/dlg-ask-password.c
+++ b/src/dlg-ask-password.c
@@ -113,6 +113,7 @@ dlg_ask_password__common (FrWindow       *window,
                                     "transient-for", GTK_WINDOW (window),
                                     "modal", TRUE,
                                     "use-header-bar", _gtk_settings_get_dialogs_use_header (),
+                                    "title", C_("Window title", "Password"),
                                     NULL);
        gtk_box_append (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))),
                        GET_WIDGET ("password_vbox"));
diff --git a/src/ui/ask-password.ui b/src/ui/ask-password.ui
index ef27ad88..f1a2d67e 100644
--- a/src/ui/ask-password.ui
+++ b/src/ui/ask-password.ui
@@ -4,14 +4,13 @@
   <object class="GtkBox" id="password_vbox">
     <property name="orientation">vertical</property>
     <property name="spacing">15</property>
+    <style>
+      <class name="dialog-content"/>
+    </style>
     <child>
       <object class="GtkLabel" id="title_label">
         <property name="label">Password required for &quot;archive.tar.xz&quot;</property>
         <property name="halign">start</property>
-        <attributes>
-          <attribute name="weight" value="bold"></attribute>
-          <attribute name="size" value="12000"></attribute>
-        </attributes>
       </object>
     </child>
     <child>


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