Skip to content

Commit 6d00298

Browse files
author
Matias Särs
committed
Merge branch 'hotfix-0.91.1'
2 parents 6f5ad3a + e563768 commit 6d00298

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DockbarX
2-
### Version 0.91
2+
### Version 0.91.1
33

44
## About DockbarX
55
DockBarX is a lightweight taskbar / panel replacement for Linux which works as a stand-alone dock (called DockX), as an an Avant Window Navigator applet, as a Xfce4 panel applet[^1], as a matepanel applet[^2] or as a legacy gnome2 panel applet. DockbarX is a fork of dockbar made by Aleksey Shaferov. DockbarX branch is developed by Matias Särs.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DockbarX
2-
### Version 0.91
2+
### Version 0.91.1
33

44
## About DockbarX
55
DockBarX is a lightweight taskbar / panel replacement for Linux which works as a stand-alone dock (called DockX), as an an Avant Window Navigator applet, as a Xfce4 panel applet[^1], as a matepanel applet[^2] or as a legacy gnome2 panel applet. DockbarX is a fork of dockbar made by Aleksey Shaferov. DockbarX branch is developed by Matias Särs.

dockbarx/dockbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import i18n
3838
_ = i18n.language.gettext
3939

40-
VERSION = "0.91"
40+
VERSION = "0.91.1"
4141

4242

4343
ATOM_WM_CLASS = gtk.gdk.atom_intern("WM_CLASS")

dockx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,8 @@ class DockX(CairoDockX):
636636
self.padding2.define_position(p2)
637637
self.show_all()
638638
self.connect_applet_signals()
639+
# Do a first calculation of dockbarx max size after everything has been realised.
640+
gobject.idle_add(self.__calulate_db_max_size_on_realized)
639641

640642
def __destroy_old(self):
641643
self.disconnect_applet_signals()
@@ -1196,6 +1198,11 @@ class DockX(CairoDockX):
11961198
self.dockbar_max_size = max_size
11971199
self.dockbar.set_max_size(max_size)
11981200

1201+
def __calulate_db_max_size_on_realized(self):
1202+
# Wait while gtk events are pending.
1203+
while gtk.events_pending():
1204+
gtk.main_iteration(False)
1205+
self.calculate_dockbar_max_size()
11991206

12001207
def get_monitor_geometry(self):
12011208
screen = self.get_screen()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import os
2828
import sys
2929

30-
VERSION = "0.91"
30+
VERSION = "0.91.1"
3131

3232
class build_trans(cmd.Command):
3333
description = "Compile .po files into .mo files"

0 commit comments

Comments
 (0)