[file-roller/wip/gtk4: 35/54] ui files: use the placeholder instead of the tooltip for some entries




commit 6138d24048eae60c903fc157e0a3902fd40f0929
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Oct 1 22:16:13 2022 +0200

    ui files: use the placeholder instead of the tooltip for some entries

 src/ui/add-dialog-options.ui     | 6 +++---
 src/ui/delete.ui                 | 3 ++-
 src/ui/extract-dialog-options.ui | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/ui/add-dialog-options.ui b/src/ui/add-dialog-options.ui
index 66eaac78..f733c194 100644
--- a/src/ui/add-dialog-options.ui
+++ b/src/ui/add-dialog-options.ui
@@ -70,7 +70,7 @@
             <child>
               <object class="GtkEntry" id="include_files_entry">
                 <property name="focusable">1</property>
-                <property name="tooltip_text" translatable="1">example: *.o; *.bak</property>
+                <property name="placeholder_text" translatable="1">*.o; *.bak</property>
                 <property name="invisible_char">●</property>
                 <property name="width_chars">30</property>
                 <layout>
@@ -82,7 +82,7 @@
             <child>
               <object class="GtkEntry" id="exclude_files_entry">
                 <property name="focusable">1</property>
-                <property name="tooltip_text" translatable="1">example: *.o; *.bak</property>
+                <property name="placeholder_text" translatable="1">*.o; *.bak</property>
                 <property name="invisible_char">●</property>
                 <layout>
                   <property name="column">1</property>
@@ -93,7 +93,7 @@
             <child>
               <object class="GtkEntry" id="exclude_folders_entry">
                 <property name="focusable">1</property>
-                <property name="tooltip_text" translatable="1">example: *.o; *.bak</property>
+                <property name="placeholder_text" translatable="1">*.o; *.bak</property>
                 <property name="invisible_char">●</property>
                 <layout>
                   <property name="column">1</property>
diff --git a/src/ui/delete.ui b/src/ui/delete.ui
index 7fd56615..364cf940 100644
--- a/src/ui/delete.ui
+++ b/src/ui/delete.ui
@@ -35,7 +35,8 @@
         <child>
           <object class="GtkEntry" id="d_files_entry">
             <property name="focusable">1</property>
-            <property name="tooltip_text" translatable="1">example: *.txt; *.doc</property>
+            <property name="hexpand">1</property>
+            <property name="placeholder_text" translatable="1">*.txt; *.doc</property>
           </object>
         </child>
       </object>
diff --git a/src/ui/extract-dialog-options.ui b/src/ui/extract-dialog-options.ui
index c233f7cf..4d8be6b8 100644
--- a/src/ui/extract-dialog-options.ui
+++ b/src/ui/extract-dialog-options.ui
@@ -54,7 +54,7 @@
                 <child>
                   <object class="GtkEntry" id="file_pattern_entry">
                     <property name="focusable">1</property>
-                    <property name="tooltip_text" translatable="1">example: *.o; *.bak</property>
+                    <property name="placeholder_text" translatable="1">*.o; *.bak</property>
                     <property name="invisible_char">●</property>
                   </object>
                 </child>


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