[gnote] Change GDK_d to GDK_KEY_d in inserttimestampnoteaddin.cpp



commit b04b47cc66964baacc3a202120037fcb06737ece
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Sun May 8 00:21:31 2011 +0300

    Change GDK_d to GDK_KEY_d in inserttimestampnoteaddin.cpp
    
    The former is not available in GTK 3.

 .../inserttimestamp/inserttimestampnoteaddin.cpp   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp b/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp
index 3b9a3e1..7e4f624 100644
--- a/src/addins/inserttimestamp/inserttimestampnoteaddin.cpp
+++ b/src/addins/inserttimestamp/inserttimestampnoteaddin.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
@@ -81,7 +81,7 @@ namespace inserttimestamp {
     m_item->signal_activate().connect(
       sigc::mem_fun(*this, &InsertTimestampNoteAddin::on_menu_item_activated));
     m_item->add_accelerator ("activate", get_window()->get_accel_group(),
-                             GDK_d, Gdk::CONTROL_MASK,
+                             GDK_KEY_d, 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]