1
0
mirror of https://github.com/GNOME/gedit synced 2024-06-30 23:15:01 +00:00
Commit Graph

13569 Commits

Author SHA1 Message Date
Sébastien Wilmet
2194abbcbb Window: side/bottom panel: small code improvements 2024-03-26 21:28:19 +01:00
Sébastien Wilmet
fe25dbb62a Window: remove old comment 2024-03-26 21:04:23 +01:00
Sébastien Wilmet
e8e9955f2b Window: minor change: regroup related struct fields 2024-03-26 21:02:08 +01:00
Sébastien Wilmet
b002484725 Window: bug fix, bottom panel: better handle item removals
1. Only *hide* the bottom panel, do not *show* it when an item is
   removed (an item is removed usually because a plugin is deactivated).
2. And hide when the bottom panel becomes empty.
2024-03-26 19:56:47 +01:00
Sébastien Wilmet
36c37ebcab Side/BottomPanel: copy remaining setting 2024-03-26 19:49:12 +01:00
Sébastien Wilmet
2782646d3a Side/BottomPanel: copy more settings 2024-03-26 19:38:20 +01:00
Sébastien Wilmet
bfb22931c8 Side/BottomPanel: add copy_settings() functions 2024-03-26 17:08:21 +01:00
Sébastien Wilmet
674baf23aa Side/BottomPanel: init sizes 2024-03-26 16:57:09 +01:00
Sébastien Wilmet
c7f40377f0 Side/BottomPanel: simplify save_state() functions 2024-03-26 16:10:02 +01:00
Sébastien Wilmet
aadb80bd2b Window: use Side/BottomPanel get/set size functions 2024-03-26 16:03:11 +01:00
Sébastien Wilmet
008f7d5b61 BottomPanel: add get/set_height()
Same comment as previous commit.
2024-03-26 15:51:57 +01:00
Sébastien Wilmet
5ae1e8620f SidePanel: add get/set_width()
It should be temporary, it's a first step to delegate more work from
GeditWindow to GeditSidePanel.
2024-03-26 15:47:32 +01:00
Sébastien Wilmet
cbb03a1d87 Window: have one less instance variable, editor_settings 2024-03-26 12:37:09 +01:00
Sébastien Wilmet
fd3164eab5 Document: API docs: list functions in a more logical order 2024-03-25 14:32:44 +01:00
Sébastien Wilmet
598df936cc Document: API docs: refer to the property in getter functions 2024-03-25 14:28:15 +01:00
Sébastien Wilmet
a1abc823f6 Document: API docs: improve the signals docs 2024-03-25 14:25:21 +01:00
Sébastien Wilmet
1431e9c8ad Document: API docs: improve the functions docs 2024-03-25 14:00:43 +01:00
Sébastien Wilmet
792d7b00d8 Document: reformat the header 2024-03-25 13:38:28 +01:00
Sébastien Wilmet
c7c2456bf7 Tab: remove the ::drop-uris signal 2024-03-25 07:51:15 +01:00
Sébastien Wilmet
fabf1b1490 Window: connect to GeditView's ::drop-uris signal, not GeditTab's
GeditTab anyway just re-sends the same signal coming from GeditView.
2024-03-25 07:38:39 +01:00
Sébastien Wilmet
5302779cc3 Tab: small code improvement for properties and signals 2024-03-25 07:27:26 +01:00
Sébastien Wilmet
28b4addad8 View: API docs: small improvement 2024-03-25 07:19:42 +01:00
Sébastien Wilmet
cda911e754 Tab: API docs: improve a little the properties docs 2024-03-25 07:09:51 +01:00
Sébastien Wilmet
2941f54249 Tab: deprecate the :name property 2024-03-25 06:58:32 +01:00
Sébastien Wilmet
e139afe5d0 Tab: API docs: write GTK-Doc comments for the properties 2024-03-24 21:10:51 +01:00
Sébastien Wilmet
991a3ea568 Tab: API docs: a pass of improvements 2024-03-24 20:45:17 +01:00
Sébastien Wilmet
f4a9fc920f Window: API docs: document remaining signals 2024-03-24 18:17:32 +01:00
Sébastien Wilmet
9d1d5a50cc Window: reformat header
This removes the comments documenting briefly some public functions,
because the functions are already documented with gtk-doc comments in
the *.c file.

The G_GNUC_INTERNAL macro is also added.
2024-03-24 12:58:11 +01:00
Sébastien Wilmet
a4d30a3a2a Window: remove the ::tabs-reordered signal (unused) 2024-03-24 03:07:11 +01:00
Sébastien Wilmet
31b6bfc9b1 Window: API docs: start to document the ::tab-removed signal 2024-03-23 13:39:44 +01:00
Sébastien Wilmet
9c89bd3c3f Window: remove the ::active-tab-state-changed signal 2024-03-23 12:58:31 +01:00
Sébastien Wilmet
cdff029a71 Window: API docs: better document the GeditWindowState enum 2024-03-23 12:14:21 +01:00
Sébastien Wilmet
075e0f905a Window: API docs: re-order the functions 2024-03-23 11:56:54 +01:00
Sébastien Wilmet
0763bec976 Window: improve the API docs 2024-03-22 19:36:11 +01:00
Sébastien Wilmet
5a6856e4cf docs: write class descriptions for all the main classes 2024-03-22 17:29:39 +01:00
Sébastien Wilmet
d5a89e48f8 docs: split API Reference into two chapters 2024-03-22 16:28:11 +01:00
Sébastien Wilmet
f83ae5e7d8 NEWS file: write all new news so far 2024-03-22 16:09:06 +01:00
Sébastien Wilmet
3cd16c3bca App: improve a little the show_help() function 2024-03-22 15:15:14 +01:00
Sébastien Wilmet
2aed53e51c App: small docs enhancements 2024-03-22 15:07:17 +01:00
Sébastien Wilmet
cd79b9f369 App: make process_window_event() private 2024-03-22 14:58:19 +01:00
Sébastien Wilmet
f09a5fa4ee App: improve docs
- Add a class description.
- More logical function order.
2024-03-22 14:43:25 +01:00
Sébastien Wilmet
2010ee45d7 App: make set_window_title() private
And reformat the headers while at it.
2024-03-22 14:30:24 +01:00
Sébastien Wilmet
9cf0cfe437 Tab: start to document the GeditTabState enum 2024-03-22 13:30:25 +01:00
Sébastien Wilmet
16b637a454 commands-file: use _gedit_window_get_can_close()
Remove the g_return in file_close_all() because it's a static function
and the condition is already checked before all calls to it.
2024-03-21 20:47:20 +01:00
Sébastien Wilmet
aa6eea9f69 Window: start to document the GeditWindowState enum
This fixes a compilation warning when building the docs.

It will be easier to improve this documentation since the boilerplate is
now present.
2024-03-21 20:20:59 +01:00
Sébastien Wilmet
6bf531453a App: use _gedit_window_get_can_close()
And improve a little the surrounding code.
2024-03-21 20:06:13 +01:00
Sébastien Wilmet
4737d39e88 Window: add get_can_close() private function 2024-03-21 19:55:27 +01:00
Sébastien Wilmet
95daea6699 commands-file: quit(): minor coding style changes 2024-03-21 17:58:48 +01:00
Sébastien Wilmet
03ca27835c commands-file: split the quit() function in two 2024-03-21 17:44:08 +01:00
Sébastien Wilmet
d630a4e48f commands-file: change signature of quit()
Small simplification.

The function probably needs to be split in two, but this can be done as
a further commit.
2024-03-21 16:13:23 +01:00