Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
791cf29f
Commit
791cf29f
authored
Feb 22, 2023
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove all files related to unused topAction. Fixes #222
parent
450ad37c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
64 deletions
+0
-64
topAction.ui
src/controlCenter/topAction/topAction.ui
+0
-32
topAction.vala
src/controlCenter/topAction/topAction.vala
+0
-24
meson.build
src/meson.build
+0
-1
style.css
src/style.css
+0
-6
sway_notification_center.gresource.xml
src/sway_notification_center.gresource.xml
+0
-1
No files found.
src/controlCenter/topAction/topAction.ui
deleted
100644 → 0
View file @
450ad37c
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
<requires
lib=
"gtk+"
version=
"3.24"
/>
<template
class=
"SwayNotificationCenterTopAction"
parent=
"GtkBox"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"margin-start"
>
8
</property>
<property
name=
"margin-end"
>
8
</property>
<property
name=
"margin-top"
>
8
</property>
<property
name=
"margin-bottom"
>
8
</property>
<child>
<object
class=
"GtkLabel"
id=
"title"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can-focus"
>
False
</property>
<property
name=
"label"
translatable=
"yes"
>
Do Not Disturb
</property>
<property
name=
"xalign"
>
0
</property>
<attributes>
<attribute
name=
"size"
value=
"14000"
/>
</attributes>
<style>
<class
name=
"top-action-title"
/>
</style>
</object>
<packing>
<property
name=
"expand"
>
True
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
</template>
</interface>
src/controlCenter/topAction/topAction.vala
deleted
100644 → 0
View file @
450ad37c
namespace
SwayNotificationCenter
{
[
GtkTemplate
(
ui
=
"/org/erikreider/sway-notification-center/controlCenter/topAction/topAction.ui"
)]
class
TopAction
:
Gtk
.
Box
{
[
GtkChild
]
unowned
Gtk
.
Label
title
;
public
TopAction
(
string
title_text
,
Gtk
.
Widget
action
,
bool
is_title
=
false
)
{
this
.
title
.
set_text
(
title_text
);
var
attr
=
new
Pango
.
AttrList
();
if
(
is_title
)
attr
.
insert
(
new
Pango
.
AttrSize
(
16000
));
this
.
title
.
set_attributes
(
attr
);
this
.
title
.
set_can_focus
(
false
);
action
.
valign
=
Gtk
.
Align
.
CENTER
;
action
.
set_can_focus
(
false
);
this
.
pack_end
(
action
,
false
);
this
.
show_all
();
}
}
}
src/meson.build
View file @
791cf29f
...
@@ -56,7 +56,6 @@ app_sources = [
...
@@ -56,7 +56,6 @@ app_sources = [
'notification/notification.vala',
'notification/notification.vala',
'controlCenter/controlCenter.vala',
'controlCenter/controlCenter.vala',
widget_sources,
widget_sources,
'controlCenter/topAction/topAction.vala',
'blankWindow/blankWindow.vala',
'blankWindow/blankWindow.vala',
'functions.vala',
'functions.vala',
constants,
constants,
...
...
src/style.css
View file @
791cf29f
...
@@ -153,12 +153,6 @@
...
@@ -153,12 +153,6 @@
text-shadow
:
none
;
text-shadow
:
none
;
}
}
/* The "Notifications" and "Do Not Disturb" text widget */
.top-action-title
{
color
:
white
;
text-shadow
:
none
;
}
.control-center
{
.control-center
{
background
:
@
cc-bg
;
background
:
@
cc-bg
;
}
}
...
...
src/sway_notification_center.gresource.xml
View file @
791cf29f
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<file>
notificationWindow/notificationWindow.ui
</file>
<file>
notificationWindow/notificationWindow.ui
</file>
<file>
notification/notification.ui
</file>
<file>
notification/notification.ui
</file>
<file>
controlCenter/controlCenter.ui
</file>
<file>
controlCenter/controlCenter.ui
</file>
<file>
controlCenter/topAction/topAction.ui
</file>
<file>
controlCenter/widgets/mpris/mpris_player.ui
</file>
<file>
controlCenter/widgets/mpris/mpris_player.ui
</file>
</gresource>
</gresource>
</gresources>
</gresources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment