Author: nick
Date: 2007-02-27 21:28:04 +0000 (Tue, 27 Feb 2007)
New Revision: 25040
Modified:
mousepad/branches/nick_0_3/ChangeLog
mousepad/branches/nick_0_3/Mousepad.desktop.in.in
mousepad/branches/nick_0_3/TODO
mousepad/branches/nick_0_3/mousepad/Makefile.am
mousepad/branches/nick_0_3/mousepad/mousepad-screen.c
mousepad/branches/nick_0_3/mousepad/mousepad-window.c
Log:
* TODO: Remind myself to fix problems with UTF-8 filenames.
* mousepad/mousepad-window.c: Fix crash when opening files
with the command line.
* Mousepad.desktop.in.in, Mousepad.desktop.in.in: Mousepad executable
is now lowercase again.
* mousepad/mousepad-screen.c: Remove unused signals from the Class.
Modified: mousepad/branches/nick_0_3/ChangeLog
===================================================================
--- mousepad/branches/nick_0_3/ChangeLog 2007-02-27 21:06:04 UTC (rev
25039)
+++ mousepad/branches/nick_0_3/ChangeLog 2007-02-27 21:28:04 UTC (rev
25040)
@@ -1,5 +1,14 @@
2007-02-17 Nick Schermer <[EMAIL PROTECTED]>
+ * TODO: Remind myself to fix problems with UTF-8 filenames.
+ * mousepad/mousepad-window.c: Fix crash when opening files
+ with the command line.
+ * Mousepad.desktop.in.in, Mousepad.desktop.in.in: Mousepad executable
+ is now lowercase again.
+ * mousepad/mousepad-screen.c: Remove unused signals from the Class.
+
+2007-02-17 Nick Schermer <[EMAIL PROTECTED]>
+
* TODO, NEWS: Update the current status of the rewrite.
* Mousepad.desktop.in.in: Add MimeType and improve Categories.
Modified: mousepad/branches/nick_0_3/Mousepad.desktop.in.in
===================================================================
--- mousepad/branches/nick_0_3/Mousepad.desktop.in.in 2007-02-27 21:06:04 UTC
(rev 25039)
+++ mousepad/branches/nick_0_3/Mousepad.desktop.in.in 2007-02-27 21:28:04 UTC
(rev 25040)
@@ -4,8 +4,8 @@
_Name=Mousepad
_Comment=Simple Text Editor
_GenericName=Text Editor
-Exec=Mousepad %F
-Icon=Mousepad
+Exec=mousepad %F
+Icon=mousepad
Terminal=false
StartupNotify=true
Type=Application
Modified: mousepad/branches/nick_0_3/TODO
===================================================================
--- mousepad/branches/nick_0_3/TODO 2007-02-27 21:06:04 UTC (rev 25039)
+++ mousepad/branches/nick_0_3/TODO 2007-02-27 21:28:04 UTC (rev 25040)
@@ -13,6 +13,7 @@
- Saving and loading
- Save All option.
+ - Filenames and UTF-8.
- Reload option. Maybe also stat the source file when switching
tabs and tell the user if the source was modified.
Modified: mousepad/branches/nick_0_3/mousepad/Makefile.am
===================================================================
--- mousepad/branches/nick_0_3/mousepad/Makefile.am 2007-02-27 21:06:04 UTC
(rev 25039)
+++ mousepad/branches/nick_0_3/mousepad/Makefile.am 2007-02-27 21:28:04 UTC
(rev 25040)
@@ -13,9 +13,9 @@
$(PLATFORM_CPPFLAGS)
bin_PROGRAMS =
\
- Mousepad
+ mousepad
-Mousepad_SOURCES = \
+mousepad_SOURCES = \
main.c \
mousepad-application.c \
mousepad-application.h \
@@ -34,17 +34,17 @@
mousepad-window.h \
mousepad-window-ui.h
-Mousepad_CFLAGS = \
+mousepad_CFLAGS = \
$(EXO_CFLAGS) \
$(GTHREAD_CFLAGS) \
$(PLATFORM_CFLAGS)
-Mousepad_LDFLAGS = \
+mousepad_LDFLAGS = \
-no-undefined \
$(LIBSM_LDFLAGS) \
$(PLATFORM_LDFLAGS)
-Mousepad_LDADD = \
+mousepad_LDADD = \
$(EXO_LIBS) \
$(GTHREAD_LIBS)
@@ -52,23 +52,18 @@
mousepad_build_sources = \
mousepad-dbus-infos.h
-Mousepad_SOURCES += \
+mousepad_SOURCES += \
mousepad-dbus.c \
mousepad-dbus.h
-Mousepad_CFLAGS += \
+mousepad_CFLAGS += \
-DDBUS_API_SUBJECT_TO_CHANGE \
$(DBUS_CFLAGS)
-Mousepad_LDADD += \
+mousepad_LDADD += \
$(DBUS_LIBS)
endif
-# install symlink to 'mousepad'
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(bindir)
- -( cd $(DESTDIR)$(bindir) ; ln -sf Mousepad mousepad )
-
if MAINTAINER_MODE
DISTCLEANFILES = \
mousepad-window-ui.h
Modified: mousepad/branches/nick_0_3/mousepad/mousepad-screen.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-screen.c 2007-02-27
21:06:04 UTC (rev 25039)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-screen.c 2007-02-27
21:28:04 UTC (rev 25040)
@@ -82,12 +82,6 @@
struct _MousepadScreenClass
{
GtkScrolledWindowClass __parent__;
-
- /* signals */
- void (*selection_changed) (MousepadScreen *screen,
- gboolean selected);
- void (*modified_changed) (MousepadScreen *screen,
- gboolean modified);
};
struct _MousepadScreen
@@ -96,8 +90,10 @@
GtkWidget *textview;
- /* file and display name */
+ /* absolute path of the file */
gchar *filename;
+
+ /* name of the file used for the titles */
gchar *display_name;
/* last document modified time */
Modified: mousepad/branches/nick_0_3/mousepad/mousepad-window.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-window.c 2007-02-27
21:06:04 UTC (rev 25039)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-window.c 2007-02-27
21:28:04 UTC (rev 25040)
@@ -537,7 +537,7 @@
gchar **filenames)
{
gint n;
- gchar *filename;
+ gchar *filename = NULL;
_mousepad_return_if_fail (MOUSEPAD_IS_WINDOW (window));
_mousepad_return_if_fail (working_directory != NULL);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits