| Age | Commit message (Collapse) | Author | Files | Lines |
|
This in turn emits an 'activate' signal that any applet can connect to
and perform whatever action it means to activate in that applet.
This allows users to control certain applet functionalities through
DBus, like registering new keybindings, or integrating them with other
software.
|
|
|
|
We need to check the existence of dconf-editor's GSettings schema before
using it, because the program will abort if dconf-editor is not installed
on the system when it tries to access it.
|
|
Mostly found by cppcheck.
origin commit was:
https://github.com/mate-desktop/mate-panel/commit/96c7ebc
|
|
This reverts commit 96c7ebc6dc9e8b8327db04a9570054ee78743353.
|
|
*Fix the window list menu replacing the panel context menu between the end of the window list and the next applet
|
|
|
|
Mostly found by cppcheck.
|
|
- Build the list in reverse order, then reverse the result. This is
useful because GS?List are list nodes, not containers of nodes, and
thus don't contain a pointer to the list's end, meaning to append one
has to walk the entire list to find the end each time. To avoid this
we use the common idiom of prepending to the list (which is cheap, as
it's adding a node before the given one), and then reversing the
resulting list to get back the original order.
- Avoid unnecessary memory copy by stealing the GStrv's members. We
get the array as a copy, so we can simply steal the members and free
the container array only, saving a copy for each member.
|
|
* There is only one screen in GTK 3.22 or later
* Finding the screen from that used by GtkPanelPlug is out of process only
* Any in-process applet calling mate_panel_applet_request_focus needs this to avoid a segfault
* One known user: dictionary applet
|
|
With gettext-0.22 we are getting build errors like:
/usr/bin/msgfmt --desktop --keyword Name --keyword Description --template org.mate.panel.TestApplet.mate-panel-applet.desktop.in -d ../po -o org.mate.panel.TestApplet.mate-panel-applet
/usr/bin/msgfmt: no input file should be given if --desktop and -d are specified
Try '/usr/bin/msgfmt --help' for more information.
make[3]: *** [Makefile:1035: org.mate.panel.TestApplet.mate-panel-applet] Error 1
make[3]: *** Waiting for unfinished jobs....
Bug: https://bugs.gentoo.org/908877
Signed-off-by: Brahmajit Das <[email protected]>
|
|
* tell dconf-edit about relocatable schemas
* self fix for incorrect and duplicated records
remove duplicated schemas for currect path
remove incorrect schemas for current path
* remove clock applet hack
* expose mate_panel_applet_settings_new to introspection
add "transfer full" annotation to make this method available throught
introspection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as proposed by @mbkma
|
|
cppcheck --enable=all . 2> err.txt
grep variableScope err.txt
|
|
And use stack-allocated GVariantBuilder for temporary storage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Currently installing mate-panel fails with the error
/bin/mkdir -p '/usr/share/gir-1.0'
/usr/bin/install -c -m 644 MatePanelApplet-4.0.gir '/usr/share/gir-1.0'
/usr/bin/install: cannot create regular file '/usr/share/gir-1.0/MatePanelApplet-4.0.gir': Permission denied
when configure is called with the --prefix option.
This fix is the same used in:
* caja (libcaja-extension/Makefile.am)
* eom (src/Makefile.am)
* libmatekbd (libmatekbd/Makefile.am)
* mate-desktop (libmate-desktop/Makefile.am)
* pluma (pluma/Makefile.am)
|
|
|
|
Do not open the context menu on tab-or on anything but the menu key. Note that Return must be used by some applets (e.g. the clock) for something else
|
|
|
|
We need this for future porting of tray icons to standalone applets as replacements dfor gtk_menu_popup emit a "popped-up" signal when the menu is showing
Based on gnome-panel commit github.com/GNOME/gnome-panel/commit/8e6e2847eca002499e862e9ae85bbc4c16b601fa
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is for the tray: GtkPlug/GtkSocket widgets are used to embed tray icons (GtkStatusIcons) in the tray even if the tray is in-process and does not use the plug/socket widgets to be itself embedded in the panel
|
|
Limit workaround for GTK 3.22 double width/height allocation to GTK 3.22 builds only
|