Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
le5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Linux Educacional 5
le5
Commits
bc3abdc9
Commit
bc3abdc9
authored
Mar 08, 2013
by
Diego Pasqualin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove backup (*~) files
parent
f3dabd0a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
3947 deletions
+0
-3947
ubiquity-le/pacote/usr/lib/ubiquity/plugins/.ubi-partman.py.swp
...ty-le/pacote/usr/lib/ubiquity/plugins/.ubi-partman.py.swp
+0
-0
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-partman.py~
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-partman.py~
+0
-3017
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-usersetup.py~
...uity-le/pacote/usr/lib/ubiquity/plugins/ubi-usersetup.py~
+0
-863
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-webcam.py~
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-webcam.py~
+0
-67
No files found.
ubiquity-le/pacote/usr/lib/ubiquity/plugins/.ubi-partman.py.swp
deleted
100644 → 0
View file @
f3dabd0a
File deleted
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-partman.py~
deleted
100644 → 0
View file @
f3dabd0a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-usersetup.py~
deleted
100644 → 0
View file @
f3dabd0a
This diff is collapsed.
Click to expand it.
ubiquity-le/pacote/usr/lib/ubiquity/plugins/ubi-webcam.py~
deleted
100644 → 0
View file @
f3dabd0a
# -*- coding: utf-8; Mode: Python; indent-tabs-mode: nil; tab-width: 4 -*-
# Copyright (C) 2010 Canonical Ltd.
# Written by Evan Dandrea <evan.dandrea@canonical.com>
#
# 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 St, Fifth Floor, Boston, MA 02110-1301 USA
import os
import sys
from ubiquity import plugin
NAME = 'webcam'
AFTER = 'usersetup'
WEIGHT = 10
class PageGtk(plugin.PluginUI):
plugin_title = 'ubiquity/text/webcam_heading_label'
def __init__(self, controller, *args, **kwargs):
from gi.repository import Gtk, Gst
Gst.init(sys.argv)
from gi.repository import UbiquityWebcam
from ubiquity import gtkwidgets
if (not UbiquityWebcam.Webcam.available()
or 'UBIQUITY_AUTOMATIC' in os.environ
or controller.oem_config):
self.page = None
return
self.controller = controller
builder = Gtk.Builder()
self.controller.add_builder(builder)
builder.add_from_file(os.path.join(os.environ['UBIQUITY_GLADE'],
'stepWebcam.ui'))
builder.connect_signals(self)
self.page = builder.get_object('stepWebcam')
self.plugin_widgets = self.page
self.faceselector = gtkwidgets.FaceSelector(controller)
self.page.add(self.faceselector)
def plugin_get_current_page(self):
self.page.show_all()
self.faceselector.webcam_play()
return self.page
def plugin_on_back_clicked(self):
self.faceselector.webcam_stop()
return False
def plugin_on_next_clicked(self):
self.faceselector.webcam_stop()
self.faceselector.save_to('/var/lib/ubiquity/webcam_photo.png')
return False
def plugin_translate(self, lang):
self.faceselector.translate(lang)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment