Skip to content

Commit

Permalink
remove default location
Browse files Browse the repository at this point in the history
  • Loading branch information
amit9838 committed Oct 10, 2024
1 parent 52a859c commit 7bc09fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/io.github.amit9838.mousam.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<schema id="io.github.amit9838.mousam" path="/io/github/amit9838/mousam/">

<key name="added-cities" type="as">
<default>['Delhi,India,28.6517178,77.2219388']</default>
<default>[]</default>
<summary>List of cities and their coordinates.</summary>
<description>Stores locations added by user in json stringified string format in string</description>
</key>
<key name="selected-city" type="s">
<default>"28.6517178,77.2219388"</default>
<default>""</default>
<summary>Selected city</summary>
<description>Selected city cords</description>
</key>
Expand Down
4 changes: 2 additions & 2 deletions src/mousam.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def show_welcome_screen(self):

container_welcome = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
container_welcome.set_margin_top(180)
container_welcome.set_margin_bottom(200)
container_welcome.set_margin_bottom(190)

icon_mousam = Gtk.Image().new_from_icon_name("io.github.amit9838.mousam")
icon_mousam.set_hexpand(True)
Expand All @@ -180,7 +180,7 @@ def show_welcome_screen(self):
container_welcome.append(welcome_label)

btn_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL,halign=Gtk.Align.CENTER)
btn_box.set_margin_top(20)
btn_box.set_margin_top(15)
add_loc_button = Gtk.Button(label="Add Location")
add_loc_button.connect("clicked", self._on_locations_clicked)
add_loc_button.set_css_classes(["pill"])
Expand Down

0 comments on commit 7bc09fe

Please sign in to comment.