gnome-games r8278 - in trunk/gnome-sudoku/src: . lib lib/gtk_goodies
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8278 - in trunk/gnome-sudoku/src: . lib lib/gtk_goodies
- Date: Sat, 8 Nov 2008 02:51:52 +0000 (UTC)
Author: rancell
Date: Sat Nov 8 02:51:52 2008
New Revision: 8278
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8278&view=rev
Log:
Marked all Python files as being UTF-8 encoded
Modified:
trunk/gnome-sudoku/src/gnome-sudoku.in.in
trunk/gnome-sudoku/src/lib/__init__.py
trunk/gnome-sudoku/src/lib/colors.py
trunk/gnome-sudoku/src/lib/dialog_swallower.py
trunk/gnome-sudoku/src/lib/game_selector.py
trunk/gnome-sudoku/src/lib/gnome_sudoku.py
trunk/gnome-sudoku/src/lib/gsudoku.py
trunk/gnome-sudoku/src/lib/gtk_goodies/Undo.py
trunk/gnome-sudoku/src/lib/gtk_goodies/__init__.py
trunk/gnome-sudoku/src/lib/gtk_goodies/dialog_extras.py
trunk/gnome-sudoku/src/lib/gtk_goodies/gconf_wrapper.py
trunk/gnome-sudoku/src/lib/gtk_goodies/image_extras.py
trunk/gnome-sudoku/src/lib/main.py
trunk/gnome-sudoku/src/lib/pausable.py
trunk/gnome-sudoku/src/lib/printing.py
trunk/gnome-sudoku/src/lib/saver.py
trunk/gnome-sudoku/src/lib/simple_debug.py
trunk/gnome-sudoku/src/lib/sudoku.py
trunk/gnome-sudoku/src/lib/sudoku_generator_gui.py
trunk/gnome-sudoku/src/lib/sudoku_labeller.py
trunk/gnome-sudoku/src/lib/sudoku_maker.py
trunk/gnome-sudoku/src/lib/sudoku_thumber.py
trunk/gnome-sudoku/src/lib/timer.py
Modified: trunk/gnome-sudoku/src/gnome-sudoku.in.in
==============================================================================
--- trunk/gnome-sudoku/src/gnome-sudoku.in.in (original)
+++ trunk/gnome-sudoku/src/gnome-sudoku.in.in Sat Nov 8 02:51:52 2008
@@ -1,4 +1,5 @@
#! /usr/bin/env python
+# -*- coding: utf-8 -*-
# GNOME Sudoku is a simple sudoku generator and player. Sudoku is a
# japanese logic puzzle. This is the startup script which imports
Modified: trunk/gnome-sudoku/src/lib/__init__.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/__init__.py (original)
+++ trunk/gnome-sudoku/src/lib/__init__.py Sat Nov 8 02:51:52 2008
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
Modified: trunk/gnome-sudoku/src/lib/colors.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/colors.py (original)
+++ trunk/gnome-sudoku/src/lib/colors.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
def rgb_to_hsv (r,g,b,maxval=255):
if type(r)==int: r = r/float(maxval)
if type(g)==int: g = g/float(maxval)
Modified: trunk/gnome-sudoku/src/lib/dialog_swallower.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/dialog_swallower.py (original)
+++ trunk/gnome-sudoku/src/lib/dialog_swallower.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gobject
# Convenience library for a new kind of UI -- for e.g. this game, we
Modified: trunk/gnome-sudoku/src/lib/game_selector.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/game_selector.py (original)
+++ trunk/gnome-sudoku/src/lib/game_selector.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gobject, time
import sudoku, saver, sudoku_maker, random
from sudoku import DifficultyRating as DR
Modified: trunk/gnome-sudoku/src/lib/gnome_sudoku.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gnome_sudoku.py (original)
+++ trunk/gnome-sudoku/src/lib/gnome_sudoku.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import sys
# Ignore any exceptions writing to stdout using print statements
Modified: trunk/gnome-sudoku/src/lib/gsudoku.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gsudoku.py (original)
+++ trunk/gnome-sudoku/src/lib/gsudoku.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, cairo, pango, gobject
import colors
import math
Modified: trunk/gnome-sudoku/src/lib/gtk_goodies/Undo.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gtk_goodies/Undo.py (original)
+++ trunk/gnome-sudoku/src/lib/gtk_goodies/Undo.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, difflib,re
DEBUG=False
def debug (*args,**kwargs):
Modified: trunk/gnome-sudoku/src/lib/gtk_goodies/__init__.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gtk_goodies/__init__.py (original)
+++ trunk/gnome-sudoku/src/lib/gtk_goodies/__init__.py Sat Nov 8 02:51:52 2008
@@ -0,0 +1 @@
+# -*- coding: utf-8 -*-
Modified: trunk/gnome-sudoku/src/lib/gtk_goodies/dialog_extras.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gtk_goodies/dialog_extras.py (original)
+++ trunk/gnome-sudoku/src/lib/gtk_goodies/dialog_extras.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gobject, os.path
import re
import xml.sax.saxutils
Modified: trunk/gnome-sudoku/src/lib/gtk_goodies/gconf_wrapper.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gtk_goodies/gconf_wrapper.py (original)
+++ trunk/gnome-sudoku/src/lib/gtk_goodies/gconf_wrapper.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# GConf wrapper1
# COPIED VERBATIM FROM http://www.daa.com.au/pipermail/pygtk/2002-August/003220.html
# by Johan Dahlin
Modified: trunk/gnome-sudoku/src/lib/gtk_goodies/image_extras.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/gtk_goodies/image_extras.py (original)
+++ trunk/gnome-sudoku/src/lib/gtk_goodies/image_extras.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk
import string
import StringIO
Modified: trunk/gnome-sudoku/src/lib/main.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/main.py (original)
+++ trunk/gnome-sudoku/src/lib/main.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
try:
import pygtk
pygtk.require('2.0')
Modified: trunk/gnome-sudoku/src/lib/pausable.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/pausable.py (original)
+++ trunk/gnome-sudoku/src/lib/pausable.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import time
class MethodWrapper:
Modified: trunk/gnome-sudoku/src/lib/printing.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/printing.py (original)
+++ trunk/gnome-sudoku/src/lib/printing.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gnomeprint, gnomeprint.ui, math
import sudoku, gsudoku
from gettext import gettext as _
Modified: trunk/gnome-sudoku/src/lib/saver.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/saver.py (original)
+++ trunk/gnome-sudoku/src/lib/saver.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import pickle, types, os, os.path, sudoku, errno
from defaults import *
from gtk_goodies.dialog_extras import show_message
Modified: trunk/gnome-sudoku/src/lib/simple_debug.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/simple_debug.py (original)
+++ trunk/gnome-sudoku/src/lib/simple_debug.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import optparse
import defaults
Modified: trunk/gnome-sudoku/src/lib/sudoku.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/sudoku.py (original)
+++ trunk/gnome-sudoku/src/lib/sudoku.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# NOTE: We could also play in hexidecimal for kicks...
import random
import math
Modified: trunk/gnome-sudoku/src/lib/sudoku_generator_gui.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/sudoku_generator_gui.py (original)
+++ trunk/gnome-sudoku/src/lib/sudoku_generator_gui.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gtk.glade, gobject
import sudoku
from gtk_goodies import gconf_wrapper
Modified: trunk/gnome-sudoku/src/lib/sudoku_labeller.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/sudoku_labeller.py (original)
+++ trunk/gnome-sudoku/src/lib/sudoku_labeller.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import string
import sudoku
Modified: trunk/gnome-sudoku/src/lib/sudoku_maker.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/sudoku_maker.py (original)
+++ trunk/gnome-sudoku/src/lib/sudoku_maker.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import sys
import os, shutil
import os.path
Modified: trunk/gnome-sudoku/src/lib/sudoku_thumber.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/sudoku_thumber.py (original)
+++ trunk/gnome-sudoku/src/lib/sudoku_thumber.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import cairo
import pango
import gtk
Modified: trunk/gnome-sudoku/src/lib/timer.py
==============================================================================
--- trunk/gnome-sudoku/src/lib/timer.py (original)
+++ trunk/gnome-sudoku/src/lib/timer.py Sat Nov 8 02:51:52 2008
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
import gtk, gobject, gtk.glade
import os, os.path
import time
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]