[gnote] Change GDK_P to GDK_KEY_P in printnotesnoteaddin.cpp
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Change GDK_P to GDK_KEY_P in printnotesnoteaddin.cpp
- Date: Sun, 8 May 2011 11:38:11 +0000 (UTC)
commit 1cd9f8c1959ad516c14873852c530e1b24e325c0
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Sun May 8 00:24:30 2011 +0300
Change GDK_P to GDK_KEY_P in printnotesnoteaddin.cpp
The former is not available in GTK 3.
src/addins/printnotes/printnotesnoteaddin.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/printnotes/printnotesnoteaddin.cpp b/src/addins/printnotes/printnotesnoteaddin.cpp
index dd0011b..d19d9fa 100644
--- a/src/addins/printnotes/printnotesnoteaddin.cpp
+++ b/src/addins/printnotes/printnotesnoteaddin.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2010 Aurimas Cernius
+ * Copyright (C) 2010-2011 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -82,7 +82,7 @@ namespace printnotes {
m_item->signal_activate().connect(
sigc::mem_fun(*this, &PrintNotesNoteAddin::print_button_clicked));
m_item->add_accelerator ("activate", get_window()->get_accel_group(),
- GDK_P, Gdk::CONTROL_MASK,
+ GDK_KEY_P, Gdk::CONTROL_MASK,
Gtk::ACCEL_VISIBLE);
m_item->show ();
add_plugin_menu_item (m_item);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]