Commit Graph

45 Commits

Author SHA1 Message Date
860638ed98 Add function ag_app_buttoned_dialog()
This is required to create dialogs with more than one buttons, like Yes/No
dialogs.
2014-08-02 00:34:07 +02:00
1628a71f8b Remove URI from AgWindowPrivate 2014-07-31 21:22:44 +02:00
8533b2f887 Load chart list when opening a new window 2014-07-31 01:06:24 +02:00
36e89f3fe4 Create the GdMainView for the chart list
GdMainView doesn’t implement GtkBuildable yet, thus, it cannot be added
via the UI file.
2014-07-31 01:06:10 +02:00
b762d93ee2 Add license to About dialog 2014-07-12 11:07:45 +02:00
fa7a87dd76 Add artists section to the About dialog
Also remove documentors as it was empty
2014-07-12 11:07:33 +02:00
f63d42dee9 Minor code beautification 2014-07-12 11:06:46 +02:00
b6af9a9d96 Refactor all gtk_message_dialog() calls to ag_app_message_dialog() 2014-07-11 00:34:12 +02:00
4db1ecff96 Code beautification
Truncate long lines. This is not finished yet, though!
2014-07-10 23:47:39 +02:00
2af46ece40 Remove WebKitWebView creation from Glade
The Glade template cannot assign an already created WebKitWebViewGroup
to the WebKitWebView it creates. Thus we need to create it manuallp
2014-07-10 23:33:22 +02:00
b8cc90912d Load default chart CSS to AgApp’s private member, web_view_group
This will make sure at least one CSS is loaded for each web view created
later.
2014-07-10 23:24:33 +02:00
e6aa43cba7 Add class private to AgApp 2014-07-10 23:20:23 +02:00
165cf260c9 Add ag_app_message_dialog() to create multi-purpose message dialogs 2014-07-04 22:31:59 +02:00
5da0699607 Move resource files to resources/ directory
This is to make them more managable
2014-07-03 23:13:52 +02:00
20cc731289 Move view changing functionality from GtkStackSwitcher into a view menu 2014-07-03 14:08:51 +02:00
9e3b4400a9 Add type cast to ag_window_open_chart_tab() call 2014-07-02 23:02:39 +02:00
0cc6344c37 Change to chart view when opening an existing chart 2014-07-02 19:15:54 +02:00
b2cab90dcb Add preferences window with option to turn off maximized windows
This is very limited right now. See README.md for other options to
integrate here (and throughout the app).
2014-06-30 22:51:15 +02:00
1cee8bf38c Merge branch 'master' into settings 2014-06-30 18:16:47 +02:00
f744cb0150 Upgrade GLib dependency to 2.38 2014-06-30 14:12:27 +02:00
cc7aed38c1 Add GTK message dialogs instead of g_warning() calls.
This is to enhance UX. Fix #9
2014-03-30 17:52:57 +02:00
847e1c419e Change deprecated GTK stock items to actual values 2014-03-30 09:47:21 +02:00
096111684e Updated for SWE-GLib 2.0 API 2013-10-04 00:16:55 +02:00
8313b4c2a6 Added skeleton for the preferences code 2013-09-22 20:53:58 +02:00
5a1ff8cee9 Added Help on pressing F1
This still has many things to do. The help files must be improved,
and the help function must be made context-aware (the current show_help()
function is already context-aware).
2013-09-22 13:51:21 +02:00
ea3b038b57 Uncrustified sources
Also, added astrognome-uncrustify.cfg for later use
2013-09-21 18:37:27 +02:00
8ef33d3dec Added hotkeys for tab switching
The hotkeys are the same as in Placidus, as the original Astrognome didn't
have any.
2013-09-20 12:41:21 +02:00
e180603a6b Sanitized action callback function names 2013-09-20 10:58:12 +02:00
8407ffadd3 Moved run_action() and application_activate_cb() to ag-app.c 2013-09-20 10:23:02 +02:00
d26f9f5d8b ag_app_open_chart() now saves the URI of the opened chart to the created window 2013-09-18 10:40:17 +02:00
c921e29c4a Created a Save As... menu item 2013-09-18 10:09:32 +02:00
160339d888 Moved chart loading into ag_chart_load_from_file(), where it was intended to be 2013-09-18 10:05:24 +02:00
707e7395b0 Finished chart loading code 2013-09-17 22:25:10 +02:00
142f3b2374 Now correctly freeing xml variable in ag_app_open_chart() 2013-09-17 21:51:43 +02:00
ed14c5b092 Bug fix, added missing variable 2013-09-17 21:50:58 +02:00
60964c9f29 Bug fix for non-existing tags in the save file 2013-09-17 21:50:05 +02:00
8a0a87fa39 XML processing for chart open functionality is finished 2013-09-17 18:35:43 +02:00
d8f0fd60dd Created ag_app_open_chart()
It can open files from both the command line or the Open dialog
2013-09-17 14:53:37 +02:00
79815fc31d Created the Open dialog 2013-09-17 14:53:37 +02:00
72df6b944d Added Open/Save functionality to the menus 2013-09-17 14:53:37 +02:00
895e4f8c8b Added the skeleton of command-line opening
* It does nothing at the moment
* --help output already reflects the file opening possibility
2013-09-17 13:28:07 +02:00
fc5f8ef63a Created function ag_app_create_window() for file opening purposes 2013-09-17 13:26:16 +02:00
01595c0091 Changed variable name self to app in AgApp methods 2013-09-17 11:41:34 +02:00
cdcf486165 Now using AgWindow instead of a simple GtkActionWindow 2013-09-08 23:02:05 +02:00
20bb11bcb7 Created the wrapper application AgApp
AgApp is a subclass of GtkApplication, and is used to wrap around the
whole Astrognome application
2013-09-08 13:39:44 +02:00