[arch-commits] Commit in regexxer/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 22:28:26 UTC 2018


    Date: Friday, November 9, 2018 @ 22:28:25
  Author: felixonmars
Revision: 404982

archrelease: copy trunk to community-staging-x86_64

Added:
  regexxer/repos/community-staging-x86_64/
  regexxer/repos/community-staging-x86_64/PKGBUILD
    (from rev 404979, regexxer/trunk/PKGBUILD)
  regexxer/repos/community-staging-x86_64/fix-deprecated.patch
    (from rev 404979, regexxer/trunk/fix-deprecated.patch)
  regexxer/repos/community-staging-x86_64/regexxer-glib2.32.patch
    (from rev 404980, regexxer/trunk/regexxer-glib2.32.patch)

-------------------------+
 PKGBUILD                |   43 +
 fix-deprecated.patch    | 1471 ++++++++++++++++++++++++++++++++++++++++++++++
 regexxer-glib2.32.patch |   35 +
 3 files changed, 1549 insertions(+)

Copied: regexxer/repos/community-staging-x86_64/PKGBUILD (from rev 404979, regexxer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:28:25 UTC (rev 404982)
@@ -0,0 +1,43 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=regexxer
+pkgver=0.10
+pkgrel=8
+pkgdesc="Interactive search and replace tool for GNOME"
+arch=('x86_64')
+url="http://regexxer.sourceforge.net/"
+license=('GPL')
+depends=('gtksourceviewmm')
+makedepends=('intltool')
+source=(https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz
+        regexxer-glib2.32.patch
+        fix-deprecated.patch)
+sha256sums=('2a7832541a0306b3d4eb63a1cf8978d7bbfc7927e9304473fe801d71fd99736c'
+            '1addebc552e4374f3f9ee778fb734c08c1ed3a4b2b5e70905f7c9287c9b34882'
+            'e2548ccf46a4eeabcda4221f6feec6d961eaef7ae8f7a8998b6374c61a7ae77a')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Port to glib 2.32
+  patch -Np1 -i ../regexxer-glib2.32.patch
+
+  # Fix deprecations
+  patch -Np1 -i ../fix-deprecated.patch
+
+  # Don't try to compile GSettings schemas when packaging
+  sed -i '/GLIB_COMPILE_SCHEMAS/ d' Makefile.in
+}
+
+build() {
+  cd $pkgname-$pkgver
+  CXXFLAGS+=' -std=c++11'
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+              --disable-schemas-compile
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: regexxer/repos/community-staging-x86_64/fix-deprecated.patch (from rev 404979, regexxer/trunk/fix-deprecated.patch)
===================================================================
--- community-staging-x86_64/fix-deprecated.patch	                        (rev 0)
+++ community-staging-x86_64/fix-deprecated.patch	2018-11-09 22:28:25 UTC (rev 404982)
@@ -0,0 +1,1471 @@
+From 107c71d622c7cfbced8dc23901841dca0f97d505 Mon Sep 17 00:00:00 2001
+From: Fabien Parent <parent.f at gmail.com>
+Date: Sat, 22 Feb 2014 21:04:31 +0100
+Subject: Replace usage of deprecated APIs
+
+
+diff --git a/src/mainwindow.cc b/src/mainwindow.cc
+index 2596f5a..be1fffb 100644
+--- a/src/mainwindow.cc
++++ b/src/mainwindow.cc
+@@ -180,7 +180,7 @@ public:
+ MainWindow::MainWindow()
+ :
+   toolbar_                (0),
+-  table_file_             (0),
++  grid_file_              (0),
+   button_folder_          (0),
+   combo_entry_pattern_    (Gtk::manage(new Gtk::ComboBoxText(true))),
+   button_recursive_       (0),
+@@ -214,7 +214,7 @@ MainWindow::MainWindow()
+ 
+   vbox_main_->pack_start(*statusline_, Gtk::PACK_SHRINK);
+   scrollwin_filetree_->add(*filetree_);
+-  table_file_->attach(*combo_entry_pattern_, 1, 2, 1, 2, Gtk::EXPAND | Gtk::FILL, Gtk::FILL);
++  grid_file_->attach(*combo_entry_pattern_, 1, 1, 1, 1);
+ 
+   scrollwin_textview_->add(*textview_);
+ 
+@@ -341,7 +341,7 @@ void MainWindow::load_xml()
+   xml->get_widget("entry_preview",       entry_preview_);
+   xml->get_widget("vbox_main",           vbox_main_);
+   xml->get_widget("scrollwin_filetree",  scrollwin_filetree_);
+-  xml->get_widget("table_file",          table_file_);
++  xml->get_widget("grid_file",           grid_file_);
+ 
+   controller_.load_xml(xml);
+ }
+diff --git a/src/mainwindow.h b/src/mainwindow.h
+index 74355d2..e5d2f2c 100644
+--- a/src/mainwindow.h
++++ b/src/mainwindow.h
+@@ -44,9 +44,9 @@ class Toolbar;
+ class Window;
+ class ComboBox;
+ class ComboBoxText;
+-class VBox;
++class Box;
+ class ScrolledWindow;
+-class Table;
++class Grid;
+ class EntryCompletion;
+ }
+ 
+@@ -95,11 +95,11 @@ private:
+   std::auto_ptr<Gtk::Window>  window_;
+   Controller                  controller_;
+ 
+-  Gtk::VBox*                  vbox_main_;
++  Gtk::Box*                   vbox_main_;
+ 
+   Gtk::Toolbar*               toolbar_;
+ 
+-  Gtk::Table*                 table_file_;
++  Gtk::Grid*                  grid_file_;
+   Gtk::FileChooser*           button_folder_;
+ 
+   Gtk::ComboBoxText*          combo_entry_pattern_;
+diff --git a/src/statusline.cc b/src/statusline.cc
+index 6453b17..1c7d014 100644
+--- a/src/statusline.cc
++++ b/src/statusline.cc
+@@ -70,10 +70,10 @@ CounterBox::CounterBox(const Glib::ustring& label)
+ 
+   set_shadow_type(SHADOW_ETCHED_IN);
+ 
+-  Box *const paddingbox = new HBox(false, 0);
++  Box *const paddingbox = new Box();
+   add(*manage(paddingbox));
+ 
+-  Box *const box = new HBox(false, 0);
++  Box *const box = new Box();
+   paddingbox->pack_start(*manage(box), PACK_SHRINK, 2);
+ 
+   box->pack_start(*manage(new Label(label + ' ')), PACK_SHRINK);
+@@ -221,7 +221,7 @@ void CounterBox::on_label_style_updated()
+ 
+ StatusLine::StatusLine()
+ :
+-  Gtk::HBox(false, 3),
++  Gtk::Box        (Gtk::ORIENTATION_HORIZONTAL, 3),
+   stop_button_    (0),
+   progressbar_    (0),
+   file_counter_   (0),
+@@ -331,7 +331,7 @@ void StatusLine::on_hierarchy_changed(Gtk::Widget* previous_toplevel)
+         window->get_accel_group(), GDK_KEY_Escape, Gdk::ModifierType(0));
+   }
+ 
+-  Gtk::HBox::on_hierarchy_changed(previous_toplevel);
++  Gtk::Box::on_hierarchy_changed(previous_toplevel);
+ 
+   if (Gtk::Window *const window = dynamic_cast<Gtk::Window*>(get_toplevel()))
+   {
+diff --git a/src/statusline.h b/src/statusline.h
+index 96c6850..8011e81 100644
+--- a/src/statusline.h
++++ b/src/statusline.h
+@@ -37,7 +37,7 @@ namespace Regexxer
+ 
+ class CounterBox;
+ 
+-class StatusLine : public Gtk::HBox
++class StatusLine : public Gtk::Box
+ {
+ public:
+   StatusLine();
+diff --git a/ui/mainwindow.ui b/ui/mainwindow.ui
+index 3dbdb7f..99846a5 100644
+--- a/ui/mainwindow.ui
++++ b/ui/mainwindow.ui
+@@ -1,6 +1,8 @@
+ <?xml version="1.0" encoding="UTF-8"?>
++<!-- Generated with glade 3.16.0 -->
+ <interface>
+-  <requires lib="gtk+" version="2.16"/>
++  <requires lib="gtk+" version="3.0"/>
++  <object class="GtkAccelGroup" id="mainwindow_accelgroup"/>
+   <object class="GtkWindow" id="mainwindow">
+     <property name="can_focus">False</property>
+     <property name="default_width">640</property>
+@@ -9,18 +11,19 @@
+       <group name="mainwindow_accelgroup"/>
+     </accel-groups>
+     <child>
+-      <object class="GtkVBox" id="vbox_main">
++      <object class="GtkBox" id="vbox_main">
+         <property name="visible">True</property>
+         <property name="can_focus">False</property>
++        <property name="orientation">vertical</property>
+         <child>
+           <object class="GtkMenuBar" id="menubar">
+             <property name="visible">True</property>
+             <property name="can_focus">False</property>
+             <child>
+               <object class="GtkMenuItem" id="menuitem_file">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="label" translatable="yes">_File</property>
+                 <property name="use_underline">True</property>
+                 <child type="submenu">
+@@ -29,9 +32,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_save">
+                         <property name="label">gtk-save</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -41,9 +44,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_save_all">
+                         <property name="label">Save all</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -58,9 +61,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_quit">
+                         <property name="label">gtk-quit</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -73,9 +76,9 @@
+             </child>
+             <child>
+               <object class="GtkMenuItem" id="menuitem_edit">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="label" translatable="yes">_Edit</property>
+                 <property name="use_underline">True</property>
+                 <child type="submenu">
+@@ -84,9 +87,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_undo">
+                         <property name="label">gtk-undo</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -102,9 +105,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_cut">
+                         <property name="label">gtk-cut</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -114,9 +117,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_copy">
+                         <property name="label">gtk-copy</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -126,9 +129,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_paste">
+                         <property name="label">gtk-paste</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -138,9 +141,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_delete">
+                         <property name="label">gtk-delete</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -155,9 +158,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_preferences">
+                         <property name="label">gtk-preferences</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -169,9 +172,9 @@
+             </child>
+             <child>
+               <object class="GtkMenuItem" id="menuitem_match">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="label" translatable="yes">_Match</property>
+                 <property name="use_underline">True</property>
+                 <child type="submenu">
+@@ -180,9 +183,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_prev_file">
+                         <property name="label">_Previous file</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -192,9 +195,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_prev_match">
+                         <property name="label">gtk-go-back</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -204,9 +207,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_next_match">
+                         <property name="label">gtk-go-forward</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -216,9 +219,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_next_file">
+                         <property name="label">_Next file</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -234,9 +237,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_replace">
+                         <property name="label">Replace _current</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -246,9 +249,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_replace_file">
+                         <property name="label">Replace in _this file</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -257,9 +260,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_replace_all">
+                         <property name="label">Replace in _all files</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -271,9 +274,9 @@
+             </child>
+             <child>
+               <object class="GtkMenuItem" id="menuitem_help">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="label" translatable="yes">_Help</property>
+                 <property name="use_underline">True</property>
+                 <child type="submenu">
+@@ -282,9 +285,9 @@
+                     <child>
+                       <object class="GtkImageMenuItem" id="menuitem_about">
+                         <property name="label">gtk-about</property>
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="use_action_appearance">False</property>
+                         <property name="use_underline">True</property>
+                         <property name="use_stock">True</property>
+                         <property name="accel_group">mainwindow_accelgroup</property>
+@@ -307,9 +310,9 @@
+             <property name="can_focus">False</property>
+             <child>
+               <object class="GtkToolButton" id="button_save">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="is_important">True</property>
+                 <property name="stock_id">gtk-save</property>
+               </object>
+@@ -320,9 +323,9 @@
+             </child>
+             <child>
+               <object class="GtkToolButton" id="button_save_all">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="is_important">True</property>
+                 <property name="stock_id">regexxer-save-all</property>
+               </object>
+@@ -338,13 +341,14 @@
+               </object>
+               <packing>
+                 <property name="expand">False</property>
++                <property name="homogeneous">False</property>
+               </packing>
+             </child>
+             <child>
+               <object class="GtkToolButton" id="button_undo">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="is_important">True</property>
+                 <property name="stock_id">gtk-undo</property>
+               </object>
+@@ -360,13 +364,14 @@
+               </object>
+               <packing>
+                 <property name="expand">False</property>
++                <property name="homogeneous">False</property>
+               </packing>
+             </child>
+             <child>
+               <object class="GtkToolButton" id="button_quit">
++                <property name="use_action_appearance">False</property>
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+-                <property name="use_action_appearance">False</property>
+                 <property name="is_important">True</property>
+                 <property name="stock_id">gtk-quit</property>
+               </object>
+@@ -383,28 +388,59 @@
+           </packing>
+         </child>
+         <child>
+-          <object class="GtkVBox" id="vbox_interior">
++          <object class="GtkBox" id="vbox_interior">
+             <property name="visible">True</property>
+             <property name="can_focus">False</property>
+             <property name="border_width">6</property>
++            <property name="orientation">vertical</property>
+             <child>
+-              <object class="GtkHPaned" id="paned">
++              <object class="GtkPaned" id="paned">
+                 <property name="visible">True</property>
+                 <property name="can_focus">True</property>
+                 <child>
+-                  <object class="GtkVBox" id="vbox_left">
++                  <object class="GtkBox" id="vbox_left">
+                     <property name="visible">True</property>
+                     <property name="can_focus">False</property>
+                     <property name="border_width">6</property>
++                    <property name="orientation">vertical</property>
+                     <property name="spacing">6</property>
+                     <child>
+-                      <object class="GtkTable" id="table_file">
++                      <object class="GtkGrid" id="grid_file">
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="n_rows">3</property>
+-                        <property name="n_columns">2</property>
+-                        <property name="column_spacing">6</property>
+                         <property name="row_spacing">6</property>
++                        <property name="column_spacing">6</property>
++                        <child>
++                          <object class="GtkFileChooserButton" id="button_folder">
++                            <property name="visible">True</property>
++                            <property name="can_focus">True</property>
++                            <property name="has_focus">True</property>
++                            <property name="hexpand">True</property>
++                            <property name="action">select-folder</property>
++                          </object>
++                          <packing>
++                            <property name="left_attach">1</property>
++                            <property name="top_attach">0</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
++                          </packing>
++                        </child>
++                        <child>
++                          <object class="GtkLabel" id="label_folder">
++                            <property name="visible">True</property>
++                            <property name="can_focus">False</property>
++                            <property name="xalign">0</property>
++                            <property name="label" translatable="yes">Fol_der:</property>
++                            <property name="use_underline">True</property>
++                            <property name="mnemonic_widget">button_folder</property>
++                          </object>
++                          <packing>
++                            <property name="left_attach">0</property>
++                            <property name="top_attach">0</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
++                          </packing>
++                        </child>
+                         <child>
+                           <object class="GtkLabel" id="label_pattern">
+                             <property name="visible">True</property>
+@@ -413,31 +449,33 @@
+                             <property name="label" translatable="yes">Pattern:</property>
+                           </object>
+                           <packing>
++                            <property name="left_attach">0</property>
+                             <property name="top_attach">1</property>
+-                            <property name="bottom_attach">2</property>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options"></property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+-                          <object class="GtkHBox" id="hbox_file">
++                          <object class="GtkBox" id="hbox_file">
+                             <property name="visible">True</property>
+                             <property name="can_focus">False</property>
+                             <property name="spacing">9</property>
+                             <child>
+-                              <object class="GtkVBox" id="vbox_options">
++                              <object class="GtkBox" id="vbox_options">
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">False</property>
++                                <property name="orientation">vertical</property>
+                                 <property name="spacing">3</property>
+                                 <child>
+                                   <object class="GtkCheckButton" id="button_recursive">
+                                     <property name="label" translatable="yes">recursive</property>
++                                    <property name="use_action_appearance">False</property>
+                                     <property name="visible">True</property>
+                                     <property name="can_focus">True</property>
+                                     <property name="receives_default">False</property>
+                                     <property name="tooltip_text" translatable="yes">Recurse into subdirectories</property>
+-                                    <property name="use_action_appearance">False</property>
+                                     <property name="use_underline">True</property>
++                                    <property name="xalign">0</property>
+                                     <property name="active">True</property>
+                                     <property name="draw_indicator">True</property>
+                                   </object>
+@@ -450,12 +488,13 @@
+                                 <child>
+                                   <object class="GtkCheckButton" id="button_hidden">
+                                     <property name="label" translatable="yes">hidden</property>
++                                    <property name="use_action_appearance">False</property>
+                                     <property name="visible">True</property>
+                                     <property name="can_focus">True</property>
+                                     <property name="receives_default">False</property>
+                                     <property name="tooltip_text" translatable="yes">Also find hidden files</property>
+-                                    <property name="use_action_appearance">False</property>
+                                     <property name="use_underline">True</property>
++                                    <property name="xalign">0</property>
+                                     <property name="draw_indicator">True</property>
+                                   </object>
+                                   <packing>
+@@ -481,11 +520,11 @@
+                                 <property name="yscale">0</property>
+                                 <child>
+                                   <object class="GtkButton" id="button_find_files">
++                                    <property name="use_action_appearance">False</property>
+                                     <property name="visible">True</property>
+                                     <property name="can_focus">True</property>
+                                     <property name="receives_default">False</property>
+                                     <property name="tooltip_text" translatable="yes">Find all files that match the filename pattern</property>
+-                                    <property name="use_action_appearance">False</property>
+                                     <child>
+                                       <object class="GtkAlignment" id="alignment_button_find_files">
+                                         <property name="visible">True</property>
+@@ -493,7 +532,7 @@
+                                         <property name="xscale">0</property>
+                                         <property name="yscale">0</property>
+                                         <child>
+-                                          <object class="GtkHBox" id="hbox_button_find_files">
++                                          <object class="GtkBox" id="hbox_button_find_files">
+                                             <property name="visible">True</property>
+                                             <property name="can_focus">False</property>
+                                             <property name="spacing">2</property>
+@@ -538,38 +577,10 @@
+                             </child>
+                           </object>
+                           <packing>
+-                            <property name="right_attach">2</property>
++                            <property name="left_attach">0</property>
+                             <property name="top_attach">2</property>
+-                            <property name="bottom_attach">3</property>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options"></property>
+-                          </packing>
+-                        </child>
+-                        <child>
+-                          <object class="GtkLabel" id="label_folder">
+-                            <property name="visible">True</property>
+-                            <property name="can_focus">False</property>
+-                            <property name="xalign">0</property>
+-                            <property name="label" translatable="yes">Fol_der:</property>
+-                            <property name="use_underline">True</property>
+-                            <property name="mnemonic_widget">button_folder</property>
+-                          </object>
+-                          <packing>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options"></property>
+-                          </packing>
+-                        </child>
+-                        <child>
+-                          <object class="GtkFileChooserButton" id="button_folder">
+-                            <property name="visible">True</property>
+-                            <property name="can_focus">True</property>
+-                            <property name="has_focus">True</property>
+-                            <property name="action">select-folder</property>
+-                          </object>
+-                          <packing>
+-                            <property name="left_attach">1</property>
+-                            <property name="right_attach">2</property>
+-                            <property name="y_options"></property>
++                            <property name="width">2</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+@@ -610,19 +621,18 @@
+                   </packing>
+                 </child>
+                 <child>
+-                  <object class="GtkVBox" id="vbox_right">
++                  <object class="GtkBox" id="vbox_right">
+                     <property name="visible">True</property>
+                     <property name="can_focus">False</property>
+                     <property name="border_width">6</property>
++                    <property name="orientation">vertical</property>
+                     <property name="spacing">6</property>
+                     <child>
+-                      <object class="GtkTable" id="table_regex">
++                      <object class="GtkGrid" id="grid_regex">
+                         <property name="visible">True</property>
+                         <property name="can_focus">False</property>
+-                        <property name="n_rows">2</property>
+-                        <property name="n_columns">3</property>
+-                        <property name="column_spacing">6</property>
+                         <property name="row_spacing">6</property>
++                        <property name="column_spacing">6</property>
+                         <child>
+                           <object class="GtkLabel" id="label_search">
+                             <property name="visible">True</property>
+@@ -631,8 +641,10 @@
+                             <property name="label" translatable="yes">Search:</property>
+                           </object>
+                           <packing>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="left_attach">0</property>
++                            <property name="top_attach">0</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+@@ -643,25 +655,26 @@
+                             <property name="label" translatable="yes">Replace:</property>
+                           </object>
+                           <packing>
++                            <property name="left_attach">0</property>
+                             <property name="top_attach">1</property>
+-                            <property name="bottom_attach">2</property>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+-                          <object class="GtkHBox" id="hbox_options">
++                          <object class="GtkBox" id="hbox_options">
+                             <property name="visible">True</property>
+                             <property name="can_focus">False</property>
+                             <property name="spacing">6</property>
+                             <child>
+                               <object class="GtkCheckButton" id="button_multiple">
+                                 <property name="label">/g</property>
++                                <property name="use_action_appearance">False</property>
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">True</property>
+                                 <property name="receives_default">False</property>
+                                 <property name="tooltip_text" translatable="yes">Find all possible matches in a line</property>
+-                                <property name="use_action_appearance">False</property>
++                                <property name="xalign">0.5</property>
+                                 <property name="active">True</property>
+                                 <property name="draw_indicator">True</property>
+                               </object>
+@@ -674,11 +687,12 @@
+                             <child>
+                               <object class="GtkCheckButton" id="button_caseless">
+                                 <property name="label">/i</property>
++                                <property name="use_action_appearance">False</property>
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">True</property>
+                                 <property name="receives_default">False</property>
+                                 <property name="tooltip_text" translatable="yes">Do case insensitive matching</property>
+-                                <property name="use_action_appearance">False</property>
++                                <property name="xalign">0.5</property>
+                                 <property name="draw_indicator">True</property>
+                               </object>
+                               <packing>
+@@ -690,28 +704,26 @@
+                           </object>
+                           <packing>
+                             <property name="left_attach">2</property>
+-                            <property name="right_attach">3</property>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="top_attach">0</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+                           <object class="GtkButton" id="button_find_matches">
+                             <property name="label">gtk-find</property>
++                            <property name="use_action_appearance">False</property>
+                             <property name="visible">True</property>
+                             <property name="can_focus">True</property>
+                             <property name="receives_default">False</property>
+                             <property name="tooltip_text" translatable="yes">Find all matches of the regular expression</property>
+-                            <property name="use_action_appearance">False</property>
+                             <property name="use_stock">True</property>
+                           </object>
+                           <packing>
+                             <property name="left_attach">2</property>
+-                            <property name="right_attach">3</property>
+                             <property name="top_attach">1</property>
+-                            <property name="bottom_attach">2</property>
+-                            <property name="x_options">GTK_FILL</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+@@ -719,6 +731,7 @@
+                             <property name="visible">True</property>
+                             <property name="can_focus">False</property>
+                             <property name="tooltip_text" translatable="yes">A regular expression in Perl syntax</property>
++                            <property name="hexpand">True</property>
+                             <property name="has_entry">True</property>
+                             <child internal-child="entry">
+                               <object class="GtkEntry" id="comboboxentry_entry">
+@@ -728,8 +741,9 @@
+                           </object>
+                           <packing>
+                             <property name="left_attach">1</property>
+-                            <property name="right_attach">2</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="top_attach">0</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                         <child>
+@@ -741,15 +755,15 @@
+                             <child internal-child="entry">
+                               <object class="GtkEntry" id="comboboxentry_entry1">
+                                 <property name="can_focus">True</property>
++                                <property name="hexpand">True</property>
+                               </object>
+                             </child>
+                           </object>
+                           <packing>
+                             <property name="left_attach">1</property>
+-                            <property name="right_attach">2</property>
+                             <property name="top_attach">1</property>
+-                            <property name="bottom_attach">2</property>
+-                            <property name="y_options">GTK_FILL</property>
++                            <property name="width">1</property>
++                            <property name="height">1</property>
+                           </packing>
+                         </child>
+                       </object>
+@@ -765,9 +779,10 @@
+                         <property name="can_focus">False</property>
+                         <property name="label_xalign">0</property>
+                         <child>
+-                          <object class="GtkVBox" id="vbox_textview">
++                          <object class="GtkBox" id="vbox_textview">
+                             <property name="visible">True</property>
+                             <property name="can_focus">False</property>
++                            <property name="orientation">vertical</property>
+                             <property name="spacing">3</property>
+                             <child>
+                               <object class="GtkScrolledWindow" id="scrollwin_textview">
+@@ -825,28 +840,23 @@
+               </packing>
+             </child>
+             <child>
+-              <object class="GtkHBox" id="action_area">
++              <object class="GtkBox" id="action_area">
+                 <property name="visible">True</property>
+                 <property name="can_focus">False</property>
+                 <property name="border_width">2</property>
+                 <property name="spacing">10</property>
+                 <child>
+-                  <object class="GtkHBox" id="box_replace">
++                  <object class="GtkBox" id="box_replace">
+                     <property name="visible">True</property>
+                     <property name="can_focus">False</property>
+                     <property name="spacing">6</property>
+                     <property name="homogeneous">True</property>
+                     <child>
+                       <object class="GtkButton" id="button_replace">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_replace-atkobject">
+-                            <property name="AtkObject::accessible-description" translatable="yes">Replace current match</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkAlignment" id="alignment_button_replace">
+                             <property name="visible">True</property>
+@@ -854,7 +864,7 @@
+                             <property name="xscale">0</property>
+                             <property name="yscale">0</property>
+                             <child>
+-                              <object class="GtkHBox" id="hbox_button_replace">
++                              <object class="GtkBox" id="hbox_button_replace">
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">False</property>
+                                 <property name="spacing">2</property>
+@@ -887,6 +897,11 @@
+                             </child>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_replace-atkobject">
++                            <property name="AtkObject::accessible-description" translatable="yes">Replace current match</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -896,15 +911,10 @@
+                     </child>
+                     <child>
+                       <object class="GtkButton" id="button_replace_file">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_replace_file-atkobject">
+-                            <property name="AtkObject::accessible-description" translatable="yes">Replace all matches in the current file</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkAlignment" id="alignment_button_replace_file">
+                             <property name="visible">True</property>
+@@ -912,7 +922,7 @@
+                             <property name="xscale">0</property>
+                             <property name="yscale">0</property>
+                             <child>
+-                              <object class="GtkHBox" id="hbox_button_replace_file">
++                              <object class="GtkBox" id="hbox_button_replace_file">
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">False</property>
+                                 <property name="spacing">2</property>
+@@ -945,6 +955,11 @@
+                             </child>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_replace_file-atkobject">
++                            <property name="AtkObject::accessible-description" translatable="yes">Replace all matches in the current file</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -954,15 +969,10 @@
+                     </child>
+                     <child>
+                       <object class="GtkButton" id="button_replace_all">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_replace_all-atkobject">
+-                            <property name="AtkObject::accessible-description" translatable="yes">Replace all matches in all files</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkAlignment" id="alignment_button_replace_all">
+                             <property name="visible">True</property>
+@@ -970,7 +980,7 @@
+                             <property name="xscale">0</property>
+                             <property name="yscale">0</property>
+                             <child>
+-                              <object class="GtkHBox" id="hbox_button_replace_all">
++                              <object class="GtkBox" id="hbox_button_replace_all">
+                                 <property name="visible">True</property>
+                                 <property name="can_focus">False</property>
+                                 <property name="spacing">2</property>
+@@ -1003,6 +1013,11 @@
+                             </child>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_replace_all-atkobject">
++                            <property name="AtkObject::accessible-description" translatable="yes">Replace all matches in all files</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -1019,23 +1034,17 @@
+                   </packing>
+                 </child>
+                 <child>
+-                  <object class="GtkHBox" id="box_move">
++                  <object class="GtkBox" id="box_move">
+                     <property name="visible">True</property>
+                     <property name="can_focus">False</property>
+                     <property name="spacing">6</property>
+                     <property name="homogeneous">True</property>
+                     <child>
+                       <object class="GtkButton" id="button_prev_file">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_prev_file-atkobject">
+-                            <property name="AtkObject::accessible-name" translatable="yes">File backward</property>
+-                            <property name="AtkObject::accessible-description" translatable="yes">Go to the previous matching file</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkImage" id="image_button_prev_file">
+                             <property name="visible">True</property>
+@@ -1043,6 +1052,12 @@
+                             <property name="stock">gtk-goto-first</property>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_prev_file-atkobject">
++                            <property name="AtkObject::accessible-name" translatable="yes">File backward</property>
++                            <property name="AtkObject::accessible-description" translatable="yes">Go to the previous matching file</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -1052,16 +1067,10 @@
+                     </child>
+                     <child>
+                       <object class="GtkButton" id="button_prev_match">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_prev_match-atkobject">
+-                            <property name="AtkObject::accessible-name" translatable="yes">Backward</property>
+-                            <property name="AtkObject::accessible-description" translatable="yes">Go to previous match</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkImage" id="image_button_prev_match">
+                             <property name="visible">True</property>
+@@ -1069,6 +1078,12 @@
+                             <property name="stock">gtk-go-back</property>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_prev_match-atkobject">
++                            <property name="AtkObject::accessible-name" translatable="yes">Backward</property>
++                            <property name="AtkObject::accessible-description" translatable="yes">Go to previous match</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -1078,16 +1093,10 @@
+                     </child>
+                     <child>
+                       <object class="GtkButton" id="button_next_match">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_next_match-atkobject">
+-                            <property name="AtkObject::accessible-name" translatable="yes">Forward</property>
+-                            <property name="AtkObject::accessible-description" translatable="yes">Go to next match</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkImage" id="image_button_next_match">
+                             <property name="visible">True</property>
+@@ -1095,6 +1104,12 @@
+                             <property name="stock">gtk-go-forward</property>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_next_match-atkobject">
++                            <property name="AtkObject::accessible-name" translatable="yes">Forward</property>
++                            <property name="AtkObject::accessible-description" translatable="yes">Go to next match</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -1104,16 +1119,10 @@
+                     </child>
+                     <child>
+                       <object class="GtkButton" id="button_next_file">
++                        <property name="use_action_appearance">False</property>
+                         <property name="visible">True</property>
+                         <property name="can_focus">True</property>
+                         <property name="receives_default">False</property>
+-                        <property name="use_action_appearance">False</property>
+-                        <child internal-child="accessible">
+-                          <object class="AtkObject" id="button_next_file-atkobject">
+-                            <property name="AtkObject::accessible-name" translatable="yes">File forward</property>
+-                            <property name="AtkObject::accessible-description" translatable="yes">Go to the next matching file</property>
+-                          </object>
+-                        </child>
+                         <child>
+                           <object class="GtkImage" id="image_button_next_file">
+                             <property name="visible">True</property>
+@@ -1121,6 +1130,12 @@
+                             <property name="stock">gtk-goto-last</property>
+                           </object>
+                         </child>
++                        <child internal-child="accessible">
++                          <object class="AtkObject" id="button_next_file-atkobject">
++                            <property name="AtkObject::accessible-name" translatable="yes">File forward</property>
++                            <property name="AtkObject::accessible-description" translatable="yes">Go to the next matching file</property>
++                          </object>
++                        </child>
+                       </object>
+                       <packing>
+                         <property name="expand">False</property>
+@@ -1156,5 +1171,4 @@
+       </object>
+     </child>
+   </object>
+-  <object class="GtkAccelGroup" id="mainwindow_accelgroup"/>
+ </interface>
+diff --git a/ui/prefdialog.ui b/ui/prefdialog.ui
+index 92228ce..1263280 100644
+--- a/ui/prefdialog.ui
++++ b/ui/prefdialog.ui
+@@ -1,7 +1,7 @@
+-<?xml version="1.0"?>
++<?xml version="1.0" encoding="UTF-8"?>
++<!-- Generated with glade 3.16.0 -->
+ <interface>
+-  <!-- interface-requires gtk+ 2.12 -->
+-  <!-- interface-naming-policy toplevel-contextual -->
++  <requires lib="gtk+" version="3.0"/>
+   <object class="GtkListStore" id="model1">
+     <columns>
+       <!-- column-name gchararray -->
+@@ -23,65 +23,99 @@
+     </data>
+   </object>
+   <object class="GtkDialog" id="prefdialog">
++    <property name="can_focus">False</property>
+     <property name="title" translatable="yes">Preferences</property>
+     <property name="type_hint">dialog</property>
+-    <property name="has_separator">False</property>
+     <child internal-child="vbox">
+-      <object class="GtkVBox" id="dialog-vbox1">
++      <object class="GtkBox" id="dialog-vbox1">
+         <property name="visible">True</property>
++        <property name="can_focus">False</property>
++        <child internal-child="action_area">
++          <object class="GtkButtonBox" id="dialog-action_area1">
++            <property name="visible">True</property>
++            <property name="can_focus">False</property>
++            <property name="layout_style">end</property>
++            <child>
++              <object class="GtkButton" id="closebutton1">
++                <property name="label">gtk-close</property>
++                <property name="visible">True</property>
++                <property name="can_focus">True</property>
++                <property name="can_default">True</property>
++                <property name="has_default">True</property>
++                <property name="receives_default">False</property>
++                <property name="use_stock">True</property>
++              </object>
++              <packing>
++                <property name="expand">False</property>
++                <property name="fill">False</property>
++                <property name="position">0</property>
++              </packing>
++            </child>
++          </object>
++          <packing>
++            <property name="expand">False</property>
++            <property name="fill">True</property>
++            <property name="pack_type">end</property>
++            <property name="position">0</property>
++          </packing>
++        </child>
+         <child>
+           <object class="GtkNotebook" id="notebook">
+             <property name="visible">True</property>
+             <property name="can_focus">True</property>
+             <child>
+-              <object class="GtkTable" id="table_look">
++              <object class="GtkGrid" id="grid_look">
+                 <property name="visible">True</property>
++                <property name="can_focus">False</property>
+                 <property name="border_width">10</property>
+-                <property name="n_rows">3</property>
+-                <property name="n_columns">2</property>
+-                <property name="column_spacing">12</property>
+                 <property name="row_spacing">12</property>
++                <property name="column_spacing">12</property>
+                 <child>
+                   <object class="GtkLabel" id="label_textview_font">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="xalign">0</property>
+                     <property name="label" translatable="yes">_Text view font:</property>
+                     <property name="use_underline">True</property>
+                     <property name="mnemonic_widget">button_textview_font</property>
+                   </object>
+                   <packing>
+-                    <property name="x_options">GTK_FILL</property>
+-                    <property name="y_options">GTK_EXPAND</property>
++                    <property name="left_attach">0</property>
++                    <property name="top_attach">0</property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+                 <child>
+                   <object class="GtkLabel" id="label_match_color">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="xalign">0</property>
+                     <property name="label" translatable="yes">_Match color:</property>
+                     <property name="use_underline">True</property>
+                     <property name="mnemonic_widget">button_match_color</property>
+                   </object>
+                   <packing>
++                    <property name="left_attach">0</property>
+                     <property name="top_attach">1</property>
+-                    <property name="bottom_attach">2</property>
+-                    <property name="x_options">GTK_FILL</property>
+-                    <property name="y_options">GTK_EXPAND</property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+                 <child>
+                   <object class="GtkLabel" id="label_current_color">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="xalign">0</property>
+                     <property name="label" translatable="yes">C_urrent match color:</property>
+                     <property name="use_underline">True</property>
+                     <property name="mnemonic_widget">button_current_color</property>
+                   </object>
+                   <packing>
++                    <property name="left_attach">0</property>
+                     <property name="top_attach">2</property>
+-                    <property name="bottom_attach">3</property>
+-                    <property name="x_options">GTK_FILL</property>
+-                    <property name="y_options">GTK_EXPAND</property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+                 <child>
+@@ -92,10 +126,9 @@
+                   </object>
+                   <packing>
+                     <property name="left_attach">1</property>
+-                    <property name="right_attach">2</property>
+                     <property name="top_attach">2</property>
+-                    <property name="bottom_attach">3</property>
+-                    <property name="y_options"></property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+                 <child>
+@@ -106,10 +139,9 @@
+                   </object>
+                   <packing>
+                     <property name="left_attach">1</property>
+-                    <property name="right_attach">2</property>
+                     <property name="top_attach">1</property>
+-                    <property name="bottom_attach">2</property>
+-                    <property name="y_options"></property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+                 <child>
+@@ -117,25 +149,29 @@
+                     <property name="visible">True</property>
+                     <property name="can_focus">True</property>
+                     <property name="receives_default">False</property>
++                    <property name="font">Sans 12</property>
+                     <property name="use_font">True</property>
+                   </object>
+                   <packing>
+                     <property name="left_attach">1</property>
+-                    <property name="right_attach">2</property>
+-                    <property name="y_options"></property>
++                    <property name="top_attach">0</property>
++                    <property name="width">1</property>
++                    <property name="height">1</property>
+                   </packing>
+                 </child>
+               </object>
+             </child>
+             <child type="tab">
+-              <object class="GtkHBox" id="hbox_look">
++              <object class="GtkBox" id="hbox_look">
+                 <property name="visible">True</property>
++                <property name="can_focus">False</property>
+                 <property name="spacing">2</property>
+                 <child>
+                   <object class="GtkImage" id="image_look">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="stock">gtk-preferences</property>
+-                    <property name="icon-size">1</property>
++                    <property name="icon_size">1</property>
+                   </object>
+                   <packing>
+                     <property name="expand">False</property>
+@@ -146,7 +182,8 @@
+                 <child>
+                   <object class="GtkLabel" id="label_look">
+                     <property name="visible">True</property>
+-                    <property name="label" translatable="yes">_Look&#x2019;n&#x2019;feel</property>
++                    <property name="can_focus">False</property>
++                    <property name="label" translatable="yes">_Look’n’feel</property>
+                     <property name="use_underline">True</property>
+                   </object>
+                   <packing>
+@@ -161,85 +198,96 @@
+               </packing>
+             </child>
+             <child>
+-              <object class="GtkVBox" id="vbox_file">
++              <object class="GtkBox" id="vbox_file">
+                 <property name="visible">True</property>
++                <property name="can_focus">False</property>
+                 <property name="border_width">10</property>
++                <property name="orientation">vertical</property>
+                 <property name="spacing">12</property>
+                 <child>
+                   <object class="GtkLabel" id="label_info">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="xalign">0</property>
+                     <property name="label" translatable="yes">regexxer attempts to read a file in the following encodings before giving up:</property>
+                     <property name="wrap">True</property>
+                   </object>
+                   <packing>
++                    <property name="expand">True</property>
+                     <property name="fill">False</property>
+                     <property name="position">0</property>
+                   </packing>
+                 </child>
+                 <child>
+-                  <object class="GtkTable" id="table_encoding">
++                  <object class="GtkGrid" id="grid_encoding">
+                     <property name="visible">True</property>
+-                    <property name="n_rows">3</property>
+-                    <property name="n_columns">2</property>
++                    <property name="can_focus">False</property>
+                     <property name="column_spacing">3</property>
+                     <child>
+                       <object class="GtkLabel" id="label_3rd">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="xalign">1</property>
+                         <property name="label" translatable="yes">3.</property>
+                       </object>
+                       <packing>
++                        <property name="left_attach">0</property>
+                         <property name="top_attach">2</property>
+-                        <property name="bottom_attach">3</property>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                     <child>
+                       <object class="GtkLabel" id="label_2nd">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="xalign">1</property>
+                         <property name="label" translatable="yes">2.</property>
+                       </object>
+                       <packing>
++                        <property name="left_attach">0</property>
+                         <property name="top_attach">1</property>
+-                        <property name="bottom_attach">2</property>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                     <child>
+                       <object class="GtkLabel" id="label_1st">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="xalign">1</property>
+                         <property name="label" translatable="yes">1.</property>
+                       </object>
+                       <packing>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="left_attach">0</property>
++                        <property name="top_attach">0</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                     <child>
+                       <object class="GtkLabel" id="label_utf8">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="xalign">0</property>
+                         <property name="label" translatable="yes">UTF-8</property>
+                       </object>
+                       <packing>
+                         <property name="left_attach">1</property>
+-                        <property name="right_attach">2</property>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="top_attach">0</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                     <child>
+-                      <object class="GtkHBox" id="box_fallback">
++                      <object class="GtkBox" id="box_fallback">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="spacing">6</property>
+                         <child>
+                           <object class="GtkLabel" id="label_fallback">
+                             <property name="visible">True</property>
++                            <property name="can_focus">False</property>
+                             <property name="xalign">0</property>
+                             <property name="label" translatable="yes">Fallback _encoding:</property>
+                             <property name="use_underline">True</property>
+@@ -257,36 +305,36 @@
+                             <property name="can_focus">True</property>
+                           </object>
+                           <packing>
++                            <property name="expand">True</property>
++                            <property name="fill">True</property>
+                             <property name="position">1</property>
+                           </packing>
+                         </child>
+                       </object>
+                       <packing>
+                         <property name="left_attach">1</property>
+-                        <property name="right_attach">2</property>
+                         <property name="top_attach">2</property>
+-                        <property name="bottom_attach">3</property>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                     <child>
+                       <object class="GtkLabel" id="label_locale">
+                         <property name="visible">True</property>
++                        <property name="can_focus">False</property>
+                         <property name="xalign">0</property>
+                         <property name="label" translatable="yes">The encoding specified by the current locale</property>
+                       </object>
+                       <packing>
+                         <property name="left_attach">1</property>
+-                        <property name="right_attach">2</property>
+                         <property name="top_attach">1</property>
+-                        <property name="bottom_attach">2</property>
+-                        <property name="x_options">GTK_FILL</property>
+-                        <property name="y_options">GTK_FILL</property>
++                        <property name="width">1</property>
++                        <property name="height">1</property>
+                       </packing>
+                     </child>
+                   </object>
+                   <packing>
++                    <property name="expand">True</property>
+                     <property name="fill">False</property>
+                     <property name="position">1</property>
+                   </packing>
+@@ -297,14 +345,16 @@
+               </packing>
+             </child>
+             <child type="tab">
+-              <object class="GtkHBox" id="hbox_file">
++              <object class="GtkBox" id="hbox_file">
+                 <property name="visible">True</property>
++                <property name="can_focus">False</property>
+                 <property name="spacing">2</property>
+                 <child>
+                   <object class="GtkImage" id="image_file">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="stock">gtk-properties</property>
+-                    <property name="icon-size">1</property>
++                    <property name="icon_size">1</property>
+                   </object>
+                   <packing>
+                     <property name="expand">False</property>
+@@ -315,6 +365,7 @@
+                 <child>
+                   <object class="GtkLabel" id="label_file">
+                     <property name="visible">True</property>
++                    <property name="can_focus">False</property>
+                     <property name="label" translatable="yes">_File access</property>
+                     <property name="use_underline">True</property>
+                   </object>
+@@ -332,34 +383,9 @@
+             </child>
+           </object>
+           <packing>
+-            <property name="position">1</property>
+-          </packing>
+-        </child>
+-        <child internal-child="action_area">
+-          <object class="GtkHButtonBox" id="dialog-action_area1">
+-            <property name="visible">True</property>
+-            <property name="layout_style">end</property>
+-            <child>
+-              <object class="GtkButton" id="closebutton1">
+-                <property name="label">gtk-close</property>
+-                <property name="visible">True</property>
+-                <property name="can_focus">True</property>
+-                <property name="can_default">True</property>
+-                <property name="has_default">True</property>
+-                <property name="receives_default">False</property>
+-                <property name="use_stock">True</property>
+-              </object>
+-              <packing>
+-                <property name="expand">False</property>
+-                <property name="fill">False</property>
+-                <property name="position">0</property>
+-              </packing>
+-            </child>
+-          </object>
+-          <packing>
+             <property name="expand">False</property>
+-            <property name="pack_type">end</property>
+-            <property name="position">0</property>
++            <property name="fill">True</property>
++            <property name="position">1</property>
+           </packing>
+         </child>
+       </object>
+-- 
+cgit v0.10.2
+

Copied: regexxer/repos/community-staging-x86_64/regexxer-glib2.32.patch (from rev 404980, regexxer/trunk/regexxer-glib2.32.patch)
===================================================================
--- community-staging-x86_64/regexxer-glib2.32.patch	                        (rev 0)
+++ community-staging-x86_64/regexxer-glib2.32.patch	2018-11-09 22:28:25 UTC (rev 404982)
@@ -0,0 +1,35 @@
+diff -Naur regexxer-0.10.orig/src/fileshared.h regexxer-0.10/src/fileshared.h
+--- regexxer-0.10.orig/src/fileshared.h	2012-03-27 03:59:38.209864722 +0000
++++ regexxer-0.10/src/fileshared.h	2012-03-27 04:17:47.161371044 +0000
+@@ -23,6 +23,7 @@
+ 
+ #include "sharedptr.h"
+ 
++#include <glibmm/regex.h>
+ #include <gtkmm/textbuffer.h>
+ #include <functional>
+ #include <utility>
+diff -Naur regexxer-0.10.orig/src/globalstrings.h regexxer-0.10/src/globalstrings.h
+--- regexxer-0.10.orig/src/globalstrings.h	2012-03-27 03:59:38.209864722 +0000
++++ regexxer-0.10/src/globalstrings.h	2012-03-27 04:21:44.906198757 +0000
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_GLOBALSTRINGS_H_INCLUDED
+ #define REGEXXER_GLOBALSTRINGS_H_INCLUDED
+ 
+-#include <glib/gutils.h>  /* for G_DIR_SEPARATOR_S */
++#include <glib.h>  /* for G_DIR_SEPARATOR_S */
+ 
+ namespace Regexxer
+ {
+diff -Naur regexxer-0.10.orig/src/translation.h regexxer-0.10/src/translation.h
+--- regexxer-0.10.orig/src/translation.h	2012-03-27 03:59:38.206531386 +0000
++++ regexxer-0.10/src/translation.h	2012-03-27 04:21:39.209576021 +0000
+@@ -21,7 +21,7 @@
+ #ifndef REGEXXER_TRANSLATION_H_INCLUDED
+ #define REGEXXER_TRANSLATION_H_INCLUDED
+ 
+-#include <glib/gmacros.h>
++#include <glib.h>
+ #include <glibmm/ustring.h>
+ 
+ #ifndef gettext_noop



More information about the arch-commits mailing list