Author: kitone
Date: Wed Jul 29 23:20:46 2015
New Revision: 956
URL: http://svn.gna.org/viewcvs/subtitleeditor?rev=956&view=rev
Log:
Fix bug #23727 : Error Checking should close on pressing Escape.
Modified:
trunk/ChangeLog
trunk/plugins/actions/errorchecking/dialog-error-checking.ui
trunk/plugins/actions/errorchecking/errorcheckingplugin.cc
Modified: trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/subtitleeditor/trunk/ChangeLog?rev=956&r1=955&r2=956&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Wed Jul 29 23:20:46 2015
@@ -1,3 +1,9 @@
+2015-07-29 kitone <[email protected]>
+
+ * plugins/actions/errorchecking/dialog-error-checking.ui:
+ * plugins/actions/errorchecking/errorcheckingplugin.cc:
+ Fix bug #23727 : Error Checking should close on pressing Escape.
+
2015-07-28 kitone <[email protected]>
* plugins/actions/movesubtitles/movesubtitles.cc:
Modified: trunk/plugins/actions/errorchecking/dialog-error-checking.ui
URL:
http://svn.gna.org/viewcvs/subtitleeditor/trunk/plugins/actions/errorchecking/dialog-error-checking.ui?rev=956&r1=955&r2=956&view=diff
==============================================================================
--- trunk/plugins/actions/errorchecking/dialog-error-checking.ui
(original)
+++ trunk/plugins/actions/errorchecking/dialog-error-checking.ui Wed Jul
29 23:20:46 2015
@@ -2,50 +2,80 @@
<!-- Generated with glade 3.18.3 -->
<interface>
<requires lib="gtk+" version="3.10"/>
- <object class="GtkWindow" id="dialog-error-checking">
+ <object class="GtkDialog" id="dialog-error-checking">
<property name="can_focus">False</property>
<property name="title" translatable="yes">Error Checking</property>
<property name="default_width">450</property>
<property name="default_height">500</property>
- <child>
- <object class="GtkBox" id="box">
- <property name="visible">True</property>
+ <property name="type_hint">normal</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
<child>
- <object class="GtkScrolledWindow" id="scrolledwindow1">
+ <object class="GtkBox" id="box">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="shadow_type">in</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
<child>
- <object class="GtkTreeView" id="treeview-errors">
+ <object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="headers_visible">False</property>
- <child internal-child="selection">
- <object class="GtkTreeSelection" id="treeview-selection"/>
+ <property name="shadow_type">in</property>
+ <child>
+ <object class="GtkTreeView" id="treeview-errors">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="headers_visible">False</property>
+ <child internal-child="selection">
+ <object class="GtkTreeSelection"
id="treeview-selection"/>
+ </child>
+ </object>
</child>
</object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkStatusbar" id="statusbar">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_left">10</property>
+ <property name="margin_right">10</property>
+ <property name="margin_start">10</property>
+ <property name="margin_end">10</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkStatusbar" id="statusbar">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_left">10</property>
- <property name="margin_right">10</property>
- <property name="margin_start">10</property>
- <property name="margin_end">10</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
Modified: trunk/plugins/actions/errorchecking/errorcheckingplugin.cc
URL:
http://svn.gna.org/viewcvs/subtitleeditor/trunk/plugins/actions/errorchecking/errorcheckingplugin.cc?rev=956&r1=955&r2=956&view=diff
==============================================================================
--- trunk/plugins/actions/errorchecking/errorcheckingplugin.cc (original)
+++ trunk/plugins/actions/errorchecking/errorcheckingplugin.cc Wed Jul 29
23:20:46 2015
@@ -81,7 +81,7 @@
/*
*
*/
-class DialogErrorChecking : public Gtk::Window
+class DialogErrorChecking : public Gtk::Dialog
{
/*
*
@@ -147,7 +147,7 @@
*
*/
DialogErrorChecking(BaseObjectType* cobject, const
Glib::RefPtr<Gtk::Builder>& builder)
- :Gtk::Window(cobject)
+ :Gtk::Dialog(cobject)
{
se_debug(SE_DEBUG_PLUGINS);
_______________________________________________
Subtitleeditor-commits mailing list
[email protected]
https://mail.gna.org/listinfo/subtitleeditor-commits