Huge Updates
This commit is contained in:
1 parent
28f47aed3c
commit
1885a2dc30
30 files changed
+1421
-1260
No files matched your search
@@ -1,11 +1,11 @@
|
||||
import calendar
|
||||
from datetime import datetime
|
||||
import gi
|
||||
from snippets import MaterialIcon
|
||||
from fabric.widgets.label import Label
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib
|
||||
import snippets.iconss as icons
|
||||
|
||||
|
||||
class Calendar(Gtk.Box):
|
||||
@@ -27,7 +27,7 @@ class Calendar(Gtk.Box):
|
||||
|
||||
self.prev_month_button = Gtk.Button(
|
||||
name="prev-month-button",
|
||||
child=MaterialIcon("chevron_left"),
|
||||
child=Label(name="month-button-label", markup=icons.chevron_left)
|
||||
)
|
||||
self.prev_month_button.connect("clicked", self.on_prev_month_clicked)
|
||||
self.header.pack_start(self.prev_month_button, False, False, 0)
|
||||
@@ -37,7 +37,7 @@ class Calendar(Gtk.Box):
|
||||
|
||||
self.next_month_button = Gtk.Button(
|
||||
name="next-month-button",
|
||||
child=MaterialIcon("chevron_right"),
|
||||
child=Label(name="month-button-label", markup=icons.chevron_right)
|
||||
)
|
||||
self.next_month_button.connect("clicked", self.on_next_month_clicked)
|
||||
self.header.pack_start(self.next_month_button, False, False, 0)
|
||||
|
||||
Reference in new issue
Block a user