Skip to content

Commit 60f9bcc

Browse files
committed
update
1 parent fea7bf8 commit 60f9bcc

File tree

18 files changed

+1499
-1179
lines changed

18 files changed

+1499
-1179
lines changed

usr/share/archlinux-tweak-tool/Functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ def copy_samba(choice):
17541754
# SAMBA EDIT
17551755
# =====================================================
17561756

1757-
def save_samba_config(self,widget):
1757+
def save_samba_config(self):
17581758
#create smb.conf if there is none?
17591759
if path.isfile(samba_config):
17601760
if not path.isfile(samba_config + ".bak"):

usr/share/archlinux-tweak-tool/GUI.py

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#============================================================
1+
# ============================================================
22
# Authors: Brad Heffernan - Erik Dubois - Cameron Percival
3-
#============================================================
3+
# ============================================================
44

55
# ============Functions============
66
import Functions as fn
@@ -51,6 +51,7 @@
5151
#import GTK_GUI
5252
#import SkelApp_GUI
5353

54+
5455
def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
5556

5657
#debug = True
@@ -179,8 +180,10 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
179180
ls.set_markup("<b>We believe you are on a system that uses systemd boot</b>\n\
180181
<b>Grub can not be used</b>")
181182

182-
install_arco_vimix = Gtk.Button(label="Install the grub Vimix theme and ATT will reboot automatically")
183-
install_arco_vimix.connect("clicked", self.on_click_install_arco_vimix_clicked)
183+
install_arco_vimix = Gtk.Button(
184+
label="Install the grub Vimix theme and ATT will reboot automatically")
185+
install_arco_vimix.connect(
186+
"clicked", self.on_click_install_arco_vimix_clicked)
184187
if fn.check_systemd_boot():
185188
vboxStack4.pack_start(ls, True, False, 0)
186189
else:
@@ -194,7 +197,8 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
194197
if debug:
195198
print("Login_GUI")
196199

197-
Login_GUI.GUI(self, Gtk, GdkPixbuf, vboxStack22, sddm, lightdm, lxdm, os, fn, login)
200+
Login_GUI.GUI(self, Gtk, GdkPixbuf, vboxStack22,
201+
sddm, lightdm, lxdm, os, fn, login)
198202

199203
# ==========================================================
200204
# MIRRORLIST ARCOLINUX
@@ -224,7 +228,6 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
224228
vboxStack16.pack_start(hbox41, False, False, 0)
225229
vboxStack16.pack_start(lbl2, True, False, 0)
226230

227-
228231
# # ==========================================================
229232
# # NEOFETCH
230233
# # ==========================================================
@@ -246,7 +249,8 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
246249
vboxStack8.pack_start(hbox31, False, False, 0)
247250
vboxStack8.pack_start(hbox41, False, False, 0)
248251
ls = Gtk.Label()
249-
ls.set_markup("If you install <b>Neofetch</b> and the <i>ArcoLinux themes</i> you can customize <b>Neofetch</b>")
252+
ls.set_markup(
253+
"If you install <b>Neofetch</b> and the <i>ArcoLinux themes</i> you can customize <b>Neofetch</b>")
250254
vboxStack8.pack_start(ls, True, False, 0)
251255

252256
# ==========================================================
@@ -277,15 +281,14 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
277281

278282
Services_GUI.GUI(self, Gtk, vboxStack14, fn)
279283

280-
281284
# ==========================================================
282285
# SHELLS
283286
# ==========================================================
284287

285288
if debug:
286289
print("Shell_GUI")
287290

288-
Shell_GUI.GUI(self, Gtk, vboxStack23, zsh_theme, base_dir,GdkPixbuf, fn)
291+
Shell_GUI.GUI(self, Gtk, vboxStack23, zsh_theme, base_dir, GdkPixbuf, fn)
289292

290293
# ==========================================================
291294
# TEMPLATE
@@ -300,7 +303,7 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
300303
if debug:
301304
print("Termite_GUI")
302305

303-
Termite_GUI.GUI(self, Gtk, vboxStack7, termite, GdkPixbuf, base_dir)
306+
Termite_GUI.GUI(self, Gtk, vboxStack7, termite)
304307

305308
# # ==========================================================
306309
# # TERMINAL FUN
@@ -309,7 +312,7 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
309312
if debug:
310313
print("Utilities_GUI")
311314

312-
Utilities_GUI.GUI(self, Gtk, GdkPixbuf, vboxStack20, fn)
315+
Utilities_GUI.GUI(self, Gtk, vboxStack20, fn)
313316

314317
# ==========================================================
315318
# THEMES
@@ -327,7 +330,7 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
327330
if debug:
328331
print("User_GUI")
329332

330-
User_GUI.GUI(self, Gtk, GdkPixbuf, vboxStack18, user, fn)
333+
User_GUI.GUI(self, Gtk, vboxStack18, user, fn)
331334

332335
# ==========================================================
333336
# ADD TO WINDOW
@@ -357,11 +360,12 @@ def GUI(self, Gtk, Gdk, GdkPixbuf, base_dir, os, Pango): # noqa
357360

358361
stack.add_titled(vboxStack23, "stack23", "Shells") # shell
359362

360-
#stack.add_titled(vboxStack21, "stack21", "Template") # template
363+
# stack.add_titled(vboxStack21, "stack21", "Template") # template
361364

362365
stack.add_titled(vboxStack7, "stack8", "Terminals") # Termite themes
363366

364-
stack.add_titled(vboxStack20, "stack20", "Terminal Fun") # lolcat and others
367+
stack.add_titled(vboxStack20, "stack20",
368+
"Terminal Fun") # lolcat and others
365369

366370
stack.add_titled(vboxStack10, "stack11", "Themes") # Theme changer
367371

@@ -394,13 +398,13 @@ def on_quit(self):
394398
lbl_distro = Gtk.Label(xalign=0)
395399
lbl_distro.set_markup("Working on\n" + fn.change_distro_label(fn.distr))
396400
btnReloadAtt = Gtk.Button(label="Reload ATT")
397-
btnReloadAtt.set_size_request(100,30)
401+
btnReloadAtt.set_size_request(100, 30)
398402
btnReloadAtt.connect('clicked', self.on_reload_att_clicked)
399403
btnReStartAtt = Gtk.Button(label="Restart ATT")
400-
btnReStartAtt.set_size_request(100,30)
404+
btnReStartAtt.set_size_request(100, 30)
401405
btnReStartAtt.connect('clicked', self.on_refresh_att_clicked)
402406
btnQuitAtt = Gtk.Button(label="Quit ATT")
403-
btnQuitAtt.set_size_request(100,30)
407+
btnQuitAtt.set_size_request(100, 30)
404408
btnQuitAtt.connect('clicked', on_quit)
405409

406410
# =====================================================

0 commit comments

Comments
 (0)