Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix:Minor

  • Loading branch information...
commit 7bcc159f1b89bae5b6dbf9337b69b7844d5b2206 1 parent 68f29f4
ABIL N GEORGE authored February 28, 2012
2  README
@@ -47,7 +47,7 @@ GNOME 2:" gconftool -s '/desktop/gnome/background/picture_filename' 'path\to\bac
47 47
 
48 48
 ------------------------------------------------------------------------------------------------------------------------
49 49
 
50  
-Gnome BAXC 1.01 also include graphical user interface.BAXC's GUI uses QT4 (PYQT4).
  50
+Gnome BAXC 2.00 also include graphical user interface.BAXC's GUI uses QT4 (PYQT4).
51 51
 Qt is license  under the terms of the GNU Lesser General Public License (LGPL) version 2.1
52 52
 PyQt is available under the following licenses.
53 53
    * GNU General Public License v2
32  gnome-baxc
... ...
@@ -0,0 +1,32 @@
  1
+#! /bin/bash
  2
+#
  3
+####################################################################################
  4
+#			BAXC--BAckground Xml Creater
  5
+#-----------------------------------------------------------------------------------
  6
+# 
  7
+# Generates xml code for background slide show of gnome.
  8
+#
  9
+#
  10
+# This program is free software; you can redistribute it and/or modify
  11
+# it under the terms of the GNU General Public License as published by
  12
+# the Free Software Foundation; either version 3 of the License, or
  13
+# (at your option) any later version.
  14
+
  15
+# This program is distributed in the hope that it will be useful,
  16
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
  17
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18
+# GNU General Public License for more details.
  19
+
  20
+# You should have received a copy of the GNU General Public License along
  21
+# with this program; if not, write to the Free Software Foundation, Inc.,
  22
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  23
+#Or see <http://www.gnu.org/licenses/>.
  24
+#
  25
+#Authors: Abil N George
  26
+####################################################################################
  27
+
  28
+#BAXC_HOME=src/
  29
+BAXC_HOME=/usr/share/gnome-baxc/
  30
+
  31
+/usr/bin/env python ${BAXC_HOME}/baxc.py "$@"
  32
+
12  install.sh
... ...
@@ -1,12 +1,12 @@
1 1
 #! /bin/sh
2 2
 #
3 3
 #
4  
-install --mode=755 -D baxc  /usr/share/gnome-baxc/gnome-baxc
5  
-install --mode=755 -D gui.py  /usr/share/gnome-baxc/gui.py
6  
-install --mode=755 -D imagepro.py  /usr/share/gnome-baxc/imagepro.py
7  
-install --mode=755 -D xmlmsg.py  /usr/share/gnome-baxc/xmlmsg.py
  4
+install --mode=755 -D src/baxc.py  /usr/share/gnome-baxc/baxc.py
  5
+install --mode=755 -D src/gui.py  /usr/share/gnome-baxc/gui.py
  6
+install --mode=755 -D src/imagepro.py  /usr/share/gnome-baxc/imagepro.py
  7
+install --mode=755 -D src/xmlmsg.py  /usr/share/gnome-baxc/xmlmsg.py
8 8
 install --mode=755 -D gnome-baxc.svg /usr/share/icons/hicolor/scalable/apps/gnome-baxc.svg
9  
-install -D Gnome-Baxc.desktop /usr/share/applications/Gnome-Baxc.desktop
10  
-cp -s  /usr/share/gnome-baxc/gnome-baxc  /usr/bin/gnome-baxc
  9
+install -D src/Gnome-Baxc.desktop /usr/share/applications/Gnome-Baxc.desktop
  10
+install --mode=755 -D gnome-baxc  /usr/bin/gnome-baxc
11 11
 xdg-icon-resource forceupdate --theme hicolor &>/dev/null
12 12
 update-desktop-database -q
0  Gnome-Baxc.desktop → src/Gnome-Baxc.desktop
File renamed without changes
4  baxc → src/baxc.py
... ...
@@ -1,5 +1,5 @@
1  
-#!/usr/bin/env python3.2
2  
-#-*-python-3.2-
  1
+#!/usr/bin/env python2.7
  2
+#-*-python-2.7-
3 3
 ####################################################################################
4 4
 #			BAXC--BAckground Xml Creater
5 5
 #-----------------------------------------------------------------------------------
11  gui.py → src/gui.py
... ...
@@ -1,13 +1,4 @@
1 1
 # -*- coding: utf-8 -*-
2  
-
3  
-# Form implementation generated from reading ui file 'untitled.ui'
4  
-#
5  
-# Created: Sat Dec 10 20:39:18 2011
6  
-#      by: PyQt4 UI code generator 4.8.6
7  
-#
8  
-# WARNING! All changes made in this file will be lost!
9  
-
10  
-
11 2
 import xmlmsg
12 3
 from PyQt4 import QtCore, QtGui
13 4
 from PyQt4.QtGui import QFileDialog
@@ -50,7 +41,7 @@ def setupUi(self,path):
50 41
 		self.pushButton_13 = QtGui.QPushButton(self.splitter_2)
51 42
 		self.pushButton_13.setText(QtGui.QApplication.translate("MainWindow", "Load images", None, QtGui.QApplication.UnicodeUTF8))
52 43
 		self.pushButton_15 = QtGui.QPushButton(self.splitter_2)
53  
-		self.pushButton_15.setText(QtGui.QApplication.translate("MainWindow", "Create XML", None, QtGui.QApplication.UnicodeUTF8))
  44
+		self.pushButton_15.setText(QtGui.QApplication.translate("MainWindow", "Set Background", None, QtGui.QApplication.UnicodeUTF8))
54 45
 		self.pushButton_14 = QtGui.QPushButton(self.splitter_2)
55 46
 		self.pushButton_14.setText(QtGui.QApplication.translate("MainWindow", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
56 47
 		self.gridLayout_8.addWidget(self.splitter_2, 2, 1, 1, 1)
12  imagepro.py → src/imagepro.py
@@ -18,13 +18,13 @@ def load(outfile):
18 18
 def close(outfile):
19 19
 	if image.count==0:
20 20
 		os.remove(outfile)
21  
-		print ('No jpg image on that dir(or u said \'not to add\')')
  21
+#		print ('No jpg image on that dir(or u said \'not to add\')')
22 22
 	else:
23 23
 		load(outfile)	
24  
-		print ('\n added'+str(image.count)+'image(s) \noutput file:'+outfile+'\n')
25  
-		print ('load(ed) file by \n')
26  
-		print ('GNOME 3:\" GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri \'file://'+outfile+'\' \"\n')
27  
-		print ('GNOME 2:\" gconftool -s \'/desktop/gnome/background/picture_filename\' \''+outfile+'\' -t string \"\n ')
  24
+#		print ('\n added'+str(image.count)+'image(s) \noutput file:'+outfile+'\n')
  25
+#		print ('load(ed) file by \n')
  26
+#		print ('GNOME 3:\" GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.background picture-uri \'file://'+outfile+'\' \"\n')
  27
+#		print ('GNOME 2:\" gconftool -s \'/desktop/gnome/background/picture_filename\' \''+outfile+'\' -t string \"\n ')
28 28
 
29 29
 
30 30
 
@@ -70,5 +70,3 @@ def askadd(i,action,path,ofile,x):
70 70
 	elif ask_ok('Add '+i+' ?:'):
71 71
 		add(i)
72 72
 
73  
-		
74  
-
0  xmlmsg.py → src/xmlmsg.py
File renamed without changes

0 notes on commit 7bcc159

Please sign in to comment.
Something went wrong with that request. Please try again.