* src/compose.c
Fix bug 1196, 'Edit>Select All doesn't work' (Maemo)
+2007-04-23 [colin] 2.9.1cvs15
+
+ * src/compose.c
+ Fix bug 1196, 'Edit>Select All doesn't work' (Maemo)
+
2007-04-21 [colin] 2.9.1cvs14
* src/gtk/quicksearch.c
2007-04-21 [colin] 2.9.1cvs14
* src/gtk/quicksearch.c
( cvs diff -u -r 1.20.2.13 -r 1.20.2.14 src/gtk/Makefile.am; ) > 2.9.1cvs12.patchset
( cvs diff -u -r 1.1.2.68 -r 1.1.2.69 src/gtk/quicksearch.c; ) > 2.9.1cvs13.patchset
( cvs diff -u -r 1.1.2.69 -r 1.1.2.70 src/gtk/quicksearch.c; ) > 2.9.1cvs14.patchset
( cvs diff -u -r 1.20.2.13 -r 1.20.2.14 src/gtk/Makefile.am; ) > 2.9.1cvs12.patchset
( cvs diff -u -r 1.1.2.68 -r 1.1.2.69 src/gtk/quicksearch.c; ) > 2.9.1cvs13.patchset
( cvs diff -u -r 1.1.2.69 -r 1.1.2.70 src/gtk/quicksearch.c; ) > 2.9.1cvs14.patchset
+( cvs diff -u -r 1.382.2.372 -r 1.382.2.373 src/compose.c; ) > 2.9.1cvs15.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
static void compose_cut_cb(Compose *compose)
{
static void compose_cut_cb(Compose *compose)
{
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable))
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ )
entry_cut_clipboard(compose->focused_editable);
}
static void compose_copy_cb(Compose *compose)
{
entry_cut_clipboard(compose->focused_editable);
}
static void compose_copy_cb(Compose *compose)
{
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable))
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ )
entry_copy_clipboard(compose->focused_editable);
}
entry_copy_clipboard(compose->focused_editable);
}
static void compose_paste_as_quote_cb(Compose *compose)
{
gint wrap_quote = prefs_common.linewrap_quote;
static void compose_paste_as_quote_cb(Compose *compose)
{
gint wrap_quote = prefs_common.linewrap_quote;
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable)) {
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ ) {
/* let text_insert() (called directly or at a later time
* after the gtk_editable_paste_clipboard) know that
* text is to be inserted as a quotation. implemented
/* let text_insert() (called directly or at a later time
* after the gtk_editable_paste_clipboard) know that
* text is to be inserted as a quotation. implemented
gint prev_autowrap;
GtkTextBuffer *buffer;
BLOCK_WRAP();
gint prev_autowrap;
GtkTextBuffer *buffer;
BLOCK_WRAP();
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable))
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ )
entry_paste_clipboard(compose, compose->focused_editable, FALSE,
GDK_SELECTION_CLIPBOARD, NULL);
UNBLOCK_WRAP();
entry_paste_clipboard(compose, compose->focused_editable, FALSE,
GDK_SELECTION_CLIPBOARD, NULL);
UNBLOCK_WRAP();
gint prev_autowrap;
GtkTextBuffer *buffer;
BLOCK_WRAP();
gint prev_autowrap;
GtkTextBuffer *buffer;
BLOCK_WRAP();
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable))
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ )
entry_paste_clipboard(compose, compose->focused_editable, TRUE,
GDK_SELECTION_CLIPBOARD, NULL);
UNBLOCK_WRAP();
entry_paste_clipboard(compose, compose->focused_editable, TRUE,
GDK_SELECTION_CLIPBOARD, NULL);
UNBLOCK_WRAP();
static void compose_allsel_cb(Compose *compose)
{
static void compose_allsel_cb(Compose *compose)
{
- if (compose->focused_editable &&
- GTK_WIDGET_HAS_FOCUS(compose->focused_editable))
+ if (compose->focused_editable
+#ifndef MAEMO
+ && GTK_WIDGET_HAS_FOCUS(compose->focused_editable)
+#endif
+ )
entry_allsel(compose->focused_editable);
}
entry_allsel(compose->focused_editable);
}