-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove explicit namespace where unnecessary
- Loading branch information
Jeremy Wootten
authored and
Jeremy Wootten
committed
Oct 18, 2024
1 parent
df33e72
commit aedbafa
Showing
9 changed files
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ | |
* Authors : Jeremy Wootten <[email protected]> | ||
*/ | ||
|
||
public class Files.Sidebar.BookmarkListBox : Gtk.Box, Sidebar.SidebarListInterface { | ||
public Files.Sidebar.SidebarInterface sidebar { get; set construct; } | ||
public class Files.Sidebar.BookmarkListBox : Gtk.Box, SidebarListInterface { | ||
public SidebarInterface sidebar { get; set construct; } | ||
public Gtk.ListBox list_box { get; set construct; } | ||
|
||
private Files.BookmarkList bookmark_list; | ||
private unowned Files.TrashMonitor trash_monitor; | ||
|
||
public BookmarkListBox (Files.Sidebar.SidebarInterface sidebar) { | ||
public BookmarkListBox (SidebarInterface sidebar) { | ||
Object (sidebar: sidebar); | ||
} | ||
|
||
|
@@ -88,7 +88,7 @@ public class Files.Sidebar.BookmarkListBox : Gtk.Box, Sidebar.SidebarListInterfa | |
return row; | ||
} | ||
|
||
public override uint32 add_plugin_item (Files.Sidebar.SidebarPluginItem plugin_item) { | ||
public override uint32 add_plugin_item (SidebarPluginItem plugin_item) { | ||
var row = add_bookmark (plugin_item.name, | ||
plugin_item.uri, | ||
plugin_item.icon, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,13 +20,13 @@ | |
* Authors : Jeremy Wootten <[email protected]> | ||
*/ | ||
|
||
public class Files.Sidebar.DeviceListBox : Gtk.Box, Sidebar.SidebarListInterface { | ||
public Files.Sidebar.SidebarInterface sidebar { get; set construct; } | ||
public class Files.Sidebar.DeviceListBox : Gtk.Box, SidebarListInterface { | ||
public SidebarInterface sidebar { get; set construct; } | ||
public Gtk.ListBox list_box { get; set construct; } | ||
|
||
private VolumeMonitor volume_monitor; | ||
|
||
public DeviceListBox (Files.Sidebar.SidebarInterface sidebar) { | ||
public DeviceListBox (SidebarInterface sidebar) { | ||
Object (sidebar: sidebar); | ||
} | ||
|
||
|
@@ -122,7 +122,7 @@ public class Files.Sidebar.DeviceListBox : Gtk.Box, Sidebar.SidebarListInterface | |
return bm; // Should not be null (either an existing bookmark or a new one) | ||
} | ||
|
||
public override uint32 add_plugin_item (Files.Sidebar.SidebarPluginItem plugin_item) { | ||
public override uint32 add_plugin_item (SidebarPluginItem plugin_item) { | ||
var row = add_bookmark (plugin_item.name, | ||
plugin_item.uri, | ||
plugin_item.icon, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ | |
* Authors : Jeremy Wootten <[email protected]> | ||
*/ | ||
|
||
public class Files.Sidebar.NetworkListBox : Gtk.Box, Sidebar.SidebarListInterface { | ||
public Files.Sidebar.SidebarInterface sidebar { get; set construct; } | ||
public class Files.Sidebar.NetworkListBox : Gtk.Box, SidebarListInterface { | ||
public SidebarInterface sidebar { get; set construct; } | ||
public Gtk.ListBox list_box { get; set construct; } | ||
|
||
public NetworkListBox (Files.Sidebar.SidebarInterface sidebar) { | ||
public NetworkListBox (SidebarInterface sidebar) { | ||
Object (sidebar: sidebar); | ||
} | ||
|
||
|
@@ -82,7 +82,7 @@ public class Files.Sidebar.NetworkListBox : Gtk.Box, Sidebar.SidebarListInterfac | |
return (BookmarkRow) row; | ||
} | ||
|
||
public override uint32 add_plugin_item (Files.Sidebar.SidebarPluginItem plugin_item) { | ||
public override uint32 add_plugin_item (SidebarPluginItem plugin_item) { | ||
var row = add_bookmark (plugin_item.name, | ||
plugin_item.uri, | ||
plugin_item.icon, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
* Authors : Jeremy Wootten <[email protected]> | ||
*/ | ||
|
||
public class Files.Sidebar.NetworkRow : Sidebar.VolumelessMountRow { | ||
public class Files.Sidebar.NetworkRow : VolumelessMountRow { | ||
public NetworkRow (string name, string uri, Icon gicon, SidebarListInterface list, | ||
bool pinned, bool permanent, | ||
string? _uuid, Mount? _mount) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters