Bug#587667: mousepad: changes are discarded on opening recent files

2011-08-15 Thread Dmitri Bachtin
Tested Stefan Ott's patch against apt-get sourced 0.2.16-5,
debcheckouted 0.2.16 (r5729) and against official mousepad's git HEAD
(5feb521028695c4c9d0f37ab8a20e97de60b37e9) on unstable. 

Works as expected.

Could not find a bug entry in upstream's Bugzilla. Filed a bug refering
to this one. https://bugzilla.xfce.org/show_bug.cgi?id=7890

The XFCE Bugtacker reports that this bug has been fixed in the 0.3
branch nick_0_3.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587667: mousepad: changes are discarded on opening recent files

2011-08-15 Thread Dmitri Bachtin
Looks like the flag Fix has been fixed in branch ... is a default flag
set by the XFCE bugtracker.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587667: mousepad: changes are discarded on opening recent files

2011-05-22 Thread Stefan Ott
Hey

I believe the attached patch should fix this. Could you give it a try?

cheers
-- 
Stefan Ott
http://www.ott.net/

You are not Grey Squirrel?
--- a/src/callback.c
+++ b/src/callback.c
@@ -114,6 +114,9 @@
 #if GTK_CHECK_VERSION(2,10,0)
 void cb_file_open_recent(StructData *sd, GtkRecentChooser *chooser)
 {
+  if (check_text_modification(sd))
+return;
+
   FileInfo *fi;
   gchar *uri;
 


Bug#587667: mousepad: changes are discarded on opening recent files

2010-06-30 Thread Francesco Marass
Package: mousepad
Version: 0.2.16-4
Severity: normal

Mousepad does not prompt the user to save changes in the current file when
opening a recent file from the Open recent menu.
It does behave correctly when the Open... option is chosen.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mousepad depends on:
ii  libc6 2.11.1-3   Embedded GNU C Library: Shared lib
ii  libglib2.0-0  2.24.1-1   The GLib library of C routines
ii  libgtk2.0-0   2.20.1-1   The GTK+ graphical user interface 
ii  libpango1.0-0 1.28.1-1   Layout and rendering of internatio
ii  libxfce4util4 4.6.2-1Utility functions library for Xfce

Versions of packages mousepad recommends:
ii  xfprint4  4.6.1-1Printer GUI for Xfce4

mousepad suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org