gnome-commander r2001 - in trunk: . doc/C src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2001 - in trunk: . doc/C src
- Date: Mon, 25 Aug 2008 21:34:57 +0000 (UTC)
Author: epiotr
Date: Mon Aug 25 21:34:57 2008
New Revision: 2001
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2001&view=rev
Log:
Fixed problem #548961 (support for input method when rename or quicksearch)
Modified:
trunk/ChangeLog
trunk/NEWS
trunk/doc/C/gnome-commander.xml
trunk/src/gnome-cmd-quicksearch-popup.cc
trunk/src/gnome-cmd-rename-dialog.cc
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Aug 25 21:34:57 2008
@@ -4,6 +4,7 @@
Bug fixes:
* Fixed problem #536446 (file name not focused for in-place renaming)
+ * Fixed problem #548961 (support for input method when rename or quicksearch)
New features:
* Support for PDF metatags in advanced file rename templates
Modified: trunk/doc/C/gnome-commander.xml
==============================================================================
--- trunk/doc/C/gnome-commander.xml (original)
+++ trunk/doc/C/gnome-commander.xml Mon Aug 25 21:34:57 2008
@@ -5930,6 +5930,9 @@
<listitem>
<para>Fixed problem #536446 (file name not focused for in-place renaming)</para>
</listitem>
+ <listitem>
+ <para>Fixed problem #548961 (support for input method when rename or quicksearch)</para>
+ </listitem>
</itemizedlist>
</para>
<para>New features:</para>
Modified: trunk/src/gnome-cmd-quicksearch-popup.cc
==============================================================================
--- trunk/src/gnome-cmd-quicksearch-popup.cc (original)
+++ trunk/src/gnome-cmd-quicksearch-popup.cc Mon Aug 25 21:34:57 2008
@@ -126,6 +126,10 @@
static gboolean on_key_pressed (GtkWidget *entry, GdkEventKey *event, GnomeCmdQuicksearchPopup *popup)
{
+ if (GTK_ENTRY (entry)->editable && event->type == GDK_KEY_PRESS)
+ if (gtk_im_context_filter_keypress (GTK_ENTRY (entry)->im_context, event))
+ return TRUE;
+
// While in quicksearch, treat "ALT/CTRL + key" as a simple "key"
event->state &= ~(GDK_CONTROL_MASK | GDK_MOD1_MASK);
Modified: trunk/src/gnome-cmd-rename-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-rename-dialog.cc (original)
+++ trunk/src/gnome-cmd-rename-dialog.cc Mon Aug 25 21:34:57 2008
@@ -43,6 +43,10 @@
{
GnomeCmdRenameDialog *dialog = GNOME_CMD_RENAME_DIALOG(widget);
+ if (dialog->priv->textbox->editable && event->type == GDK_KEY_PRESS)
+ if (gtk_im_context_filter_keypress (dialog->priv->textbox->im_context, event))
+ return TRUE;
+
switch (event->keyval)
{
case GDK_Escape:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]