[Xfce4-commits] r25726 - in mousepad/branches/nick_0_3: . mousepad

Nick Schermer nick at xfce.org
Sun May 20 11:58:48 CEST 2007


Author: nick
Date: 2007-05-20 09:58:48 +0000 (Sun, 20 May 2007)
New Revision: 25726

Modified:
   mousepad/branches/nick_0_3/ChangeLog
   mousepad/branches/nick_0_3/README
   mousepad/branches/nick_0_3/mousepad/mousepad-view.c
   mousepad/branches/nick_0_3/mousepad/mousepad-window.c
Log:
	* mousepad/mousepad-view.c: Initialize variables, so gcc is
	  happy.
	* README: Add some lines.
	* mousepad/mousepad-window.c: Ctrl + Shift + v is the shortcut
	  to paste in a column.

Modified: mousepad/branches/nick_0_3/ChangeLog
===================================================================
--- mousepad/branches/nick_0_3/ChangeLog	2007-05-20 09:44:31 UTC (rev 25725)
+++ mousepad/branches/nick_0_3/ChangeLog	2007-05-20 09:58:48 UTC (rev 25726)
@@ -1,4 +1,12 @@
-2007-05-xx	Nick Schermer <nick at xfce.org>
+2007-05-20	Nick Schermer <nick at xfce.org>
+	* mousepad/mousepad-view.c: Initialize variables, so gcc is
+	  happy.
+	* README: Add some lines.
+	* mousepad/mousepad-window.c: Ctrl + Shift + v is the shortcut
+	  to paste in a column.
+
+
+2007-05-17	Nick Schermer <nick at xfce.org>
 	* mousepad/mousepad-view.c: Cleanup the line number code.
 	  This version is a bit faster and removed a bunch of code.
 	* mousepad/mousepad-view.c: Cleanup the indentation code. You

Modified: mousepad/branches/nick_0_3/README
===================================================================
--- mousepad/branches/nick_0_3/README	2007-05-20 09:44:31 UTC (rev 25725)
+++ mousepad/branches/nick_0_3/README	2007-05-20 09:58:48 UTC (rev 25726)
@@ -0,0 +1,44 @@
+What is it?
+===========
+
+Mousepad is a simple text editor for the Xfce  desktop environment.
+
+
+The Mousepad Mission
+====================
+
+Mousepad aims to be an easy-to-use and fast editor. Our target is an
+editor for quickly editing text files, not a development environment
+or an editor with a huge bunch of plugins.
+On the other hand we try to use the latest Gtk+ features available,
+which means that if Gtk adds something new in a major release that is
+useful for the editor, we will likely bump the Gtk dependency and
+integrate this new feature in Mousepad.
+
+
+Required packages
+=================
+
+Mousepad depends on the following packages:
+
+ - Gtk+ 2.10.0 or above
+ - Libxfce4util 4.4.0 or above
+
+The following packages are optional:
+
+ - D-BUS 0.34 or above (strongly suggested)
+
+
+Installation
+============
+
+The file 'INSTALL' contains generic installation
+instructions.
+
+
+How to report bugs?
+===================
+
+Bugs should be reported to the Xfce bug tracking system
+(http://bugzilla.xfce.org, product Mousepad). You will need to create
+an account for yourself.

Modified: mousepad/branches/nick_0_3/mousepad/mousepad-view.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-view.c	2007-05-20 09:44:31 UTC (rev 25725)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-view.c	2007-05-20 09:58:48 UTC (rev 25726)
@@ -876,9 +876,9 @@
                                 GtkClipboard *clipboard,
                                 gboolean      remove)
 {
-  GString       *string;
+  GString       *string = NULL;
   gint           i;
-  gint           ln, previous_ln;
+  gint           ln, previous_ln = 0;
   gchar         *slice;
   GtkTextBuffer *buffer;
   GtkTextMark   *mark_start, *mark_end;

Modified: mousepad/branches/nick_0_3/mousepad/mousepad-window.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-window.c	2007-05-20 09:44:31 UTC (rev 25725)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-window.c	2007-05-20 09:58:48 UTC (rev 25726)
@@ -329,7 +329,7 @@
     { "cut", GTK_STOCK_CUT, NULL, NULL, N_("Cut the selection"), G_CALLBACK (mousepad_window_action_cut), },
     { "copy", GTK_STOCK_COPY, NULL, NULL, N_("Copy the selection"), G_CALLBACK (mousepad_window_action_copy), },
     { "paste", GTK_STOCK_PASTE, NULL, NULL, N_("Paste the clipboard"), G_CALLBACK (mousepad_window_action_paste), },
-    { "paste-column", NULL, N_("Paste _Column"), NULL, N_("Paste the clipboard text in a clumn"), G_CALLBACK (mousepad_window_action_paste_column), },
+    { "paste-column", GTK_STOCK_PASTE, N_("Paste _Column"), "<control><shift>V", N_("Paste the clipboard text in a clumn"), G_CALLBACK (mousepad_window_action_paste_column), },
     { "delete", GTK_STOCK_DELETE, NULL, NULL, N_("Delete the selected text"), G_CALLBACK (mousepad_window_action_delete), },
     { "select-all", GTK_STOCK_SELECT_ALL, NULL, NULL, N_("Select the entire document"), G_CALLBACK (mousepad_window_action_select_all), },
 



More information about the Xfce4-commits mailing list