Nick Treleaven
64942f3596
Try to fix Gtk warning when using Tools->Reload Configuration.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-19 13:29:30 +00:00
Enrico Tröger
d01a8f41d1
Only set the menu of the button if a non-empty GtkMenu is passed to geany_menu_button_action_set_menu() so the menu arrow keeps insensitive.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 19:13:45 +00:00
Nick Treleaven
02fabf16c2
Only use one 'New with template' submenu - reparent as needed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-01 14:40:42 +00:00
Enrico Tröger
8b5b6287e1
Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is saved within Geany.
...
Refactor some related code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:51:32 +00:00
Enrico Tröger
a95a59a42f
Remove all G_LIKELY macros inside g_return_if_fail() statements as this is redundant.
...
Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much sense to keep the code more readable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-15 22:47:33 +00:00
Enrico Tröger
a9dc990049
Start using G_LIKELY/G_UNLIKELY macros to gain a little more performance when building the code with gcc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:07:40 +00:00
Enrico Tröger
4daa599478
Use the G_DEFINE_TYPE() macro to generate the *_get_type() code.
...
Remove useless geany_object_finalize() function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3549 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-05 19:04:54 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Enrico Tröger
8ed9710f48
Rewrite of the whole toolbar code. Now it is based on GtkActions and all elements can be added/removed/reordered using a simple XML file.
...
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 11:10:06 +00:00