[chronojump] on session UNIQUE or MONTHLY app1 undecorated and Quit button
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] on session UNIQUE or MONTHLY app1 undecorated and Quit button
- Date: Thu, 26 Jan 2017 17:11:45 +0000 (UTC)
commit 6c586df4b2da8a061f8f15e87bd653571c96c46a
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jan 26 18:11:11 2017 +0100
on session UNIQUE or MONTHLY app1 undecorated and Quit button
glade/app1.glade | 20 ++++++++++++++++++++
src/gui/networks.cs | 1 +
2 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index b9f7e05..3afd6c1 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -13712,6 +13712,26 @@ Concentric</property>
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <widget class="GtkButton"
id="button_preferences_not_menu_quit">
+ <property name="label">gtk-quit</property>
+ <property name="width_request">50</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip"
translatable="yes">Quit</property>
+ <property name="relief">half</property>
+ <property name="use_stock">True</property>
+ <signal name="clicked" handler="on_quit1_activate"
swapped="no"/>
+ </widget>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="expand">False</property>
diff --git a/src/gui/networks.cs b/src/gui/networks.cs
index b834bf2..8f99fc4 100644
--- a/src/gui/networks.cs
+++ b/src/gui/networks.cs
@@ -144,6 +144,7 @@ public partial class ChronoJumpWindow
if(configChronojump.SessionMode == Config.SessionModeEnum.UNIQUE ||
configChronojump.SessionMode == Config.SessionModeEnum.MONTHLY)
{
main_menu.Visible = false;
+ app1.Decorated = false;
hbox_menu_and_preferences_outside_menu.Visible = true;
if(configChronojump.SessionMode == Config.SessionModeEnum.UNIQUE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]