Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bQDP5-0003JT-OC for pgadmin-hackers@arkaria.postgresql.org; Thu, 21 Jul 2016 12:48:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bQDP5-0002On-AF for pgadmin-hackers@arkaria.postgresql.org; Thu, 21 Jul 2016 12:48:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bQDOs-0002AZ-Fy for pgadmin-hackers@postgresql.org; Thu, 21 Jul 2016 12:48:26 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bQDOo-0003Nk-Mk for pgadmin-hackers@postgresql.org; Thu, 21 Jul 2016 12:48:25 +0000 Received: by mail-io0-x22f.google.com with SMTP id m101so74827990ioi.2 for ; Thu, 21 Jul 2016 05:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QkwN1Ay1Wl4P3ysfwI9FX4pkaBIte6S7BNfjv5Q8CNY=; b=eI8fdq2Ay4PnEF11WHyqM3Job3cN+0TzrWZzIENMLFniMUkAh1KZYRb1iPN4HHhj2B lletE6OlHGjWdbBXkFuHVtT2m09o2WAmbezb5211FV9cvO1ojvwkF5YvSbZsJ0U0pJ5h y9dEav9Bj+mBKUJypJJnjIdB0u4gmWPnLmTTyW6cMfInLRrULbBKLrEIPE0pffnHmjoM oZOnjAKAMXANPiSZuBcfQVDuJV880duf6aOhrW2MivuxsdeW+PnwaPra+4M/9fFaYgJ+ QFEdy2aZEZqSddupJFr8toPRoYqTAelZfdcTJSTCwyiZHmag6a+8NTWAdgS66AMXBr36 qCQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QkwN1Ay1Wl4P3ysfwI9FX4pkaBIte6S7BNfjv5Q8CNY=; b=gKwfspJW9LMdceXavxdczZGrqSTTtJBdEukgjS28wTbV2ouyahIr6ZUmKJElwTNYcT 85iuUUUo4qO8lGqnkhUtdzgn4UYEnKSrTGkaNAJV7ciHhiBBBmDjuw/lpKjeCYOZLZhU 5vgExNY49eMvDdaWU34ixtN6Ex4tmg/Ug6xuPOJD68bZh3NFRF3AMTvRB9OOLGvg9bo6 DqpsvaROYwPWDivkCsvjIVJQI/wiMT0XtY0Inb8r6XLF8mf8UqznfXsdgQ0wyvBTwbgt 9t5U7isIHdXzYWVQcmaXg63s0mZs5ggeb4bO7sqDim9Vzy6iPRQguihr+BPdO0KAXsSV //VQ== X-Gm-Message-State: ALyK8tLMIkyT7FS8Gw9cVHawlWmEw2u7jHN86AmvbhESptOp4Q2mJEuHiSCKiwFYDjEWX9nm8Q7qeGZ7wftMDQ== X-Received: by 10.107.160.204 with SMTP id j195mr10864261ioe.70.1469105301052; Thu, 21 Jul 2016 05:48:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Thu, 21 Jul 2016 05:48:20 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 21 Jul 2016 13:48:20 +0100 Message-ID: Subject: Re: patch for RM1460 [pgAdmin4] To: Harshal Dhumal Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi Works nicely - committed! One change I think we should make (please provide a patch when you get a minute) is to always allow the dropdown menu and Save As to be used, regardless of whether the file is dirty. Save should only be available when there are changes of course. Thanks! On Wed, Jul 20, 2016 at 1:12 PM, Harshal Dhumal wrote: > Hi, > > PFA patch for RM1460 > > Changes: > - Opening a file should set the tab name to the filename > - Editing a file should add a * to the tab name to indicate the file is > dirty > - Saving changes to a file should clear the * > - The Save button should have a drop-down menu, with a Save As option. > > -- > Harshal Dhumal > Software Engineer > > EnterpriseDB India: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers