software-store-developers team mailing list archive
-
software-store-developers team
-
Mailing list archive
-
Message #00102
USC Gtk3 progress
So at the moment i have things arranged something like this within ui/gtk3:
panes/
panes/views
panes/views/widgets
dialogs/
models/
session/ <-- i put navhistory and viewmanager in here ... this could be
higher up say, softwarecenter.session, could be a common location that ui
code could call to to be aware of the state of the application. Even
netstatus.py could live in such a location?
Perhaps panes, views and widgets could be flattened, say:
panes/
views/
widgets/
dialogs/
models/
session/
Matt
On Thu, Jun 23, 2011 at 10:30 PM, Aaron Peachey <alpeachey@xxxxxxxxx> wrote:
> On Thu, Jun 23, 2011 at 8:16 PM, Matthew McGowan
> <matthew.joseph.mcgowan@xxxxxxxxx> wrote:
> > But now the import paths get a bit too long for my liking. Keen to hear
> > ideas on how this can be improved.
> >
> I'm not concerned about a little extra in the import paths, especially
> if the structure is logical it can actually make it a bit clearer to
> look at the imports and see what 'department' each module or name is
> coming from.
>
> HTH
> Aaron
>
--
>From the mind of me!
--
>From the mind of me!
References