Skip to content

Commit

Permalink
Changed deprecated GtkVBox to GtkBox in builder files.
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwarat committed Apr 22, 2014
1 parent 0b155c7 commit 54dc78c
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 51 deletions.
38 changes: 21 additions & 17 deletions input-pad/dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ Bin</property>
</packing>
</child>
<child internal-child="action_area">
<object class="GtkHButtonBox" id="hbuttonbox1">
<object class="GtkButtonBox" id="hbuttonbox1">
<property name="orientation">horizontal</property>
<property name="border-width">20</property>
<child>
<object class="GtkButton" id="CodePointSendButton">
Expand All @@ -238,8 +239,7 @@ Bin</property>
<child>
<object class="GtkButton" id="CodePointCloseButton">
<property name="visible">True</property>
<property name="label">gtk-close</property>
<property name="use-stock">TRUE</property>
<property name="label" translatable="yes">_Close</property>
<property name="use-underline">TRUE</property>
</object>
</child>
Expand Down Expand Up @@ -279,13 +279,14 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
</packing>
</child>
<child internal-child="action_area">
<object class="GtkHButtonBox" id="hbuttonbox2">
<object class="GtkButtonBox" id="hbuttonbox2">
<property name="orientation">horizontal</property>
<property name="border-width">20</property>
<child>
<object class="GtkButton" id="ContentsOKButton">
<property name="visible">True</property>
<property name="label">gtk-ok</property>
<property name="use-stock">TRUE</property>
<property name="label" translatable="yes">_OK</property>
<property name="use-underline">TRUE</property>
</object>
</child>
</object>
Expand Down Expand Up @@ -375,8 +376,8 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
<object class="GtkButton" id="ConfigLayoutsAddButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-add</property>
<property name="use_stock">True</property>
<property name="label" translatable="yes">_Add</property>
<property name="use-underline">TRUE</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
</object>
<packing>
Expand Down Expand Up @@ -453,8 +454,8 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
<object class="GtkButton" id="ConfigLayoutsRemoveButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label">gtk-remove</property>
<property name="use_stock">True</property>
<property name="label" translatable="yes">_Remove</property>
<property name="use-underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
</object>
<packing>
Expand All @@ -481,7 +482,8 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
</packing>
</child>
<child>
<object class="GtkHButtonBox" id="hbuttonbox3">
<object class="GtkButtonBox" id="hbuttonbox3">
<property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="border-width">5</property>
<property name="layout_style">end</property>
Expand Down Expand Up @@ -509,13 +511,14 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
</packing>
</child>
<child internal-child="action_area">
<object class="GtkHButtonBox" id="hbuttonbox4">
<object class="GtkButtonBox" id="hbuttonbox4">
<property name="orientation">horizontal</property>
<property name="border-width">20</property>
<child>
<object class="GtkButton" id="ConfigLayoutsCloseButton">
<property name="visible">True</property>
<property name="label">gtk-close</property>
<property name="use-stock">TRUE</property>
<property name="label" translatable="yes">_Close</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="padding">0</property>
Expand Down Expand Up @@ -625,15 +628,16 @@ You also can copy pad files from /usr/share/input-pad/pad to $HOME/.config/pad t
</packing>
</child>
<child internal-child="action_area">
<object class="GtkHButtonBox" id="hbuttonbox40">
<object class="GtkButtonBox" id="hbuttonbox40">
<property name="orientation">horizontal</property>
<property name="visible">True</property>
<property name="homogeneous">True</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="ConfigOptionsCloseButton">
<property name="label">gtk-close</property>
<property name="label" translatable="yes">_Close</property>
<property name="visible">True</property>
<property name="use_stock">True</property>
<property name="use-underline">True</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down
3 changes: 2 additions & 1 deletion input-pad/window-gtk.ui
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
</packing>
</child>
<child>
<object class="GtkVBox" id="top_keyboard_layout_vbox">
<object class="GtkBox" id="top_keyboard_layout_vbox">
<property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="border-width">10</property>
<property name="spacing">10</property>
Expand Down
77 changes: 44 additions & 33 deletions po/input-pad.pot
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Source translations for input-pad
# Copyright (C) 2010-2013 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (C) 2010-2014 Takao Fujiwara <takao.fujiwara1@gmail.com>
# This file is distributed under the same license as the input-pad package.
#
# Translators:
# Takao Fujiwara <takao.fujiwara1@gmail.com>, 2010-2013.
msgid ""
msgstr ""
"Project-Id-Version: input-pad HEAD\n"
"Report-Msgid-Bugs-To: http://code.google.com/p/input-pad/issues/list\n"
"POT-Creation-Date: 2014-03-28 19:47+0900\n"
"POT-Creation-Date: 2014-04-22 13:09+0900\n"
"PO-Revision-Date: 2012-06-22 17:50+0900\n"
"Last-Translator: Takao Fujiwara <takao.fujiwara1@gmail.com>\n"
"Language-Team: Source\n"
Expand Down Expand Up @@ -114,7 +112,7 @@ msgstr ""
msgid "Box Drawing"
msgstr ""

