forked from AuroraMiddleware/gtk
Update references to master in the repository
This commit is contained in:
parent
3ba6d2bd27
commit
ddd5704c92
@ -221,11 +221,11 @@ vs2017-x64:
|
|||||||
extends: .flatpak-defaults
|
extends: .flatpak-defaults
|
||||||
when: manual
|
when: manual
|
||||||
|
|
||||||
# Only build Flatpak bundles automatically on master
|
# Only build Flatpak bundles automatically on main
|
||||||
.flatpak-master:
|
.flatpak-main:
|
||||||
extends: .flatpak-defaults
|
extends: .flatpak-defaults
|
||||||
only:
|
only:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
flatpak-manual:demo:
|
flatpak-manual:demo:
|
||||||
extends: .flatpak-manual
|
extends: .flatpak-manual
|
||||||
@ -233,8 +233,8 @@ flatpak-manual:demo:
|
|||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.Demo4
|
APPID: org.gtk.Demo4
|
||||||
|
|
||||||
flatpak-master:demo:
|
flatpak-main:demo:
|
||||||
extends: .flatpak-master
|
extends: .flatpak-main
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.Demo4
|
APPID: org.gtk.Demo4
|
||||||
@ -245,8 +245,8 @@ flatpak-manual:widget-factory:
|
|||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.WidgetFactory4
|
APPID: org.gtk.WidgetFactory4
|
||||||
|
|
||||||
flatpak-master:widget-factory:
|
flatpak-main:widget-factory:
|
||||||
extends: .flatpak-master
|
extends: .flatpak-main
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.WidgetFactory4
|
APPID: org.gtk.WidgetFactory4
|
||||||
@ -257,8 +257,8 @@ flatpak-manual:icon-browser:
|
|||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.IconBrowser4
|
APPID: org.gtk.IconBrowser4
|
||||||
|
|
||||||
flatpak-master:icon-browser:
|
flatpak-main:icon-browser:
|
||||||
extends: .flatpak-master
|
extends: .flatpak-main
|
||||||
needs: []
|
needs: []
|
||||||
variables:
|
variables:
|
||||||
APPID: org.gtk.IconBrowser4
|
APPID: org.gtk.IconBrowser4
|
||||||
@ -268,18 +268,18 @@ flatpak-master:icon-browser:
|
|||||||
# https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak
|
# https://gitlab.gnome.org/GNOME/Initiatives/-/wikis/DevOps-with-Flatpak
|
||||||
nightly demo:
|
nightly demo:
|
||||||
extends: '.publish_nightly'
|
extends: '.publish_nightly'
|
||||||
dependencies: ['flatpak-master:demo']
|
dependencies: ['flatpak-main:demo']
|
||||||
needs: ['flatpak-master:demo']
|
needs: ['flatpak-main:demo']
|
||||||
|
|
||||||
nightly factory:
|
nightly factory:
|
||||||
extends: '.publish_nightly'
|
extends: '.publish_nightly'
|
||||||
dependencies: ['flatpak-master:widget-factory']
|
dependencies: ['flatpak-main:widget-factory']
|
||||||
needs: ['flatpak-master:widget-factory']
|
needs: ['flatpak-main:widget-factory']
|
||||||
|
|
||||||
nightly icon-browser:
|
nightly icon-browser:
|
||||||
extends: '.publish_nightly'
|
extends: '.publish_nightly'
|
||||||
dependencies: ['flatpak-master:icon-browser']
|
dependencies: ['flatpak-main:icon-browser']
|
||||||
needs: ['flatpak-master:icon-browser']
|
needs: ['flatpak-main:icon-browser']
|
||||||
|
|
||||||
static-scan:
|
static-scan:
|
||||||
image: $FEDORA_IMAGE
|
image: $FEDORA_IMAGE
|
||||||
@ -346,4 +346,4 @@ publish-docs:
|
|||||||
- "curl -X POST -F token=${PAGES_TRIGGER_TOKEN} -F ref=docs-gtk-org https://gitlab.gnome.org/api/v4/projects/665/trigger/pipeline"
|
- "curl -X POST -F token=${PAGES_TRIGGER_TOKEN} -F ref=docs-gtk-org https://gitlab.gnome.org/api/v4/projects/665/trigger/pipeline"
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- master
|
- main
|
||||||
|
@ -43,6 +43,6 @@ flatpak build-bundle \
|
|||||||
${appid}
|
${appid}
|
||||||
|
|
||||||
# to be consumed by the nightly publish jobs
|
# to be consumed by the nightly publish jobs
|
||||||
if [[ $CI_COMMIT_BRANCH == master ]]; then
|
if [[ $CI_COMMIT_BRANCH == main ]]; then
|
||||||
tar cf repo.tar ${repodir}
|
tar cf repo.tar ${repodir}
|
||||||
fi
|
fi
|
||||||
|
@ -268,7 +268,7 @@ aparser.add_argument('--job-id', metavar='ID',
|
|||||||
default=None)
|
default=None)
|
||||||
aparser.add_argument('--branch', metavar='NAME',
|
aparser.add_argument('--branch', metavar='NAME',
|
||||||
help='Branch of the project being tested',
|
help='Branch of the project being tested',
|
||||||
default='master')
|
default='main')
|
||||||
aparser.add_argument('--output', metavar='FILE',
|
aparser.add_argument('--output', metavar='FILE',
|
||||||
help='The output HTML file, stdout by default',
|
help='The output HTML file, stdout by default',
|
||||||
type=argparse.FileType('w', encoding='UTF-8'),
|
type=argparse.FileType('w', encoding='UTF-8'),
|
||||||
|
@ -27,7 +27,7 @@ aparser.add_argument('--job-id', metavar='ID',
|
|||||||
default='Unknown')
|
default='Unknown')
|
||||||
aparser.add_argument('--branch', metavar='NAME',
|
aparser.add_argument('--branch', metavar='NAME',
|
||||||
help='Branch of the project being tested',
|
help='Branch of the project being tested',
|
||||||
default='master')
|
default='main')
|
||||||
aparser.add_argument('--output', metavar='FILE',
|
aparser.add_argument('--output', metavar='FILE',
|
||||||
help='The output file, stdout by default',
|
help='The output file, stdout by default',
|
||||||
type=argparse.FileType('w', encoding='UTF-8'),
|
type=argparse.FileType('w', encoding='UTF-8'),
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# We need to add a new remote for the upstream master, since this script could
|
# We need to add a new remote for the upstream main, since this script could
|
||||||
# be running in a personal fork of the repository which has out of date branches.
|
# be running in a personal fork of the repository which has out of date branches.
|
||||||
if [ "${CI_PROJECT_NAMESPACE}" != "GNOME" ]; then
|
if [ "${CI_PROJECT_NAMESPACE}" != "GNOME" ]; then
|
||||||
echo "Retrieving the current upstream repository from ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}..."
|
echo "Retrieving the current upstream repository from ${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}..."
|
||||||
@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
# Work out the newest common ancestor between the detached HEAD that this CI job
|
# Work out the newest common ancestor between the detached HEAD that this CI job
|
||||||
# has checked out, and the upstream target branch (which will typically be
|
# has checked out, and the upstream target branch (which will typically be
|
||||||
# `upstream/master` or `upstream/gtk-3-24`).
|
# `upstream/main` or `upstream/gtk-3-24`).
|
||||||
#
|
#
|
||||||
# `${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}` is only defined if we’re running in
|
# `${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}` is only defined if we’re running in
|
||||||
# a merge request pipeline; fall back to `${CI_DEFAULT_BRANCH}` otherwise.
|
# a merge request pipeline; fall back to `${CI_DEFAULT_BRANCH}` otherwise.
|
||||||
@ -36,7 +36,7 @@ exit_status=$?
|
|||||||
echo ""
|
echo ""
|
||||||
echo "Note that clang-format output is advisory and cannot always match the"
|
echo "Note that clang-format output is advisory and cannot always match the"
|
||||||
echo "GTK coding style, documented at:"
|
echo "GTK coding style, documented at:"
|
||||||
echo " https://gitlab.gnome.org/GNOME/gtk/blob/master/docs/CODING-STYLE"
|
echo " https://gitlab.gnome.org/GNOME/gtk/blob/main/docs/CODING-STYLE"
|
||||||
echo "Warnings from this tool can be ignored in favour of the documented "
|
echo "Warnings from this tool can be ignored in favour of the documented "
|
||||||
echo "coding style, or in favour of matching the style of existing"
|
echo "coding style, or in favour of matching the style of existing"
|
||||||
echo "surrounding code."
|
echo "surrounding code."
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
Please, read the CONTRIBUTING.md guide on how to file a new issue.
|
Please, read the CONTRIBUTING.md guide on how to file a new issue.
|
||||||
|
|
||||||
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/CONTRIBUTING.md
|
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/CONTRIBUTING.md
|
||||||
-->
|
-->
|
||||||
## Steps to reproduce
|
## Steps to reproduce
|
||||||
<!--
|
<!--
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
Please, read the CONTRIBUTING.md guide on how to file a new issue.
|
Please, read the CONTRIBUTING.md guide on how to file a new issue.
|
||||||
|
|
||||||
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/CONTRIBUTING.md
|
https://gitlab.gnome.org/GNOME/gtk/-/blob/main/CONTRIBUTING.md
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## Steps to reproduce
|
## Steps to reproduce
|
||||||
|
@ -256,7 +256,7 @@ people committing to GTK to follow a few rules:
|
|||||||
0. Always write a meaningful commit message. Changes without a sufficient
|
0. Always write a meaningful commit message. Changes without a sufficient
|
||||||
commit message will be reverted.
|
commit message will be reverted.
|
||||||
|
|
||||||
0. Never push to the `master` branch, or any stable branches, directly; you
|
0. Never push to the `main` branch, or any stable branches, directly; you
|
||||||
should always go through a merge request, to ensure that the code is
|
should always go through a merge request, to ensure that the code is
|
||||||
tested on the CI infrastructure at the very least. A merge request is
|
tested on the CI infrastructure at the very least. A merge request is
|
||||||
also the proper place to get a comprehensive code review from the core
|
also the proper place to get a comprehensive code review from the core
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
GTK — The GTK toolkit
|
GTK — The GTK toolkit
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
[![Build status](https://gitlab.gnome.org/GNOME/gtk/badges/master/pipeline.svg)](https://gitlab.gnome.org/GNOME/gtk/-/commits/master)
|
[![Build status](https://gitlab.gnome.org/GNOME/gtk/badges/main/pipeline.svg)](https://gitlab.gnome.org/GNOME/gtk/-/commits/main)
|
||||||
|
|
||||||
General information
|
General information
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -192,7 +192,8 @@
|
|||||||
"sources" : [
|
"sources" : [
|
||||||
{
|
{
|
||||||
"type" : "git",
|
"type" : "git",
|
||||||
"url" : "https://gitlab.gnome.org/GNOME/gtk.git"
|
"url" : "https://gitlab.gnome.org/GNOME/gtk.git",
|
||||||
|
"branch" : "main"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,8 @@
|
|||||||
"sources" : [
|
"sources" : [
|
||||||
{
|
{
|
||||||
"type" : "git",
|
"type" : "git",
|
||||||
"url" : "https://gitlab.gnome.org/GNOME/gtk.git"
|
"url" : "https://gitlab.gnome.org/GNOME/gtk.git",
|
||||||
|
"branch" : "main"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,8 @@
|
|||||||
"sources" : [
|
"sources" : [
|
||||||
{
|
{
|
||||||
"type" : "git",
|
"type" : "git",
|
||||||
"url" : "https://gitlab.gnome.org/GNOME/gtk.git"
|
"url" : "https://gitlab.gnome.org/GNOME/gtk.git",
|
||||||
|
"branch" : "main"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -78,6 +78,21 @@ change_theme_state (GSimpleAction *action,
|
|||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
change_fullscreen (GSimpleAction *action,
|
||||||
|
GVariant *state,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
GtkWindow *window = user_data;
|
||||||
|
|
||||||
|
if (g_variant_get_boolean (state))
|
||||||
|
gtk_window_fullscreen (window);
|
||||||
|
else
|
||||||
|
gtk_window_unfullscreen (window);
|
||||||
|
|
||||||
|
g_simple_action_set_state (action, state);
|
||||||
|
}
|
||||||
|
|
||||||
static GtkWidget *page_stack;
|
static GtkWidget *page_stack;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -2017,6 +2032,7 @@ activate (GApplication *app)
|
|||||||
{ "search", activate_search, NULL, NULL, NULL },
|
{ "search", activate_search, NULL, NULL, NULL },
|
||||||
{ "delete", activate_delete, NULL, NULL, NULL },
|
{ "delete", activate_delete, NULL, NULL, NULL },
|
||||||
{ "busy", get_busy, NULL, NULL, NULL },
|
{ "busy", get_busy, NULL, NULL, NULL },
|
||||||
|
{ "fullscreen", NULL, NULL, "false", change_fullscreen },
|
||||||
{ "background", activate_background, NULL, NULL, NULL },
|
{ "background", activate_background, NULL, NULL, NULL },
|
||||||
{ "open", activate_open, NULL, NULL, NULL },
|
{ "open", activate_open, NULL, NULL, NULL },
|
||||||
{ "record", activate_record, NULL, NULL, NULL },
|
{ "record", activate_record, NULL, NULL, NULL },
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
<attribute name="label" translatable="yes">Get Busy</attribute>
|
<attribute name="label" translatable="yes">Get Busy</attribute>
|
||||||
<attribute name="action">win.busy</attribute>
|
<attribute name="action">win.busy</attribute>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">Fullscreen</attribute>
|
||||||
|
<attribute name="action">win.fullscreen</attribute>
|
||||||
|
</item>
|
||||||
<submenu>
|
<submenu>
|
||||||
<attribute name="label" translatable="yes">Style</attribute>
|
<attribute name="label" translatable="yes">Style</attribute>
|
||||||
<section>
|
<section>
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
*
|
*
|
||||||
* ## A simple application
|
* ## A simple application
|
||||||
*
|
*
|
||||||
* [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/bp/bloatpad.c)
|
* [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/main/examples/bp/bloatpad.c)
|
||||||
* is available in the GTK source code repository
|
* is available in the GTK source code repository
|
||||||
*
|
*
|
||||||
* `GtkApplication` optionally registers with a session manager of the
|
* `GtkApplication` optionally registers with a session manager of the
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
* The following example shows you how to create a more complex search
|
* The following example shows you how to create a more complex search
|
||||||
* entry.
|
* entry.
|
||||||
*
|
*
|
||||||
* [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/master/examples/search-bar.c)
|
* [A simple example](https://gitlab.gnome.org/GNOME/gtk/tree/main/examples/search-bar.c)
|
||||||
*
|
*
|
||||||
* # CSS nodes
|
* # CSS nodes
|
||||||
*
|
*
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
* are arranged in columns, and spread across several pages if there are too
|
* are arranged in columns, and spread across several pages if there are too
|
||||||
* many to find on a single page.
|
* many to find on a single page.
|
||||||
*
|
*
|
||||||
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-gedit.ui).
|
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/main/demos/gtk-demo/shortcuts-gedit.ui).
|
||||||
*
|
*
|
||||||
* # An example with multiple views:
|
* # An example with multiple views:
|
||||||
*
|
*
|
||||||
@ -77,7 +77,7 @@
|
|||||||
* This example shows a `GtkShortcutsWindow` that has been configured to show only
|
* This example shows a `GtkShortcutsWindow` that has been configured to show only
|
||||||
* the shortcuts relevant to the "stopwatch" view.
|
* the shortcuts relevant to the "stopwatch" view.
|
||||||
*
|
*
|
||||||
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-clocks.ui).
|
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/main/demos/gtk-demo/shortcuts-clocks.ui).
|
||||||
*
|
*
|
||||||
* # An example with multiple sections:
|
* # An example with multiple sections:
|
||||||
*
|
*
|
||||||
@ -86,7 +86,7 @@
|
|||||||
* This example shows a `GtkShortcutsWindow` with two sections, "Editor Shortcuts"
|
* This example shows a `GtkShortcutsWindow` with two sections, "Editor Shortcuts"
|
||||||
* and "Terminal Shortcuts".
|
* and "Terminal Shortcuts".
|
||||||
*
|
*
|
||||||
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/master/demos/gtk-demo/shortcuts-builder.ui).
|
* The .ui file for this example can be found [here](https://gitlab.gnome.org/GNOME/gtk/tree/main/demos/gtk-demo/shortcuts-builder.ui).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct _GtkShortcutsWindow
|
struct _GtkShortcutsWindow
|
||||||
|
Loading…
Reference in New Issue
Block a user