[Gpa-commits] r811 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 7 13:00:54 CET 2008


Author: marcus
Date: 2008-02-07 13:00:54 +0100 (Thu, 07 Feb 2008)
New Revision: 811

Modified:
   trunk/src/ChangeLog
   trunk/src/clipboard.c
Log:
2008-02-07  Marcus Brinkmann  <marcus at g10code.de>

	* clipboard.c (GTK_STOCK_SELECT_ALL) [!GTK_CHECK_VERSION(2,10,0):
	New macro.
	(clipboard_text_new): Fix last change.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2008-02-06 15:32:56 UTC (rev 810)
+++ trunk/src/ChangeLog	2008-02-07 12:00:54 UTC (rev 811)
@@ -1,3 +1,9 @@
+2008-02-07  Marcus Brinkmann  <marcus at g10code.de>
+
+	* clipboard.c (GTK_STOCK_SELECT_ALL) [!GTK_CHECK_VERSION(2,10,0):
+	New macro.
+	(clipboard_text_new): Fix last change.
+
 2008-02-06  Marcus Brinkmann  <marcus at g10code.de>
 
 	* clipboard.c (clipboard_toolbar_new): Replace "file" by "text" in

Modified: trunk/src/clipboard.c
===================================================================
--- trunk/src/clipboard.c	2008-02-06 15:32:56 UTC (rev 810)
+++ trunk/src/clipboard.c	2008-02-07 12:00:54 UTC (rev 811)
@@ -60,6 +60,7 @@
 #define gtk_text_buffer_get_has_selection(textbuf) \
   gtk_text_buffer_get_selection_bounds (textbuf, NULL, NULL);
 #define gdk_atom_intern_static_string(str) gdk_atom_intern (str, FALSE)
+#define GTK_STOCK_SELECT_ALL "gtk-select-all"
 #define MY_GTK_TEXT_BUFFER_NO_HAS_SELECTION
 #endif
 
@@ -1000,7 +1001,7 @@
 			    G_CALLBACK (update_selection_sensitive_widgets),
 			    clipboard);
   g_signal_connect_after (clipboard->text_buffer, "backspace",
-			    G_CALLBACK (update_selection_sensitive_widgets2),
+			    G_CALLBACK (update_selection_sensitive_widgets),
 			    clipboard);
 #endif
 



More information about the Gpa-commits mailing list