forked from teejee2008/conky-manager
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3af59ee
commit ea33e63
Showing
13 changed files
with
137 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ installer/amd64 | |
installer/i386 | ||
installer/*.deb | ||
installer/*.run | ||
designs/ | ||
.git/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
src/conky-manager | ||
installer/amd64 | ||
installer/i386 | ||
installer/*.deb | ||
installer/*.run | ||
designs/ | ||
.bzr/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# SOME DESCRIPTIVE TITLE. | ||
# Copyright (C) YEAR Tony George ([email protected]) | ||
# This file is distributed under the same license as the PACKAGE package. | ||
# This file is distributed under the same license as the conky-manager package. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: conky-manager 2.0\n" | ||
"Report-Msgid-Bugs-To: [email protected]\n" | ||
"POT-Creation-Date: 2015-10-21 18:29+0530\n" | ||
"POT-Creation-Date: 2017-03-24 22:33+0530\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
backup=`pwd` | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
cd "$DIR" | ||
|
||
echo "Adding Git origin..." | ||
git remote add origin [email protected]:teejee2008/conky-manager.git | ||
|
||
#check for errors | ||
if [ $? -ne 0 ]; then | ||
cd "$backup" | ||
echo "Failed" | ||
exit 1 | ||
fi | ||
|
||
cd "$backup" | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
backup=`pwd` | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
cd "$DIR" | ||
|
||
echo "Re-initializing Git repo and pushing changes..." | ||
git push --force --set-upstream origin master | ||
|
||
#check for errors | ||
if [ $? -ne 0 ]; then | ||
cd "$backup" | ||
echo "Failed" | ||
exit 1 | ||
fi | ||
|
||
cd "$backup" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
|
||
backup=`pwd` | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
cd "$DIR" | ||
|
||
echo "Pushing local changes to Git repo..." | ||
git push -u origin master | ||
|
||
#check for errors | ||
if [ $? -ne 0 ]; then | ||
cd "$backup" | ||
echo "Failed" | ||
exit 1 | ||
fi | ||
|
||
cd "$backup" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
backup=`pwd` | ||
DIR="$( cd "$( dirname "$0" )" && pwd )" | ||
cd "$DIR" | ||
|
||
echo "Updating local Git repo..." | ||
bzr fast-export --plain . | git fast-import | ||
|
||
#check for errors | ||
if [ $? -ne 0 ]; then | ||
cd "$backup" | ||
echo "Failed" | ||
exit 1 | ||
fi | ||
|
||
cd "$backup" | ||
|
||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
grep -n --color=always -R TODO src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* XidHelper.vala | ||
* | ||
* Copyright 2016 Tony George <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
* MA 02110-1301, USA. | ||
* | ||
* | ||
*/ | ||
|
||
|
||
/* | ||
This code needs to be in a separate .vala file to avoid build errors with the vala compiler | ||
*/ | ||
|
||
using Gtk; | ||
|
||
public uint get_widget_xid(Gtk.Widget widget){ | ||
return (uint) (((Gdk.X11.Window) widget.get_window()).get_xid()); | ||
} |