From b0b271274c98274d4c53608c856194270ae12d0f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 4 Sep 2020 08:26:04 +0100 Subject: Make GTK UI resources more consistent The GTK UI resources have to be different resources between major versions. When kept in one directory with slightly different filenames they were difficult to distinguish and resource definition was difficult to update. The resources for both gtk versions were stored in both builds resulting in unneccessary increased binary size. The new stratagy lists the UI files once in a single gresources file and only includes what is required. If a UI file is added it must be provided in both gtk2 and 3 or a build failure will occour rather than a runtime error. --- frontends/gtk/res/gtk3/password.ui | 415 +++++++++++++++++++++++++++++++++++++ 1 file changed, 415 insertions(+) create mode 100644 frontends/gtk/res/gtk3/password.ui (limited to 'frontends/gtk/res/gtk3/password.ui') diff --git a/frontends/gtk/res/gtk3/password.ui b/frontends/gtk/res/gtk3/password.ui new file mode 100644 index 000000000..eb51e4f8f --- /dev/null +++ b/frontends/gtk/res/gtk3/password.ui @@ -0,0 +1,415 @@ + + + + + PDF Password + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + True + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + + + True + False + 0 + + + True + 6 + gtk-dialog-authentication + 0.5 + 0.10000000149 + 12 + 0 + + + 0 + False + False + + + + + 5 + True + False + 0 + + + 5 + True + True + 0 + + + True + Owner password + False + False + GTK_JUSTIFY_LEFT + False + False + 0.899999976158 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + 15 + False + 0 + + + 0 + False + True + + + + + True + True + True + False + 20 + + True + + False + 20 + + + 0 + False + False + + + + + 0 + False + False + + + + + 5 + True + True + 0 + + + True + Repeat password + False + False + GTK_JUSTIFY_LEFT + False + False + 0.899999976158 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + 15 + False + 0 + + + 0 + False + True + + + + + True + True + True + False + 20 + + True + + False + 20 + + + 0 + False + False + + + + + 0 + False + False + + + + + 5 + True + True + 0 + + + True + User password + False + False + GTK_JUSTIFY_LEFT + False + False + 0.899999976158 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + 15 + False + 0 + + + 0 + False + True + + + + + True + True + True + False + 20 + + True + + False + 20 + + + 0 + False + False + + + + + 0 + False + False + + + + + 5 + True + True + 0 + + + True + Repeat password + False + False + GTK_JUSTIFY_LEFT + False + False + 0.899999976158 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + 15 + False + 0 + + + 0 + False + True + + + + + True + True + True + False + 20 + + True + + False + 20 + + + 0 + False + False + + + + + 0 + False + False + + + + + 5 + True + GTK_BUTTONBOX_END + 10 + + + True + True + GTK_RELIEF_NORMAL + True + + + True + False + 0 + + + True + gtk-dialog-authentication + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Use these as passwords + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + + + + True + True + GTK_RELIEF_NORMAL + True + + + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + True + False + 0 + + + True + gtk-cancel + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Do not set any passwords + False + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + + + + + + + 0 + False + False + + + + + 0 + True + True + + + + + + -- cgit v1.2.3