Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Fixed expanding windows and hide luks password
Browse files Browse the repository at this point in the history
  • Loading branch information
faidoc committed Dec 2, 2013
1 parent 3c38d8b commit 1d6f0d8
Show file tree
Hide file tree
Showing 8 changed files with 279 additions and 221 deletions.
Binary file modified data/languages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions src/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,7 @@ def translate_ui(self, desktop):
"without any type of graphical interface. After the installation you can " \
"customize Antergos by installing packages with the command-line package manager.")
txt = "<span weight='bold'>Command-line system</span>\n" + txt

label.set_line_wrap(True)
label.set_justify(Gtk.Justification.FILL)
label.set_size_request(-1, 100)

label.set_markup(txt)

image.set_from_file(self.desktops_dir + desktop + ".png")
Expand Down
2 changes: 1 addition & 1 deletion src/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301, USA.

cnchi_VERSION = "0.4.2"
cnchi_VERSION = "0.4.3"
cnchi_LAST_STABLE = "0.4.1"
cnchi_WEBSITE = "http://www.antergos.com"
cnchi_AUTHORS = "faidoc, karasu, skinner, arcnexus, omelchek"
Expand Down
28 changes: 10 additions & 18 deletions ui/desktop.ui
Original file line number Diff line number Diff line change
@@ -1,38 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Sun Nov 3 16:36:16 2013 -->
<!-- Generated with glade 3.16.0 on Mon Dec 2 01:06:22 2013 -->
<interface>
<!-- interface-requires gtk+ 3.6 -->
<!-- interface-requires gtk+ 3.10 -->
<object class="GtkBox" id="desktop">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_top">10</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_right">20</property>
<property name="margin_top">10</property>
<property name="spacing">40</property>
<child>
<object class="GtkBox" id="box2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkEventBox" id="eventbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="width_request">150</property>
Expand Down Expand Up @@ -85,6 +71,8 @@
<object class="GtkImage" id="image_desktop">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="margin_left">20</property>
<property name="stock">gtk-missing-image</property>
</object>
<packing>
Expand All @@ -105,10 +93,14 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">20</property>
<property name="margin_right">20</property>
<property name="margin_right">10</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">label</property>
<property name="use_markup">True</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">85</property>
<property name="max_width_chars">85</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down
76 changes: 62 additions & 14 deletions ui/features.ui
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Tue Oct 29 22:19:31 2013 -->
<!-- Generated with glade 3.16.0 on Mon Dec 2 02:44:32 2013 -->
<interface>
<!-- interface-requires gtk+ 3.6 -->
<!-- interface-requires gtk+ 3.10 -->
<object class="GtkBox" id="features">
<property name="visible">True</property>
<property name="can_focus">False</property>
Expand All @@ -16,7 +16,7 @@
<object class="GtkImage" id="image_firewall">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">network-server</property>
</object>
Expand Down Expand Up @@ -54,6 +54,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Control the incoming and outgoing network traffic.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -73,7 +80,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -96,7 +104,7 @@
<object class="GtkImage" id="image_cups">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">printer</property>
</object>
Expand Down Expand Up @@ -134,6 +142,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Installation of printer drivers and management tools.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -153,7 +168,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -176,7 +192,7 @@
<object class="GtkImage" id="image_bluetooth">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">bluetooth</property>
</object>
Expand Down Expand Up @@ -214,6 +230,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Enables your system to make wireless connections via Bluetooth.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -233,7 +256,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -256,7 +280,7 @@
<object class="GtkImage" id="image_visual">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">video-display</property>
</object>
Expand Down Expand Up @@ -294,6 +318,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Enable 3D acceleration for transparency, shadows, and other desktop effects.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -313,7 +344,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -336,7 +368,7 @@
<object class="GtkImage" id="image_office">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">accessories-text-editor</property>
</object>
Expand Down Expand Up @@ -374,6 +406,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Open source office suite that supports editing MS Office files.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -393,7 +432,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -416,7 +456,7 @@
<object class="GtkImage" id="image_third_party">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">80</property>
<property name="margin_left">40</property>
<property name="pixel_size">48</property>
<property name="icon_name">system-software-update</property>
</object>
Expand Down Expand Up @@ -454,6 +494,13 @@
<property name="xalign">0</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">Third-party software to play Flash videos, MP3 audio, and other media.</property>
<property name="justify">fill</property>
<property name="wrap">True</property>
<property name="width_chars">50</property>
<property name="max_width_chars">50</property>
<attributes>
<attribute name="font-desc" value="Sans 8"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
Expand All @@ -473,7 +520,8 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="valign">center</property>
<property name="margin_right">80</property>
<property name="margin_left">90</property>
<property name="margin_right">20</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down
4 changes: 3 additions & 1 deletion ui/installation_automatic.ui
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Sun Nov 3 15:57:59 2013 -->
<!-- Generated with glade 3.16.0 on Mon Dec 2 02:52:36 2013 -->
<interface>
<!-- interface-requires gtk+ 3.10 -->
<object class="GtkBox" id="installation_automatic">
Expand Down Expand Up @@ -191,6 +191,7 @@ and click the button below to start the process.</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="margin_right">6</property>
<property name="visibility">False</property>
<property name="input_purpose">password</property>
<signal name="changed" handler="on_luks_password_changed" swapped="no"/>
</object>
Expand Down Expand Up @@ -229,6 +230,7 @@ and click the button below to start the process.</property>
<object class="GtkEntry" id="entry_luks_password_confirm">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="visibility">False</property>
<property name="input_purpose">password</property>
<signal name="changed" handler="on_luks_password_changed" swapped="no"/>
</object>
Expand Down
Loading

0 comments on commit 1d6f0d8

Please sign in to comment.