#: ../data/base.xml.in.h:25 ../input-pad/window-gtk.c:4035
#: ../data/base.xml.in.h:25 ../input-pad/window-gtk.c:3551
msgid "Block"
msgstr ""

Expand Down Expand Up @@ -231,8 +229,8 @@ msgid "Gothic"
msgstr ""

#: ../data/input-pad.desktop.in.h:1 ../data/input-pad.ui.h:50
#: ../input-pad/dialog.ui.h:38 ../input-pad/window-gtk.c:5539
#: ../input-pad/window-gtk.c:5540 ../input-pad/window-gtk.ui.h:1
#: ../input-pad/dialog.ui.h:42 ../input-pad/window-gtk.c:4936
#: ../input-pad/window-gtk.c:4937 ../input-pad/window-gtk.ui.h:1
msgid "Input Pad"
msgstr ""

Expand All @@ -245,6 +243,7 @@ msgid "Close the program"
msgstr ""

#: ../data/input-pad.ui.h:3 ../input-pad/app-menu.ui.h:2
#: ../input-pad/dialog.ui.h:21
msgid "_Close"
msgstr ""

Expand Down Expand Up @@ -356,11 +355,11 @@ msgstr ""
msgid "_Send"
msgstr ""

#: ../data/input-pad.ui.h:33 ../input-pad/dialog.ui.h:21
#: ../data/input-pad.ui.h:33 ../input-pad/dialog.ui.h:22
msgid "Input Pad Troubleshoot"
msgstr ""

#: ../data/input-pad.ui.h:35 ../input-pad/dialog.ui.h:23
#: ../data/input-pad.ui.h:35 ../input-pad/dialog.ui.h:24
#, no-c-format
msgid ""
"\n"
Expand All @@ -376,43 +375,43 @@ msgid ""
"pad to customize those in \"Custom Character\" pane."
msgstr ""

#: ../data/input-pad.ui.h:42 ../input-pad/dialog.ui.h:30
#: ../data/input-pad.ui.h:42 ../input-pad/dialog.ui.h:32
msgid "Configure Keyboard Layouts"
msgstr ""

#: ../data/input-pad.ui.h:43 ../input-pad/dialog.ui.h:31
#: ../data/input-pad.ui.h:43 ../input-pad/dialog.ui.h:33
msgid "A_vailable layouts:"
msgstr ""

#: ../data/input-pad.ui.h:44 ../input-pad/dialog.ui.h:32
#: ../data/input-pad.ui.h:44 ../input-pad/dialog.ui.h:35
msgid "_Layouts shown in the list:"
msgstr ""

#: ../data/input-pad.ui.h:45 ../input-pad/dialog.ui.h:33
#: ../data/input-pad.ui.h:45 ../input-pad/dialog.ui.h:37
msgid "_Options"
msgstr ""

#: ../data/input-pad.ui.h:46 ../input-pad/dialog.ui.h:34
#: ../data/input-pad.ui.h:46 ../input-pad/dialog.ui.h:38
msgid "Configure Keyboard Options"
msgstr ""

#: ../data/input-pad.ui.h:47 ../input-pad/dialog.ui.h:35
#: ../data/input-pad.ui.h:47 ../input-pad/dialog.ui.h:39
msgid "_Use the default keyboard option"
msgstr ""

#: ../data/input-pad.ui.h:48 ../input-pad/dialog.ui.h:36
#: ../data/input-pad.ui.h:48 ../input-pad/dialog.ui.h:40
msgid "Use the defualt XKB option"
msgstr ""

#: ../data/input-pad.ui.h:49 ../input-pad/dialog.ui.h:37
#: ../data/input-pad.ui.h:49 ../input-pad/dialog.ui.h:41
msgid "<b>Keyboard Option</b>"
msgstr ""

#: ../data/input-pad.ui.h:51 ../input-pad/dialog.ui.h:39
#: ../data/input-pad.ui.h:51 ../input-pad/dialog.ui.h:43
msgid "The input pad is a tool to send a character on button."
msgstr ""

#: ../data/input-pad.ui.h:52 ../input-pad/dialog.ui.h:40
#: ../data/input-pad.ui.h:52 ../input-pad/dialog.ui.h:44
msgid "translator_credits"
msgstr ""

Expand Down Expand Up @@ -1979,6 +1978,18 @@ msgstr ""
msgid "_About"
msgstr ""

#: ../input-pad/dialog.ui.h:31
msgid "_OK"
msgstr ""

#: ../input-pad/dialog.ui.h:34
msgid "_Add"
msgstr ""

#: ../input-pad/dialog.ui.h:36
msgid "_Remove"
msgstr ""

#: ../input-pad/eek-gtk.c:62
msgid "Use libeek to draw keyboard"
msgstr ""
Expand Down Expand Up @@ -2739,50 +2750,50 @@ msgstr ""
msgid "Supplementary Private Use Area-B"
msgstr ""

#: ../input-pad/window-gtk.c:196
#: ../input-pad/window-gtk.c:198
msgid "Display version"
msgstr ""

#. Translators: the word 'KBDUI' is not translated.
#: ../input-pad/window-gtk.c:199
#: ../input-pad/window-gtk.c:201
msgid "Use KBDUI to draw keyboard"
msgstr ""

#. Translators: the word 'TYPE' is not translated.
#: ../input-pad/window-gtk.c:202
#: ../input-pad/window-gtk.c:204
msgid "Use TYPE of char table. The available TYPE=0, 1, 2"
msgstr ""

#. Translators: the word 'TYPE' is not translated.
#: ../input-pad/window-gtk.c:205
#: ../input-pad/window-gtk.c:207
msgid "Use TYPE of keyboard layout. The available TYPE=0, 1"
msgstr ""

#: ../input-pad/window-gtk.c:212
#: ../input-pad/window-gtk.c:214
msgid "Use XTEST module to send key events"
msgstr ""

#: ../input-pad/window-gtk.c:217
#: ../input-pad/window-gtk.c:219
msgid "Use XSendEvent to send key events"
msgstr ""

#: ../input-pad/window-gtk.c:1339
#: ../input-pad/window-gtk.c:1153
msgid "Fold layout"
msgstr ""

#: ../input-pad/window-gtk.c:1344 ../input-pad/window-gtk.c:2733
#: ../input-pad/window-gtk.c:1158 ../input-pad/window-gtk.c:2467
msgid "Extend layout"
msgstr ""

#: ../input-pad/window-gtk.c:2933
#: ../input-pad/window-gtk.c:2668
msgid "Layout"
msgstr ""

#: ../input-pad/window-gtk.c:3208
#: ../input-pad/window-gtk.c:2943
msgid "_Layout:"
msgstr ""

#: ../input-pad/window-gtk.c:3238
#: ../input-pad/window-gtk.c:2973
msgid "_Configure Layouts"
msgstr ""

Expand Down Expand Up @@ -2810,15 +2821,15 @@ msgstr ""
#. license1, license2, license3);
#.
#. This format has been used since gtk 2.20.
#: ../input-pad/window-gtk.c:3277
#: ../input-pad/window-gtk.c:3012
#, c-format
msgid "This program comes with ABSOLUTELY NO WARRANTY; for details, visit %s"
msgstr ""

#: ../input-pad/window-gtk.c:3776
#: ../input-pad/window-gtk.c:3290
msgid "Group"
msgstr ""

#: ../input-pad/window-gtk.c:3784
#: ../input-pad/window-gtk.c:3298
msgid "Subgroup"
msgstr ""

0 comments on commit 54dc78c

Please sign in to comment.