[Xfce4-commits] r26674 - in mousepad/branches/nick_0_3: . mousepad
Nick Schermer
nick at xfce.org
Mon Mar 10 20:52:22 CET 2008
Author: nick
Date: 2008-03-10 19:52:22 +0000 (Mon, 10 Mar 2008)
New Revision: 26674
Modified:
mousepad/branches/nick_0_3/ChangeLog
mousepad/branches/nick_0_3/mousepad/mousepad-document.c
Log:
* mousepad/mousepad-document.c: Swap the colors of readonly and
modified tabs. Red is modified and green readonly.
Modified: mousepad/branches/nick_0_3/ChangeLog
===================================================================
--- mousepad/branches/nick_0_3/ChangeLog 2008-03-10 12:34:26 UTC (rev 26673)
+++ mousepad/branches/nick_0_3/ChangeLog 2008-03-10 19:52:22 UTC (rev 26674)
@@ -1,3 +1,9 @@
+2008-03-10 Nick Schermer <nick at xfce.org>
+
+ * mousepad/mousepad-document.c: Swap the colors of readonly and
+ modified tabs. Red is modified and green readonly.
+
+
2008-03-02 Nick Schermer <nick at xfce.org>
* mousepad/mousepad-file.c: Don't set an error and return false on
Modified: mousepad/branches/nick_0_3/mousepad/mousepad-document.c
===================================================================
--- mousepad/branches/nick_0_3/mousepad/mousepad-document.c 2008-03-10 12:34:26 UTC (rev 26673)
+++ mousepad/branches/nick_0_3/mousepad/mousepad-document.c 2008-03-10 19:52:22 UTC (rev 26674)
@@ -428,9 +428,9 @@
{
/* label color */
if (gtk_text_buffer_get_modified (document->buffer))
+ color = &red;
+ else if (mousepad_file_get_read_only (document->file))
color = &green;
- else if (mousepad_file_get_read_only (document->file))
- color = &red;
else
color = NULL;
More information about the Xfce4-commits
mailing list