[gthumb] ctrl+p doesn't work
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] ctrl+p doesn't work
- Date: Sun, 9 Feb 2014 11:31:45 +0000 (UTC)
commit f63f41117ff6adc0a66668e63425cf04cb2882ed
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Feb 9 12:30:04 2014 +0100
ctrl+p doesn't work
https://bugzilla.gnome.org/show_bug.cgi?id=722707
extensions/image_print/callbacks.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/extensions/image_print/callbacks.c b/extensions/image_print/callbacks.c
index 90a1913..ddbc9e9 100644
--- a/extensions/image_print/callbacks.c
+++ b/extensions/image_print/callbacks.c
@@ -34,6 +34,11 @@ static const GActionEntry actions[] = {
};
+static const GthAccelerator accelerators[] = {
+ { "win.print", "<control>P" }
+};
+
+
void
ip__gth_browser_construct_cb (GthBrowser *browser)
{
@@ -55,6 +60,9 @@ ip__gth_browser_construct_cb (GthBrowser *browser)
"win.print",
"<control>P",
NULL);
+ gth_window_add_accelerators (GTH_WINDOW (browser),
+ accelerators,
+ G_N_ELEMENTS (accelerators));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]