Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Commit

Permalink
Hotfix 2017/07-1: Regression bug from previous release, minor Dialog …
Browse files Browse the repository at this point in the history
…list cleanups
  • Loading branch information
Flohack74 committed Jul 4, 2017
1 parent 162dda3 commit b50b569
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 23 deletions.
2 changes: 1 addition & 1 deletion telegram/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int main(int argc, char *argv[])
AsemanApplication app(argc, argv);
app.setApplicationName("Telegram");
app.setApplicationDisplayName("Telegram");
app.setApplicationVersion("2.4.41.0");
app.setApplicationVersion("2.4.41.1");
app.setOrganizationDomain("com.ubuntu.telegram");
app.setOrganizationName("com.ubuntu.telegram");
// app.setWindowIcon(QIcon(":/qml/Cutegram/files/icon.png"));
Expand Down
7 changes: 0 additions & 7 deletions telegram/app/qml/AccountSendMessage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -474,17 +474,10 @@ Rectangle {
}

function send() {
// if( currentDialog == telegramObject.nullDialog )
// return
var msg = txt.text.trim()
if( msg == "" )
return

// if(Cutegram.autoEmojis)
// msg = emojis.convertSmiliesToEmoji(msg)
// if(privates.suggestionItem)
// privates.suggestionItem.destroy()

smsg.accepted(msg, messageReply.replyMessage? messageReply.replyMessage.id : 0)
messageReply.discard()
txt.text = ""
Expand Down
26 changes: 13 additions & 13 deletions telegram/app/qml/components/DialogsListItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -183,19 +183,6 @@ ListItem {
width: height
}

Text {
id: title_text
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
clip: true
elide: Text.ElideRight
wrapMode: Text.WrapAnywhere
maximumLineCount: 1
font.weight: Font.DemiBold
font.pixelSize: units.dp(17)//FontUtils.sizeToPixels("large")
text: list_item.title
}

Icon {
id: audio_volume_muted_icon
visible: isMuted
Expand All @@ -208,6 +195,19 @@ ListItem {
}
width: height
}

Text {
id: title_text
horizontalAlignment: Text.AlignLeft
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
wrapMode: Text.WrapAnywhere
maximumLineCount: 1
font.weight: Font.DemiBold
font.pixelSize: units.dp(17)//FontUtils.sizeToPixels("large")
text: list_item.title
width: parent.width - (contact_group_icon.visible? contact_group_icon.width : 0.0) - (audio_volume_muted_icon.visible? audio_volume_muted_icon.width : 0.0)
}
}

Row {
Expand Down
2 changes: 1 addition & 1 deletion telegram/app/qml/js/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
var version = "2.4.41.0";
var version = "2.4.41.1";
2 changes: 1 addition & 1 deletion telegram/manifest.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"scope": "scope"
}
},
"version": "2.4.41.0",
"version": "2.4.41.1",
"maintainer": "Ubuntu Telegram team <[email protected]>"
}

0 comments on commit b50b569

Please sign in to comment.