Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
World
Feeds
Commits
4dba8a9f
Verified
Commit
4dba8a9f
authored
Nov 20, 2020
by
Gabriele Musco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed signals from ui
parent
6808441f
Pipeline
#232063
failed with stage
in 9 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
data/ui/headerbar.glade
data/ui/headerbar.glade
+0
-3
gfeeds/headerbar.py
gfeeds/headerbar.py
+6
-9
No files found.
data/ui/headerbar.glade
View file @
4dba8a9f
...
...
@@ -64,7 +64,6 @@
<property
name=
"can-focus"
>
True
</property>
<property
name=
"receives-default"
>
True
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Search
</property>
<signal
name=
"toggled"
handler=
"on_search_btn_toggled"
swapped=
"no"
/>
<child>
<object
class=
"GtkImage"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -117,7 +116,6 @@
<property
name=
"receives-default"
>
True
</property>
<property
name=
"no-show-all"
>
True
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Back to articles
</property>
<signal
name=
"clicked"
handler=
"on_back_button_clicked"
swapped=
"no"
/>
<child>
<object
class=
"GtkImage"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -196,7 +194,6 @@
<property
name=
"can-focus"
>
True
</property>
<property
name=
"receives-default"
>
True
</property>
<property
name=
"tooltip-text"
translatable=
"yes"
>
Share
</property>
<signal
name=
"clicked"
handler=
"copy_article_uri"
swapped=
"no"
/>
<child>
<object
class=
"GtkImage"
>
<property
name=
"visible"
>
True
</property>
...
...
gfeeds/headerbar.py
View file @
4dba8a9f
...
...
@@ -75,7 +75,6 @@ class GFeedHeaderbar(Handy.WindowHandle):
self
.
builder
=
Gtk
.
Builder
.
new_from_resource
(
'/org/gabmus/gfeeds/ui/headerbar.glade'
)
self
.
builder
.
connect_signals
(
self
)
self
.
confman
=
ConfManager
()
self
.
feedman
=
FeedsManager
()
self
.
back_btn_func
=
back_btn_func
...
...
@@ -111,9 +110,8 @@ class GFeedHeaderbar(Handy.WindowHandle):
self
.
set_headerbar_controls
()
# self.headergroup.set_focus(self.left_headerbar)
self
.
back_button
=
self
.
builder
.
get_object
(
'back_btn'
)
self
.
back_button
=
self
.
builder
.
get_object
(
'back_btn'
)
self
.
back_button
.
connect
(
'clicked'
,
self
.
on_back_button_clicked
)
self
.
view_mode_menu_btn
=
self
.
builder
.
get_object
(
'view_mode_menu_btn'
)
...
...
@@ -126,12 +124,10 @@ class GFeedHeaderbar(Handy.WindowHandle):
'open_externally_btn'
)
self
.
open_externally_btn
.
connect
(
'clicked'
,
self
.
webview
.
open_externally
)
self
.
share_btn
=
self
.
builder
.
get_object
(
'share_btn'
'clicked'
,
self
.
webview
.
open_externally
)
self
.
share_btn
=
self
.
builder
.
get_object
(
'share_btn'
)
self
.
share_btn
.
connect
(
'clicked'
,
self
.
copy_article_uri
)
self
.
menu_btn
=
self
.
builder
.
get_object
(
'menu_btn'
)
...
...
@@ -144,6 +140,7 @@ class GFeedHeaderbar(Handy.WindowHandle):
self
.
menu_btn
.
set_popover
(
self
.
menu_popover
)
self
.
search_btn
=
self
.
builder
.
get_object
(
'search_btn'
)
self
.
search_btn
.
connect
(
'toggled'
,
self
.
on_search_btn_toggled
)
self
.
filter_btn
=
self
.
builder
.
get_object
(
'filter_btn'
)
...
...
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